Centos
/etc/sysconfig/network-scripts/
TYPE=Ethernet
PROXY_METHOD=static
BROWSER_ONLY=no
BOOTPROTO=none
IPV6_AUTOCONF=no
DEFROUTE=yes
IPV6INIT=yes
IPV6ADDR=
IPV6_DEFAULTGW=
IPV6_PRIVACY=no
DNS0=""
DNS1=""
DNS2=""
DOMAIN=""
IPv4 static /etc/sysconfig/network-scripts/
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=""
UUID=""
DEVICE=""
ONBOOT=yes
IPADDR=
PREFIX=
#NETMASK=
GATEWAY=
DNS1=
DNS2=
DOMAIN=
ZONE=internal
IPv4 dinamic /etc/sysconfig/network-scripts/
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=
UUID=
DEVICE=
ONBOOT=yes
ZONE=internal
VLAN
modprobe --first-time 8021q
/etc/sysconfig/network-scripts/ifcfg-enpX
TYPE=Ethernet
NAME=
DEVICE=
ONBOOT=yes
UUID=
/etc/sysconfig/network-scripts/ifcfg-enpX.X
TYPE=VLAN
ONBOOT=yes
VLAN=yes
DEVICE=enpX.X
/etc/sysconfig/network-scripts/ifcfg-vlanX
ONBOOT=yes
TYPE=VLAN
VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
DEVICE=vlan5
PHYSDEV=ens32
VLAN_ID=5
Bridge /etc/sysconfig/network-scripts/ifcfg-brX
DEVICE=
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=no
IPV6_AUTOCONF=no
DELAY=5
STP=yes
/etc/sysconfig/network-scripts/ifcfg-enpX
DEVICE=enpX
BOOTPROTO=none
TYPE=Ethernet
NAME=
DEVICE=
ONBOOT=yes
UUID=
HOTPLUG=no
BRIDGE=brX
server_args = -u tftpd -s /var/lib/tftpboot --verbose/-vvv
disable = no
rpm -Uhv http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php72
yum install php72
yum install -y php-mysql php-mbstring php-mcrypt php-devel php-xml php-gd
Remove old kernels
yum install yum-utils
package-cleanup --oldkernels --count=2
Automatic remove old kernels /etc/yum.conf
installonly_limit=3
Install
yum/dnf install haveged
Start
systemctl enable haveged
systemctl start haveged
Excluding package update
[main]
excludepkgs=<package names with comma separated>