Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
sudo yum -y install vim git tmux tree gcc openssl-devel readline-devel sqlite-devel nodejs
sudo yum -y update
git config --global user.name 'twinbird'
git config --global user.email 'ixa2063@gmail.com'
git config --global core.editor 'vim'
curl -OL https://gist.githubusercontent.com/twinbird/040b298673e5c813a29962d3e5b858c6/raw/a983bbbbb5706e00a7ff08fe12b15323706591bb/.tmux.conf
curl -OL https://gist.githubusercontent.com/twinbird/adcec8abec12ad3398d0/raw/25a565fc75e0d868ab08f428cf86b80a625cf0b6/.vimrc
alias vi=vim >> ~/.bash_profile
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.5.0
rbenv global 2.5.0
rbenv exec gem install bundler
rbenv rehash
gem install rails
#change locale
sudo localedef -f UTF-8 -i ja_JP ja_JP
localectl set-locale LANG=ja_JP.utf8
sudo yum -y install kbd
sudo localectl set-keymap jp106
timedatectl set-timezone Asia/Tokyo
sudo yum -y install ntp
sudo ntpdate ntp.nict.jp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.