公司服务器安装redmine
服务器版本***(Ubuntu 4.8.4-2ubuntu1~14.04.3)***
redmine版本***redmine-3.4.6***
lbo@donglebuild2:~/redmine/3.4-stable$ cat /proc/version
Linux version 3.13.0-119-generic (buildd@lcy01-06) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #166-Ubuntu SMP Wed May 3 12:19:45 UTC 2017
lbo@donglebuild2:~/redmine/3.4-stable$ uname -a
Linux donglebuild2 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:19:45 UTC 2017 i686 i686 i686 GNU/Linux
lbo@donglebuild2:~/redmine/3.4-stable$
由于Redmine是基于Ruby On Rails安装的,所以第一步是安装Ruby On Rails。
在ubuntu上通过rvm来安装ruby和rails,步骤借鉴了官网和网上资料。这部分来自https://blog.csdn.net/zhaoxy_thu/article/details/44305821
但是文章有几点有的问题。如下:
https://blog.csdn.net/zhaoxy_thu/article/details/44310677
https://blog.csdn.net/zhaoxy_thu/article/details/44305821
https://ruby-china.org/wiki/install_ruby_guide
安装rvm
https://www.digitalocean.com/community/questions/curl-l-get-rvm-io-bash-s-stable-fails-on-cent-os-on-hostgator
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
just copy paste this in terminal and after this command complete then again type
"curl -L get.rvm.io | bash -s stable" this command
i also had similar problem before
# source /usr/local/rvm/scripts/rvm