Last active
October 23, 2017 21:32
-
-
Save letientai299/001999f745e05e8f3ea370956cbdacf7 to your computer and use it in GitHub Desktop.
Centos scripts
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/sh | |
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 -y | |
sudo systemctl start docker | |
sudo docker run hello-world | |
sudo usermod -aG docker $USER |
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
sudo yum install -y unzip | |
wget https://github.com/ranger/ranger/archive/v1.9.0b5.zip -O ranger.zip | |
unzip ranger | |
cd ranger-1.9.0b5 | |
sudo make install | |
cd .. | |
sudo rm -rf ranger* |
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
sudo yum install -y libevent-devel | |
sudo yum install -y ncurses-devel | |
wget https://github.com/tmux/tmux/releases/download/2.6/tmux-2.6.tar.gz | |
tar -xzf tmux-2.6.tar.gz | |
cd tmux-2.6 | |
./configure | |
./make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment