Linux Study notes Fifth week second class (March 6)

Source: Internet
Author: User

7.6 Yum replacing domestic sources

wget download the URL, download the file;

Install the wget command, #yum install-y wget;

Curl-o download URL, download file


7.7 Yum Download RPM package


Installing the extension source Epel

installation command #yum install-y epel-release

View command #yum List | grep Epel


Yum Download RPM Package

Download not install command only, #yum install-y package name--downloadonly

View the downloaded file, command #ls/var/cache/yum/x86/7/

Specify the download Path command, #yum install-y package name--downloadonly--downloaddir= path


7.8/7.9 Source Package Installation

SOURCE Package Installation

Later contract package download path is/usr/local/src/

Go to download directory, #cd/usr/local/src/

Download the package, #wget download URL

Package decompression, #tar ZXVF httpd-2.2.32.tar.gz

Enter the extracted directory, #cd httpd-2.2.32

Specify the Software installation directory, #./configure--prefix=/usr/local/apache2

Make

Make install

Uninstall is to delete the installed files


Extended

1. Configure the Yum source priority http://ask.apelearn.com/question/7168

2. Package the source package into RPM package http://www.linuxidc.com/Linux/2012-09/70096.htm


Linux Study notes Fifth week second class (March 6)

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.