1. If Tomcat starts normally, the internal browser can access the external computer's browser Boone that access?
You can use the following command:
iptables-ffirewall-cmd--add-port=8080/tcp--permanentEnsure that you can also access Linux under Tomcat reboot later
First, go to the bin directory under Tomcat
Cd/usr/local/tomcat/bin
Using the Tomcat Close command
./shutdown.sh
To see if Tomcat is shutting down
Ps-ef|grep Java
* If you want to kill Tomcat directly, you can use the KILL command to kill the Tomcat process directly
Kill-9 Process Number
Then continue to see if Tomcat shuts down
Ps-ef|grep Java
Finally, start Tomcat
Linux Server Configuration Jenkins maven SVN automatically deployed to Tomcat
Linux commands to use:
1. Unzip filename. zip (unzip Zip)
2. Service Java status (view specified service)
3. cat file name. XML (view file)
4, vi ~/.bash_profile (view Linux environment variable configuration file)
5, chmod u+x *.sh (all the. sh files under the authorized directory)
6. See if Tomcat closes the Ps-ef|grep Java
7, Netstat-anp|grep 8080
8. View the specified environment variable: echo $PATH
9. CP copy CP name target path
10. RM-RF Name
11. New Folder: MkDir test
12, getconf Long_bit
13. Download jdk1.8:
14. Tomcat Download:
15, Decompression: Tar zxvf apache-tomcat-7.0.26.tar.gz
16. Mobile: MV apache-tomcat-7.0.26/*/home/tomcat/
17, Environment variables: 1, first added in/etc/profile:
Export JAVA_HOME=/HOME/JDK
Export path= $PATH: $JAVA _home/bin
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Linux Notebook learning encyclopedia, including related software