Skip to content

Instantly share code, notes, and snippets.

@lushl9301
Created September 26, 2018 12:24
Show Gist options
  • Save lushl9301/0363bbd088e09db71d07461fa05b0b2f to your computer and use it in GitHub Desktop.
Save lushl9301/0363bbd088e09db71d07461fa05b0b2f to your computer and use it in GitHub Desktop.
yum -y install epel-release
yum -y install pssh
echo "installing essential tools and libraries for CentOS"
yum -y groupinstall "Development Tools"
yum -y groupinstall "Development Libraries"
yum -y install gcc-g++ git-core wget links zip unzip unrar
yum -y install mysql-server mysql-client mysql-devel
yum -y install openssl
yum -y install cmake
https://unix.stackexchange.com/questions/36241/centos-eth0-not-starting
@lushl9301
Copy link
Author

pssh -h hostfile -P adduser NAME
pssh -h hostfile echo "PASSWD\nPASSWD" | passwd NAME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment