Difference between revisions of "Rasperry PI installations"
Jump to navigation
Jump to search
old>Admin (Created page with "Note: This article is incomplete === Ensuring auto boot === ==== Edit the boot script ==== sudo nano /etc/rc.local Add the following lines before 'exit 0' sudo /etc/i...") |
old>Admin |
||
Line 11: | Line 11: | ||
sudo /etc/init.d/mysql start & > /home/pi/log_mysql.txt 2>&1 | sudo /etc/init.d/mysql start & > /home/pi/log_mysql.txt 2>&1 | ||
sudo /home/pi/apache-tomcat-7.0.82/bin/startup.sh & > /home/pi/log_tomcat.txt 2>&1 | sudo /home/pi/apache-tomcat-7.0.82/bin/startup.sh & > /home/pi/log_tomcat.txt 2>&1 | ||
==== Wait for network at boot time ==== | ==== Wait for network at boot time ==== | ||
Revision as of 10:47, 13 December 2017
Note: This article is incomplete
Ensuring auto boot
Edit the boot script
sudo nano /etc/rc.local
Add the following lines before 'exit 0'
sudo /etc/init.d/mysql start & > /home/pi/log_mysql.txt 2>&1 sudo /home/pi/apache-tomcat-7.0.82/bin/startup.sh & > /home/pi/log_tomcat.txt 2>&1
Wait for network at boot time
sudo raspi-config
- Select "3 Boot options"
- Select "B2 Wait for network at boot"
- Select "Yes", ""Ok", "Finish"
sudo reboot now