Last active
July 24, 2018 04:11
-
-
Save professorhaseeb/0375461814942143300a3354559ac01b to your computer and use it in GitHub Desktop.
Details here https://gitlab.com/snippets/1734607
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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