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
We know CentOS by Yum/etc/yum.repos.d/ Centos-base.repo in the configuration of the mirror server to find updates, the customer recently installed a mantis and Testlink build test platform, found that CentOS with PHP is 5.1 version, does not support
http://ftp.sjtu.edu.cn/CentOS/, Shanghai Jiaotong University, but the server is located in Beijing, China Education Network Network Center, I look like the Chaoyang district over the IP, previously over there, download speed of up to 10 m. North
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
Latest Version:
lnmp-2.5
Update Time:
20140702
MD5 Value:
D4d52e39066f041569b8ef2daa033e15
Installation Instructions:
Please ensure that the server can be normal access to the Internet, yum command can be
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,
1. 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 Replacement Source
Open the Centos-base.repo with VI and empty the contents, then copy the contents below and
Install Nginx, PHP 5.5.15 and php-fpm on Fedora 20/19/18/17, CentOS 7/6.5/5.10, Red Hat (RHEL) 7/6.5/5.101. Change to root user.Su 2. Install needed repositoriesCentOS 7/6.5/5.10 and Red Hat (RHEL) 7/6.5/5.10 Remi
In the process of learning Docker, the download image speed is particularly slow, because the Docker hub does not deploy a server or CDN in the country, coupled with the speed of the domestic network and other reasons, the image download is very
Today with the Yum method built a lamp environment, encountered a lot of problems, after Google and the help of predecessors, finally set up the environment, now the complete steps to record down,1. Change the source, the Sohu is quite useful. 1.1
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.