Created
December 4, 2019 18:30
-
-
Save umardx/17e318321af1cc8c6682e7e800e7404a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| grep -qxF 'Port 43' /etc/ssh/sshd_config || sed -i '1 s/^/Port 43\n/' /etc/ssh/sshd_config | |
| systemctl restart ssh | |
| curl -sL https://get.docker.com | bash | |
| id -u umar &>/dev/null || useradd umar | |
| usermod -aG docker umar | |
| curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose | |
| apt-get install htop screen git rsync -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment