sudo apt-get install apache2 -ysudo -scd /usr/local/src/wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gztar xf noip-duc-linux.tar.gzcd noip-2.1.9-1/make installYou will then be prompted to login with your No-IP.com account username and password.
If you get “make not found” or “missing gcc” then you do not have the gcc compiler tools on your machine. You will need to install these in order to proceed.
To Configure the Client
As root again (or with sudo) issue the below command:
You will then be prompted for your username and password for No-IP, as well as which hostnames you wish to update. Be careful, one of the questions is “Do you wish to update ALL hosts”. If answered incorrectly this could effect hostnames in your account that are pointing at other locations.
Now the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
cp /usr/local/src/noip-2.1.9-1/debian.noip2.sh /etc/init.d/noip2.shchmod 755 /etc/init.d/noip2.shupdate-rc.d noip2.sh defaults 94 6Reboot and check for a PID for noip2 -
If a number is displayed NOIP2 is running.
pidof noip2Otra alternativa
cd /usr/local/srcsudo wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gzsudo tar xzf noip-duc-linux.tar.gzcd noip-2.1.9-1sudo makesudo make installActivar como un servicio
cd /usr/local/srcsudo wget http://download.sizious.com/rpi/noip-duc-raspbian.tar.bz2sudo tar -xjvf noip-duc-raspbian.tar.bz2cd noip-2.1.9-1sudo chmod +x raspbian.noip2.sh service.install.sh service.uninstall.shsudo ./service.install.sh raspbianCheck running order Shell
systemd-analyze blamesystemctl status noip2sudo noip2 -Sdmesg | grep "noip2"sudo service noip2 restartsudo apt-get install curl openssh-server ca-certificates postfix apt-transport-httpscurl https://packages.gitlab.com/gpg.key | sudo apt-key add -sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bashsudo apt-get install gitlab-cehostname -Ihttp://host ip/To change port 80 by 8181 for example
sudo -e /etc/gitlab/gitlab.rbexternal_url 'http://host ip:8181'nginx['listen_port']=8181sudo gitlab-ctl reconfigureCreate project WemosAlexa at GitLab
cd wemosgit config --global user.name "Administrator"git config --global user.email "admin@example.com"git initgit remote add origin http://root@ip:port/root/WemosAlexa.gitgit add .git commit -m "Initial commit"git push -u origin masterPython code file :
Copy run-fan.py to /home/pi/Documents/PythonProjects Raspberry Pi dir
Create a service for boot time sudo nano /etc/init.d/fan
#! /bin/sh### BEGIN INIT INFO# Provides: run-fan# Required-Start: $syslog# Required-Stop: $syslog# Default-Start: 2 3 4 5# Default-Stop: 0 1 6# Short-Description: Start fan script at boot time### END INIT INFOpython /home/pi/Documents/PythonProjects/run-fan.pyActivate it with sudo update-rc.d fan defaults
Para actualizar de manera manual copiar el archivo LibreElec_xxxxx.img.gz en el directorio /storage/backup y en /storage/.update
En backup para tener siempre un respaldo de las versiones para poder regresar a alguna ya que en .update después de aplicado se borra.
En este mismo directorio esta la versión 9.2.0 que no presenta problemas con 4K (problema presentado en la v9.2.1) y el respaldo de toda la configuración que se aplica después de actualizar la versión de manera manual .
https://libreelec.wiki/es/how_to/update_libreelec
El comando para montar en la alternativa Rasbian y copiar archivos es :
sudo mount -o user=pi,pass=xxxxx //192.168.1.61/pi /mntAl instalar Noobs podemos configurar dual boot con Raspbian y Libreelec y este ultimo se hace downgrade a v9.2.0.
Para instalar con Noobs la versión de Rasbbian y Libreelec que viene con el no debemos estar conectados a la red o internet para así no buscar actualizaciones. El Raspbian se actualiza posterior con sudo apt-get full-upgrade
Para el acceso a NTFS de disco SSD alta capacidad instalar
sudo apt-get install ntfs-3g