passwd
update openssl
update glibc
vi /etc/hosts
vi /etc/resolv.conf
vi /etc/sysconfig/network
import iptables
hostname xxxxxxxxxxxxxx
vi /etc/modprobe.d/dist.conf
alias net-pf-10 off
alias ipv6 off
vi /etc/inittab
date -R
1.查看当前使用的时区
cat /etc/sysconfig/clock
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Shanghai"
UTC=true
ARC=false
2.修改时区
进入/usr/share/zoneinfo目录,可以看到很多时区文件,将其中要用的时区(此处以上海为例)
命令:
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
3. ntp时间更新
yum install ntp
ntpdate us.pool.ntp.org
4.时间修改参考
http://www.xiaobo.li/linux/472.html