Created
October 25, 2018 08:27
-
-
Save RaphaelAudet/c089a8283290d06c390ad1e96be8029a to your computer and use it in GitHub Desktop.
quick and dirty server
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/bash | |
sudo apt-get install zsh | |
sudo apt-get install build-essential git-core tmux | |
sudo chsh ubuntu /usr/bin/zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
cd ~/.rbenv && src/configure && make -C src | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
~/.rbenv/bin/rbenv init | |
vi ../.zshrc | |
#logout | |
mkdir -p "$(rbenv root)"/plugins | |
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment