1 Supplemental Knowledge
- In Windows, we install programs, generally click on Setup.exe, this is the delegate Windows Control Panel, to add or uninstall programs. Of course, we can install, update, uninstall and view the program in the Control Panel.
- In Linux, the RPM command is also equal to the addition or uninstallation of Windows to commit Xu. The RPM command can be used to install, update, uninstall, or view programs.
- Local program installation: RPM-IVH program name
- Local program View: RPM-QA
- Local program Uninstall: RPM-E--nodeps program Name
- The Yum command, equivalent to the RPM command that can be networked. The equivalent of the first network to download the program installation package, the program's update package, and then automatically execute the RPM command.
2 preparatory work
- Because the JDK, Tomcat,mysql installation process needs to download some support packages from the Internet to continue, all need to install download dependencies in advance.
Yum Install glibc.i686 yum -y install libaio.so.
1
libgcc_s.so.
1
libstdc++.so.
6
yum update libstdc++-4.4.7-4e16.x86_64yum Install gcc-c++
3 Linux installation JDK
3.1 Uninstalling OpenJDK
3.2 Installing ORACLEJDK
Linux Jdk,mysql,tomcat