Skip to content

Instantly share code, notes, and snippets.

@professorhaseeb
Last active July 24, 2018 04:11
Show Gist options
  • Save professorhaseeb/0375461814942143300a3354559ac01b to your computer and use it in GitHub Desktop.
Save professorhaseeb/0375461814942143300a3354559ac01b to your computer and use it in GitHub Desktop.
#!/bin/bash
systemctl stop NetworkManager
systemctl disable NetworkManager
chkconfig NetworkManager off
systemctl list-unit-files | grep NetworkManager
echo -e "\nNM_CONTROLLED=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0
systemctl enable network
systemctl restart network
systemctl start network
chkconfig network on
yum -y update
yum -y install perl curl
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment