Difference between revisions of "Rasperry PI installations"

From TempusServa wiki
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...")
 
m (3 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Note: This article is incomplete
Note: This article is incomplete
=== Install Tempus Serva ===


=== Ensuring auto boot ===
=== Ensuring auto boot ===
Line 11: Line 14:
   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 ====



Latest revision as of 12:55, 10 December 2021

Note: This article is incomplete

Install Tempus Serva

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