Skip to content

Instantly share code, notes, and snippets.

@letientai299
Last active October 23, 2017 21:32
Show Gist options
  • Save letientai299/001999f745e05e8f3ea370956cbdacf7 to your computer and use it in GitHub Desktop.
Save letientai299/001999f745e05e8f3ea370956cbdacf7 to your computer and use it in GitHub Desktop.
Centos scripts
#!/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
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*
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