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 *