Compile-and-interpret languages
Source Installation 3 Steps
1, configure and combine the necessary parameters to generate makefile
2. Run make command to generate various modules and main programs
3. Run the Make install command to copy the necessary files to the installation directory
Example
Enter the/usr/local/src/directory
Download wget httpd_xxx.tar.gz
Unzip the tar zxvf httpd_xxx.tar.gz
Enter the unpacked directory CD httpd-xxx
Run the Configure tool to generate makefile
./configure--prefix=/usr/local/apache/--enable-modules=most Specify the installation path & enable most Apache modules
If all goes well, the makefile file will be generated in the current directory
Then make && make install
Launch Apache service, view Port 80
/usr/local/apache/bin/apachectl start
Lsof-i:80
RMP Package Management
Rpm-i-v-u-h-e-a-p-l-f
RPM-IVH test.rpm
RPM-IVH--test abc.rpm
RPM-IVH--relocate =/usr/local/abc.rpm
RPM-UVH abc.rpm
RPM-E ABC
RPM-Q ABC
Yum
Yum Install httpd
Yum Update httpd
Yum List
Yum Remove
Linux Software Installation