centos etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
centos etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

18 Kasım 2014 Salı

Disable SELINUX and IPTABLES on Centos 7

# DISABLE SELINUX AND IPTABLESsetenforce 0
sed -i.bak "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
systemctl disable iptables.service
systemctl stop iptables.service
systemctl disable firewalld.service
systemctl stop firewalld.service
# /usr/sbin/reboot

Change timezone in centOS 7

ls -la /usr/share/zoneinfo/
cp /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime
timedatectl set-timezone YOURTIMEZONE

CentOS 7 change ethernet interface name


sed -i.bak "s/quiet/quiet net.ifnames=0 biosdevname=0/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg