首页 > 系统服务 > 详细

linux基本配置

时间:2018-09-24 00:19:03      阅读:181      评论:0      收藏:0      [点我收藏+]
1 IP地址配置:
[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
2 关闭防火墙
[root@localhost ~]# iptables server stop
停止防火墙服务(临时生效)
[root@localhost ~]# chkconfig iptables off
这是重启后生效
[root@localhost ~]# reboot
重启服务器
3 关闭selinux
root@localhost ~]# vim /etc/selinux/config
SELINUX=disabled
把enforcing改为disabled

linux基本配置

原文:http://blog.51cto.com/13707360/2280873

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!