centos 最小化安装后要做的事情

首先是配置网络

[root@bao-work-4 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

IPADDR=10.230.200.22
GATEWAY=10.230.200.254
NETMASK=255.255.255.0
DNS1=10.230.10.1
DNS2=10.230.10.2

安装wget工具

yum install wget

 

yum源的配置

cd /etc/yum.repos.d
mv CentOS-Base.repo bak-CentOS-Base.repo
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
yum clean all
yum makecache

 

编译环境和工具的安装

yum groupinstall "Development Libraries" "Development Tools"

posted @ 2017-03-01 16:48  BigBao的博客  阅读(262)  评论(0编辑  收藏  举报