A Linux deployment and OA Spinach Platform Building Application
Enterprise E 217 179 3408
1 uploading Tomcat and JDK
2 Tomcat catalina.sh configuration for the specified JDK version
3 Tomcat's Conf/server.xml configuration port and context (one project, one context)
4 View Tomcat port usage, configure Tomcat log (to find the reason for error) (Classpath new loggin.properties, then find configuration online)
5 Starting Tomcat
Two commands to use
(i) General Command
1 Enter directory: CD CD.
2 Auto Completion: Tab key
3 ls (displays all files and folders under the folder)
4 File Authorization: chmod +x xx.xx (*.sh) (file name exists but cannot find)
5 Decompression Zip:unzip Xx.zip
6 line break: \ + ENTER key
7 Modify and save the file:
(1) Vim xx.xxx (2) I (enter edit mode (3): wq! Write and Save (4): q! do not save direct exit
8 Port Usage: NETSTAT-TUNLP
(ii) Tomcat's command
1 start Tomcat, to the bin directory:./startup.sh
2 close Tomcat, need to kill process: Kill-s 9 pid
3 See if Tomcat is started: Ps-ef|grep Tomcat
4 Tomcat log: Tail-f catanina.out (Logs directory)
Commands for Linux deployment applications and OA spinach Platform Construction