标签:sys boot rest script lin pts work selinux type
一、网络
1.ip配置
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
service network restart
ip a
二、安全
1.iptables
iptables -F
service iptables stop
chkconfig iptables off
2.selinux
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/sysconfig/selinux
setenforce 0
标签:sys boot rest script lin pts work selinux type
原文地址:http://www.cnblogs.com/geek-ace/p/7729954.html