최대 1 분 소요

os 설치 후 방화벽 및 네트워크 설정

service iptables status
iptables -L
service iptables stop
chkconfig iptables off
service iptables status
iptables -L
vim /etc/ selinux/config
!
disabled
!
vim /etc/sysconfig/network-scripts/ifcfg-eth0
!
ONBOOT=yes
HWADDR, UUID, NM_CONTROLLED 등 필요없는 것 삭제
!
vim ifcfg-eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=7.7.7.7
NETMASK=255.255.255.0
!
cd /etc/udev/rules.d/
rm 70-persistent-net.rules
y
service network restart
ifconfig //verify

업데이트

yum update -ty
yum install xinetd -y

댓글남기기