読者です 読者をやめる 読者になる 読者になる

いかたけの備忘録

忘れっぽい

作業

さくらのレンタルサーバで bash を標準にする — sakura VPS Note 0.1 documentation

vimは8.0を入れておいた。

[ikatake@www1928 ~]$ ls
[ikatake@www1928 ~]$ cd local/src
[ikatake@www1928 ~/local/src]$ ll -tr
[ikatake@www1928 ~/local/src]$ wget ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2
[ikatake@www1928 ~/local/src]$ bunzip2 vim-8.0.tar.bz2
[ikatake@www1928 ~/local/src]$ tar xvzf vim-8.0.tar
[ikatake@www1928 ~/local/src]$ ll -tr
[ikatake@www1928 ~/local/src]$ cd vim80
[ikatake@www1928 ~/local/src/vim80]$ ll -tr
[ikatake@www1928 ~/local/src/vim80]$ ./confiugure--enable-multibyte --enable-xim --enable-fontset --with-features=big--prefix=$HOME/local
[ikatake@www1928 ~/local/src/vim80]$ make
[ikatake@www1928 ~/local/src/vim80]$ make install

shinsuke789.hatenablog.jp

rubyは2.4.0にしておきました。

[ikatake@www1928 ~]$ cd local
[ikatake@www1928 ~/local]$ git --version
[ikatake@www1928 ~/local]$ which rbenv
[ikatake@www1928 ~/local]$ git clone git://github.com/sstephenson/rbenv.git rbenv
[ikatake@www1928 ~/local]$ mkdir rbenv/plugins
[ikatake@www1928 ~/local]$ cd rbenv/plugins
[ikatake@www1928 ~/local/rbenv/plugins]$ ll
[ikatake@www1928 ~/local/rbenv/plugins]$ git clone git://github.com/sstephenson/ruby-build.git ruby-build
[ikatake@www1928 ~]$ cd local
[ikatake@www1928 ~/local]$ git --version
[ikatake@www1928 ~/local]$ which rbenv
[ikatake@www1928 ~/local]$ git clone git://github.com/sstephenson/rbenv.git rbenv
[ikatake@www1928 ~/local]$ mkdir rbenv/plugins
[ikatake@www1928 ~/local]$ cd rbenv/plugins
[ikatake@www1928 ~/local/rbenv/plugins]$ ll
[ikatake@www1928 ~/local/rbenv/plugins]$ git clone git://github.com/sstephenson/ruby-build.git ruby-build
[ikatake@www1928 ~/local/rbenv/plugins]$ mkdir $TMPDIR
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenv install -l
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenv install 2.4.0
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenvrehash
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenv global 2.4.0
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenv exec gem install bundler
[ikatake@www1928 ~/local/rbenv/plugins]$ rbenv rehash
[ikatake@www1928 ~/local/rbenv/plugins]$ gem list