소스 검색

update readme image

Toby Chui 5 년 전
부모
커밋
813361a58f
1개의 변경된 파일45개의 추가작업 그리고 0개의 파일을 삭제
  1. 45 0
      SSH Installation.md

+ 45 - 0
SSH Installation.md

@@ -0,0 +1,45 @@
+# Install via SSH / Terminal
+ArOZ Online System can be installed on your devices through ssh.
+The process goes as follows.
+
+### Installing ArOZ Online Base
+1. Open Terminal at your web root directory with the following commands.
+	```
+	cd /var/www/html
+	```
+2.  Download the update package as zip file in the current directory.
+	```
+	wget {url to the update pack}
+	```
+3. Unzip the update pack to web root.
+	```
+	unzip install.zip
+	```
+4. Give AOB directory full permission to read write files within ArOZ Online Root (AOR). Assume your ArOZ Online System has been unzip to /var/www/html/AOB/
+	```
+	sudo chmod 777 -R ./AOB
+	```
+
+### Permission Settings
+
+ArOZ Online System require permissions to write to the following directories and files.
+
+- /etc/AOB (Default, can be changed in auth.php)
+- /etc/network/interfaces/
+- /media/storage* (Linux only)
+
+It is recommend to add www-data directly into sudoers.
+
+```
+sudo nano /etc/sudoers
+
+(scroll to the bottom of the file, add the following line)
+
+www-data	ALL=(ALL:ALL) NOPASSWD:ALL
+
+(To save, press Ctrl + X then Y )
+```
+
+### Other Module Dependencies
+For other modules package dependencies, please refer to independent WebApps publish page for more information.
+