Rasperry PI installations

From TempusServa wiki
Revision as of 10:47, 13 December 2017 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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