Due to the requirements of the company, on-site customer installation of JavaWeb project was carried out all over the country. In order to facilitate the installation of the project, one-click installation and deployment operation was required in the Linux system. I used xshell script integrated JDK + Tomcat +mysql+ Web project to package the project. The sales personnel only need to install the RPM installation package on the Linux system at the customer site to successfully deploy the project. At the same time, I saw many people put forward the problem that the project needs to be classified into RPM installation on the Internet, and there is no detailed information on the Internet for reference. I just made a ready-made RPM installation package, hoping to help friends who need it!

Operation:

1. Modify the content of the pea. Spec file and modify the mysql execution script in it

2. Put your own system projects in Tomcat.

3. Compress the modified content into a ZIP package and save it to the Linux platform.

4. Decompress on Linux platform, make package in PEA file, and shell script automatically executes the operation command inside

5. In the Linux directory pea_rpm/pea/rpmbuild/RPMS/x86_64 find successful RPM installation package

6. Install the RPM installation package and run the RPM -ivh pea-1.0.3-201806042030.x86_64. RPM command to force the upgrade. RPM -uvh pea-1.0.3-201806042030.x86_64. RPM –force The database table is automatically created during the command execution

7. Start the Tomcat service, service Peaserver start

Due to the requirements of the company, on-site customer installation of JavaWeb project was carried out all over the country. In order to facilitate the installation of the project, one-click installation and deployment operation was required in the Linux system. I used xshell script integrated JDK + Tomcat +mysql+ Web project to package the project. The sales personnel only need to install the RPM installation package on the Linux system at the customer site to successfully deploy the project. Operations: 1. Modify the content of pea. Spec file and modify mysql execution script 2 in it. Project to put your own system in Tomcat. 3. Compress the modified content into a ZIP package and save it to the Linux platform. 4. Decompress on Linux platform, make package in pea file, and shell script automatically executes operation command 5. In the Linux directory pea_rpm/pea/rpmbuild/RPMS/x86_64 find successful RPM packages for six. Install the RPM package and run the RPM -ivh pea-1.0.3-201806042030.x86_64. RPM command to forcibly upgrade the software. RPM -uvh pea-1.0.3-201806042030.x86_64. RPM –force Table 7 is automatically created during the command execution. Start the Tomcat service, Service Peaserver Star

Here to provide you with a learning and communication platform, Java architect group: 867748702

Those with 1-5 work experience, who do not know where to start in the face of the current popular technology and need to break the technical bottleneck can add group.

After staying with the company for a long time, I was very comfortable, but I hit a wall in the interview when I changed my job. Need to study in a short period of time, job-hopping can be added to the group.

If there is no work experience, but the foundation is very solid, Java working mechanism, common design ideas, common Java development framework master proficient can add group.


Add Java Architect advanced communication group to get Java engineering, high performance and distributed, high performance, easy to understand. High architecture.

Performance tuning, Spring, MyBatis, Netty source analysis and big data and other knowledge points of advanced advanced dry goods live free learning rights

Are Daniel take fly to let you walk a lot less detours of the group number is: 867748702 to the small white do not enter the best is to have development experience

Note: Add group requirement

1. Those with work experience, who do not know where to start in the face of the current popular technology and need to break the technical bottleneck can be added.

2. I have been in the company for a long time and have been comfortable, but I hit a wall in the interview when I changed my job. Need to study in a short period of time, job-hopping can be added.

3. If you have no working experience, but have a solid foundation, and have a good command of Java working mechanism, common design ideas and common Java development framework, you can add.

4, feel very good B, general needs can be done. But the knowledge points learned are not systematic, it is difficult to continue to break through in the field of technology can be added.

5. Ali Java senior bull live explain knowledge points, share knowledge, sorting out and summarizing years of work experience, with everyone to establish their own technical system and technical knowledge in a comprehensive and scientific way!