CentOS6.3 configure yum source

Source: Internet
Author: User
The 64-bit CentOS6.3 system is installed with a minimal package. it is used as a local Web server. The second step of the entire process is recorded.

The 64-bit CentOS6.3 system is installed with a minimal package. it is used as a local Web server and the entire process is recorded.
Step 2: configure the yum source of NetEase 163

1. download the repo file
: Http://mirrors.163.com/.help/CentOS6-Base-163.repo

2. back up and replace the system's repo file
[Root @ localhost ~] # Cd/etc/yum. repos. d/
[Root @ localhost ~] # Mv CentOS-Base.repo CentOS-Base.repo.bak
[Root @ localhost ~] # Mv/root/CentOS6-Base-163.repo CentOS-Base.repo

3. execute the yum source update
[Root @ localhost ~] # Yum clean all
[Root @ localhost ~] # Yum makecache
[Root @ localhost ~] # Yum update

4. this is the end. use yum to install the file and check whether it is OK.
[Root @ localhost ~] # Yum install vim *

5. install common centos software packages and tools
Common compression tools zip unzip bzip2
[Root @ localhost ~] # Yum-y install unzip zip bzip2 bzip2-devel
Gcc ++ compiler
[Root @ localhost ~] # Yum install gcc-c ++-y
Cmake compiler
[Root @ localhost ~] # Yum install cmake make-y
Image resources
[Root @ localhost ~] # Yum-y install gd libjpeg-devel libpng-devel freetype-devel
Other common resource package tools
[Root @ localhost ~] # Yum-y install autoconf bison automake zlib * fiex * libxml * ncurses-devel libmcrypt * libtool-ltdl-devel *

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.