2016년 10월 14일 금요일

CENTOS 7 처음 설치 후 기본 설정

1. disable Firewall(iptables) 
# systemctl stop firewalld.service
# systemctl disable firewalld.service
# iptables -F 

2. disable SELINUX
# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

3. disable NetworkManager 
# sudo systemctl disable NetworkManager.service 
# sudo chkconfig network on
# sudo reboot

4. Network
# sed -i 's/ONBOOT=no/ONBOOT=yes/' /etc/sysconfig/network-scripts/eno16777736
# yum install epel-release

5. disable IPv6
# vi /etc/default/grub
GRUB_CMDLINE_LINUX="ipv6.disable=1 rd.lvm.lv=fedora/swap rd.md=0.....

# grub2-mkconfig -o /boot/grub2/grub.cfg
# reboot

6. Update System
# yum -y install yum-plugin-fastestmirror
# yum -y update

7. Hostname
hostnamectl set-hostname isbyeon.local

댓글 없음:

댓글 쓰기