centos 7网卡名

1.安装前 net.ifnames=0 biosdevname=o
2.配置网卡地址
3.
systemctl disable firewalld.server

yum install net-tools   -- ifconfig
yum install screen tree lrzsz gcc glibc 
yum update -y && reboot


与cento6的区别
vim/ etc/hostname    配置主机名

6					7
ext4					xfs
/etc/hosts				/etc/hostname
chkconfig --list | grep 3:on		systemctl list-unit-files | grep enable
chkconfig iptables off			systemctl disabled firewalld.service
service postfix off			systemctl start postfix.service
service postfix on			systemctl stop postfix.service
sercice postfix restart			systemctl restart postfix.service
kernel:2.6				kernetl:3.10
python:2.6				python:2.7
iptables				firewalld

 

 

posted @ 2017-05-08 21:01  sunmmi  阅读(132)  评论(0)    收藏  举报