linux_03_software installation

There are four main ways to install software in linux:

  1. Unzip installation, such as jdk, tomcat
  2. rpm installation, such as mysql
  3. Compile and install, such as tengine (Taobao branch of nginx)
  4. yum online installation, such as gcc, gcc-c++, python, vim, it is recommended to use this method for tool classes and basic libraries, saving time and effort

       yum is a software housekeeper similar to linux, you can install/uninstall software through a simple yum install/remove xxx

 

yum install gcc

     
      

 

     yum source, the famous ones in China are:

     http://mirrors.163.com/ (NetEase)

     http://mirrors.aliyun.com/ (Ali)

 

      The configuration of the yum source is described in the mirror website above. The following is an example of the source of 163:

     
       
 

     

 

In the following chapters, I will introduce 1, 2, and 3 installation methods by building a Java environment.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326679552&siteId=291194637