VPS centOS搭建gitlab小结
1、更改centOS语言,中文看起来很蛋疼。
fix:
1、#cat /etc/sysconfig/i18n
2、LANG="en_US.UTF-8"
3、SYSFONT="latarcyrheb-sun16"
2、安装ruby
step:
1、curl -sSL https://get.rvm.io | bash -s stable
Q:
try downloading the signatures:
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
fix:
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable
step1.1:
重新登录
step2:
rvm install ruby-1.9.3-p547
step3:
ruby -version