CentOS6.5 installed Tomcat8

1. Use the rpm -qa | grep -i tomcat view existing Tomcat information

2. Go to completely remove the root user, use the command 

     yum -y remove  tomcat

3. The package downloaded tar jdk Upload (by xftp tool) to the / usr / local / src directory, unzip in the directory, using the command

            tar -zxvf apache-tomcat-8.0.0-RC3.tar.gz

4. open port 8080, enter the configuration file vim / etc / sysconfig / iptables add

            -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT

5. reload strong fire service iptables restart

7. Start Tomcat /usr/local/src/tomcat8/bin/startup.sh

8. If you need to delete a file or folder, use the command rm -f express force delete a file or directory; if you need to modify the folder or folder name enter the command

            Mv need to modify the file name to modify the file name

If you need to copy, use the command

            Cp original file path where the specified path 

            If the authority is not enough, use the command

            chmod 777 filename

DESCRIPTION permissions, including read permission (4), write (2), an operation (1) three

Permission group divided into four parts, the file (-) or folder (d), owner permissions (rwx digital addition), Group Permissions (rwx digital addition), Others permission (rwx numbers together)

Released eight original articles · won praise 1 · views 3279

Guess you like

Origin blog.csdn.net/qq_42819438/article/details/103995148
Recommended