Three kinds of software installation methods under Linux __linux

Source: Internet
Author: User

1.rpm mode installation
The software installation is in accordance with the Software Installation method of Window System.
At the end of the Windows system, give a hint, the percent scroll bar.
The process is to copy the binaries from the installation package to the system specified location.

Wamp, (Apache, MySQL, PHP)


2. The source code compiles installs (Steps to perform:./configure make &&make Install)
installation package (the contents of the specific installation files are source code),
The source code is then compiled into a binary executable program code,
The binary program code is then copied to the system-specific directory (this step is similar to the RPM method).
This way the installation is more flexible, can be flexible configuration of various parts of the software.

For example, Apache, MySQL, PHP versions can be flexible configuration installation.

To perform the steps:

①>./configure configuration, set installation path and specific parameters for software

②> make compiles the software to compile the source code into executable binary code

③> make install copy the generated binaries to the system-specific directory

Compressed Package Decompression:

. tar.gz-----> Tar zxvf Compressed package files

. tar.bz2-----> Tar JXVF compressed package files


3.yum mode installation
This way belongs to the "fool" installation method, similar to the 360 software Butler "One-click Installation"
> Yum PHP



For example, to install FTP by using the RPM method:

Ftp:file Transfer Protocol File Transfer Protocol

Find the software first

> RPM-IVH file name


2. Start VSFTPD Service
> Service VSFTPD Start/stop/restart


3.VSFTPD Use steps:

3-1. To mount the disc

3-2. Install software RPM–IVH filename

3-3. Open the FTP service VSFTPD start

3-4. Using the Setup command is the FTP protocol through the fire period

3-5. Access to the FTP service via terminal software WINSCP (normal user login WinSCP)


The RPM method can be installed with the following instructions:

> Rpm–q software (full name)//See if you have installed the software query

> rpm–e software name//uninstall software vsftpd

> RPM-QA//View all software installed in the current system RPM mode

> Rpm-qa | grep ftp//through Blur find out if FTP software is installed

> rpm-u file name//upgrade software

File name: Software name + version number +CPU model + file suffix

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.