1. vim /etc/init.d/jenkins, modify the check_tcp_port command of the do_start function, and change the port number from 8080 to 8081.
2. In the vim /etc/default/jenkins file, change the port 8080 to 8081.
3. service jenkin restart
4. ps -def | grep java