JDK, mysql, tomcat installation on Linux

1: RPM (Red Hat Package Manager) : equivalent to Windows Add/Uninstall Program (Control Panel), install, update, uninstall and view programs;

Local program installation: rpm - ivh program name

Local program view: rpm - qa

Local program uninstall: rpm -e --nodeps program name

Two: Yum software warehouse : equivalent to the rpm command that can be connected to the Internet, equivalent to downloading the program installation package and program update package first online (Yum installation: sudo apt install yum)

Ready to work:

Because the installation process of JDK , TOMCAT and MYSQL needs to download some support packages from the Internet before continuing, so first install the network and download the dependencies in order ( download the installation package from the external network )

yum install glibc.i686
yum -y install libaio.so.1 libgcc_s.so.1 libstdc++.so.6
yum  update libstdc++-4.4.7-4.el6.x86_64
yum install gcc-c++

 

 

 

 

 

glibc.i686

8MB+21MB

libaio.so.1 libgcc_s.so.1 libstdc++.so.6

417KB

libstdc++-4.4.7-4.el6.x86_64

update check only ,

No downloads

yum install gcc-c++

 

19MB

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324946743&siteId=291194637