i forgor screen install
This commit is contained in:
		@@ -1,9 +1,10 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sudo apt-get update
 | 
					sudo apt-get update
 | 
				
			||||||
sudo apt-get upgrade
 | 
					sudo apt-get upgrade -y
 | 
				
			||||||
sudo apt-get update
 | 
					sudo apt-get update
 | 
				
			||||||
sudo apt-get install python3-psycopg2 -y
 | 
					sudo apt-get install python3-psycopg2 -y
 | 
				
			||||||
 | 
					sudo apt-get install screen -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Define your job
 | 
					# Define your job
 | 
				
			||||||
JOB="@reboot /bin/sh /startup.sh"
 | 
					JOB="@reboot /bin/sh /startup.sh"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@
 | 
				
			|||||||
4) Ping the hostname set in 1.vii to find the IPv4 address (might need `-4` flag)
 | 
					4) Ping the hostname set in 1.vii to find the IPv4 address (might need `-4` flag)
 | 
				
			||||||
5) SSH into the RPI (Raspberry Pi)
 | 
					5) SSH into the RPI (Raspberry Pi)
 | 
				
			||||||
6) run `git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git`
 | 
					6) run `git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git`
 | 
				
			||||||
7) run `sudo chmod 777 CNSA/CNSA-276-FP/install.sh && ./CNSA/CNSA-276-FP/install.sh`
 | 
					7) run `sudo chmod 777 CNSA-276-FP/install.sh && ./CNSA-276-FP/install.sh`
 | 
				
			||||||
8) The script should take care of the rest, the RPI will restart and then auto start the program
 | 
					8) The script should take care of the rest, the RPI will restart and then auto start the program
 | 
				
			||||||
9) after reboot, to edit the config, SSH back in and navigate to `/CNSA/CNSA-276-FP/`
 | 
					9) after reboot, to edit the config, SSH back in and navigate to `/CNSA/CNSA-276-FP/`
 | 
				
			||||||
10) run `nano config.ini`
 | 
					10) run `nano config.ini`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user