Linux Notebook learning encyclopedia, including related software

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.