标签:gre ip绑定 centos list mtu 修改 ble 使用 关闭
service network restart
systemctl restart network
cat /etc/resolv.conf
设置主机和IP绑定信息:cat /etc/hosts
设置主机名:cat /etc/hostname
查看防火墙状态:systemctl status firewalld.service
关闭:systemctl stop firewalld
开启:systemctl start firewalld
开机自动关闭:systemctl disable firewalld
开机自动启动:systemctl enable firewalld
查看开机是否启动:chkconfig --list|grep network(RHLE6)
临时关闭:
_getenforce
Enforcing
_setenforce 0
setenforce:SELinux is disabled
永久关闭:
_vim /etc/selinux/config
service network restart
systemctl restart network
cat /etc/resolv.conf
设置主机和IP绑定信息:cat /etc/hosts
设置主机名:cat /etc/hostname
查看防火墙状态:systemctl status firewalld.service
关闭:systemctl stop firewalld
开启:systemctl start firewalld
开机自动关闭:systemctl disable firewalld
开机自动启动:systemctl enable firewalld
查看开机是否启动:chkconfig --list|grep network(RHLE6)
临时关闭:
_getenforce
Enforcing
_setenforce 0
setenforce:SELinux is disabled
永久关闭:
_vim /etc/selinux/config
标签:gre ip绑定 centos list mtu 修改 ble 使用 关闭
原文地址:https://www.cnblogs.com/wangjian123/p/13201787.html