geek-ace

一、网络

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

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-10-08
  • 2022-01-25
  • 2021-08-26
  • 2021-08-13
猜你喜欢
  • 2021-11-17
  • 2021-12-22
  • 2021-06-14
  • 2022-01-27
  • 2022-01-07
  • 2021-11-29
  • 2022-01-19
相关资源
相似解决方案