Last active
July 6, 2019 00:14
-
-
Save aljaxus/293262074c68f23bdccdf440f88b17be to your computer and use it in GitHub Desktop.
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
yum update -y | |
yum install epel-release -y | |
yum update -y | |
yum install htop bmon vim curl wget git -y | |
# Install nodejs and yarn | |
curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - | |
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo | |
sudo yum install yarn -y | |
sudo yum install cockpit -y | |
sudo systemctl enable --now cockpit.socket | |
sudo systemctl start --now cockpit.socket | |
sudo firewall-cmd --permanent --zone=public --add-service=cockpit | |
sudo firewall-cmd --reload | |
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install docker-ce cockpit-docker -y | |
sudo systemctl enable docker.service | |
sudo systemctl start docker.service | |
yum install -y python-pip | |
sudo pip install docker-compose | |
sudo yum upgrade python* | |
docker-compose version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment