Notes 1496410
- 分区检查:df –h
- 检查hosts文件
- 检查OS版本
- 服务调整
关闭并禁用network manager:
chkconfig NetworkManager off (关闭开机自启)
chkconfig network on (设置开机自启)
service network start
service NetworkManager stop
service network restart
把selinux、iptables、acpid等服务设置成开机不启动。
vi /etc/selinux/config,改SELINUX=disabled
chkconfig acpid off
chkconfig kdump off
service acpid stop
chkconfig iptables off
service iptables stop
更新/etc/sysctl.conf,/etc/security/limits.conf 然后sysctl –p
时区一定要对,编辑/etc/ntp.conf,ntp时间服务一定要随OS起来:用service ntpd status检查,ntpdate -u IP
chkconfig ntpd on
安装uuidd服务:yum install -y uuidd
chkconfig uuidd on
检查ntp和uuidd
service ntpd status
service uuidd status
检查nfs服务
service nfs start
chkconfig nfs on
安装图形界面:
yum grouplist |grep KDE :输出KDE Desktop
yum groupinstall “KDE Desktop”
用xclock测试
安装并启用VNC服务:
rpm -qa tiger*
yum list |grep tiger*
yum install -y tigervnc-server.x86_64
vncserver
yum groupinstall -y ‘compat-libraries’ ‘debugging’ ‘directory-client’ ‘hardware-monitoring’ ‘large-systems’ ‘network-file-system-client’ ‘perl-runtime’ ‘storage-client-multipath’
yum -y install compat-gcc-34.x86_64 compat-gcc-34-c++.x86_64 compat-gcc-34-g77.x86_64
配置yum,配置文件为server.repo
最后拷贝好日志。