1. Start tomcat and print the startup log: ./startup.sh && tail -f ../logs/catalina.out 2. Search the content in the file: / Keywords to be searched 3. View the Tomcat log: tail -f catalina.out (need to run in the logs directory of tomcat) 4. Unzip tar: tar -zxvf jdk-8u11-linux-x64.tar.gz 5. Stop redis command: ./bin/redis-cli shutdown 6. Enable redis Command: ./bin/redis-server 7. Backup data between servers: The IPs of the two servers are: A.192.168.2.1, B.192.168.2.2. Operate on the A server, copy all the files in the / opt / bak / directory on the B server to the local / opt directory, and execute the command on the A server: scp -r [email protected]: / opt / bak / opt 8. Permanently turn off the firewall systemctl disable firewalld 9. View the firewall status systemctl status firewalld 10. Connect an ip address test in Linux curl 127.0.0.1:8090 11. Start docker systemctl start docker 12. View docker status systemctl status docker 13. View software in docker container docker ps 14. docker start software docker start container id 15. docker stop software docker stop container id 16. View service start process number ps -ef | grep nginx 17. Stop the service Kill -9 process number according to the startup number 18. Start natapp natapp -authtoken = fc36721c2c62fd04