- $sudo -s
- #yum check-update
- #yum update
- #reboot
- #vi /etc/sysconfig/clock
- #cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
可选配置:
1、关闭不需要的系统服务 //ToDo
- #chkconfig iptables off
- #chkconfig ip6tables off
- #chkconfig netfs off
- #chkconfig lvm2-monitor off
3、安装配置编译工具
- # yum -y install gcc
- # yum -y install gcc-c++
- # yum -y install make automake
- # cd /var/
- # dd if=/dev/zero of=swapfile bs=4096 count=262144
- # /sbin/mkswap swapfile
- # /sbin/swapon swapfile
- # vi /etc/fstab
/var/swapfile swap swap defaults 0 0
没有评论:
发表评论