SHELL small practice

 

1, SHELL modify the script programming server IP
Script dynamic IP modification;
Static IP to achieve modify the script;
Achieve the correct determination of the IP address input;
IP address changes successfully Analyzing & rollback;
2, SHELL programming Tomcat multi-instance management script (single server)
The deployment of JDK, Tomcat software download version;
The first deployment of a Tomcat service & start the service;
The second deployment of Tomcat service & start the service;
Implement any number of instances of Tomcat service deployment & start the service;
Implement any instances of Tomcat delete & stop the process;

 

Guess you like

Origin www.cnblogs.com/nsh123/p/12158386.html