Description
Operating system: CentOS 6.x
IP Address: 192.168.21.188
Implementation Purpose: Synchronize the contents of the CentOS mirrored site to this server, and by configuring the HTTP server, can provide Yum
Yum (all called YellowdogUpdater, Modified) is a Shell front-end package manager in Fedora, RedHat, and SUSE. Based on RPM Package management, you can automatically download and install the RPM package from the specified server, automatically handle
In centos, yum is used to build and install the linux + apache + mysql + php environment and centosyum
I. Script YUM source installation:
1. yum install wget # install the download tool wget2. wget http://www.atomicorp.com/installers/atomic #
Use the yum command provided by CentOS Linux to install and upgrade the library.
1. change yum source to NetEase source to increase speed
Vi/etc/yum. repos. d/CentOS-Base.repoThe changes are as follows:
# CentOS-Base.repo
#
# This file uses a
Linux yum commands and yum commands
Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora, RedHat, and SUSE. Based on RPM package management, You can automatically download and install the RPM package from the
Yum (full name Yellow Dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as SuSE. Based on the RPM package management, can automatically download the RPM package from the specified server and install, can
Generally famous Linux systems are basically divided into two main categories: 1. Redhat series: Redhat, Centos, Fedora and other 2.Debian series: Debian, Ubuntu, etc.RedHat Series1 common installation package format RPM package, the command to
1. For the source, Sohu is quite easy to use.
1.1 backup CentOS-Base.repo
CD/etc/yum. Repos. d/
CP CentOS-Base.repo CentOS-Base.repo.bak
1.2 replace Source
Open the CentOS-Base.repo with VI, clear the content, copy the following content into it,
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.