No, non c'e sulla guida....
Fidati e il codice giusto....
Il mio impianto non e a Vasto.
Lo monitiro da qui con il rasp!!
Fidati e il codice giusto....
Il mio impianto non e a Vasto.
Lo monitiro da qui con il rasp!!
..# sudo -s
..# cd /var/www/123solar
..# chmod 777 -vR data/
..# chown www-data:www-data -vR data/
../$ sudo -s ../# cd /.. ../# cd etc ../etc# nano rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi # imposta la velocità della seriale a 19200 stty -F /dev/ttyUSB0 19200 # avvia 123solar al riavvio sudo /usr/bin/curl http://localhost/123solar/scripts/boot123s.php exit 0 ctrl+O per salvare e ctrl+X per uscire
..# sudo -s
..# cd /var/www/123solar
..# chmod 777 -vR data/
..# chown www-data:www-data -vR data/
Commenta