RHEL 7 minimal install notes


1. during installation prompt, insert net.ifnames=0 biosdevname=0 to disable consistent network device naminglinux

wKioL1O-O_fygWOMAADhjZvqedI454.jpg


2. after first reboot of installation, add net.ifnames=0 biosdevname=0:ios

wKiom1O-PI_TeO_RAALio_oEHsg102.jpg


3. enable normal ethx interface name and disable ipv6
centos

vi /etc/default/grub
add net.ifnames=0 biosdevname=0 ipv6.disable=1 to GRUB_CMDLINE_LINUX line

grub2-mkconfig -o /boot/grub2/grub.cfg
ide


4. enable UTC and NTPurl

timedatectl set-local-rtc falsespa

 install and configure ntp/chrony service to enable ntp servicerest


5. disable selinux
orm

vi /etc/selinux/config
blog

SELINUX=disabledip


6. disable firewall

systemctl stop firewalld

systemctl disable firewalld


7. yum -y install net-tools

systemctl stop NetworkManager

systemctl disable NetworkManager

systemctl restart network

chkconfig network on

ifconfig


8. reboot


repository:cat << EOF > /etc/yum.repos.d/iso.repo[iso]name=isobaseurl=http://mirrors.aliyun.com/centos/7.2.1511/os/x86_64enable=1gpgcheck=0EOFcat << EOF > /etc/yum.repos.d/updates.repo[updates]name=updatesbaseurl=http://mirrors.aliyun.com/centos/7.2.1511/updates/x86_64enable=1gpgcheck=0EOFcat << EOF > /etc/yum.repos.d/epel.repo[epel]name=epelbaseurl=http://mirrors.aliyun.com/epel/7/x86_64enable=1gpgcheck=0EOF

相關文章
相關標籤/搜索