This some of the tuning I do on a centos 7 install REMOVE USLESS NETWORK INTERFACE brctl delbr virbr0 systemctl get-default systemctl set-default multi-user.target DISABLE USELESS SERVICESON GUI INSTALLS:

systemctl disable polkit.service libstoragemgmt.service avahi-daemon.service rhnsd.service alsa-state.service wpa_supplicant.service gssproxy.service ModemManager.service irqbalance.service atd.service smartd.service abrt-xorg.service abrtd.service cups.service systemctl stop polkit.service libstoragemgmt.service avahi-daemon.service rhnsd.service alsa-state.service wpa_supplicant.service gssproxy.service ModemManager.service irqbalance.service atd.service smartd.service abrt-xorg.service abrtd.service cups.service

ON BASIC WEB INSTALLS:
systemctl disable firewalld.service irqbalance.service abrtd.service polkit.service smartd.service wpa_supplicant.service atd.service systemctl stop firewalld.service irqbalance.service abrtd.service polkit.service smartd.service wpa_supplicant.service atd.service

mv /usr/sbin/wpa_supplicant /usr/sbin/wpa_supplicant_REMOVED pkill wpa_supplicant systemctl list-units –type service |grep running

RENAME NETWORK INTERFACE mv /etc/sysconfig/network-scripts/ifcfg-eno16777984 /etc/sysconfig/network-scripts/ifcfg-eth0 vi /etc/default/grub
GRUB_CMDLINE_LINUX=”crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nr_cups=2 net.ifnames=0 biosdevname=0v ” grub2-mkconfig -o /boot/grub2/grub.cfg sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config sestatus
#NEED REBOOT

DISABLE IPV6 cat /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no IPV6_AUTOCONF=no IPV6_DEFROUTE=no IPV6_FAILURE_FATAL=no NAME=eth0 UUID=0271b1ee-6a44-4ad6-a832-eadde5fe844d DEVICE=eth0 ONBOOT=yes HWADDR=00:50:56:A7:2D:EC IPADDR=172.27.33.99 PREFIX=24 GATEWAY=172.27.33.231 IPV6_PEERDNS=no IPV6_PEERROUTES=no TOO MANY RCUOS PROCESS Turn off the vm. Edit settings > Options > Advanced > Memory / CPU Hotplug In “CPU Hot Plug”, disable “CPU hot plug for this virtual machine.” Power on. here is the script:

https://www.buymeacoffee.com/felipeferreira
https://www.buymeacoffee.com/felipeferreira
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

*