????????linuxС???????????????????.?????λ??????redmine??bug????????????????????????redmine???????????????????????.?????????????????.?????????????.?????????????????webrick????????redmine?????е???.??????????????????????nginx?????passenger??redmine???????nginx??.????????nginx????????redmine?????nginx??.???????????nginx?????redmine??????跢????.????????вο??????????(www.redmine.org).?????????????????????????????????.????????????????????????????????????????г?.
????????centos 6.5 x64
????redmine ?汾??3.1.1
????ruby ?汾?? 2.2.3
????rails ?汾 ?? 4.2
????1.???rvm
???????rvm????ruby?汾?????.????????rvm??????????yum install ruby 2.2.3??????????г????rvm?????
????[root@localhost ~]# curl -sSL https://rvm.io/mpapis.asc | gpg --import
????gpg: ???????‘/root/.gnupg’
????gpg: ?μ????????‘/root/.gnupg/gpg.conf’?????
????gpg: ???棺??‘/root/.gnupg/gpg.conf’?????????????????δ?????
????gpg: ????‘/root/.gnupg/secring.gpg’?????
????gpg: ????‘/root/.gnupg/pubring.gpg’?????
????gpg:/root/.gnupg/trustdb.gpg???????????ζ??????
????gpg: ??? D39DC0E3?????“Michal Papis (RVM signing) ”?????
????gpg: ???????????????1
????gpg:           ?????1  (RSA: 1)
????????????????????????1??.????????????????.???????.?????~~~
????2.???????????????????rvm
????[root@localhost ~]# curl -L https://get.rvm.io | bash -s stable
????% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
????Dload  Upload   Total   Spent    Left  Speed
????100 22721  100 22721    0     0   6915      0  0:00:03  0:00:03 --:--:--  113k
????Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
????#???……
????# Administrator??
????#
????#   Thank you for using RVM!
????#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
????#
????# ~Wayne?? Michal & team.
????Incaseof problems: http://rvm.io/helpand https://twitter.com/rvm_io
???????????????????
????????RVM?????????????????????
????[root@localhost ~]# source /etc/profile.d/rvm.sh
????[root@localhost ~]# rvm requirements
????Checking requirementsforcentos.
????Installing requirementsforcentos.
????Installing required packages: patch?? libyaml-devel?? autoconf?? patch?? readline-devel?? libffi-devel??
????automake?? libtool?? sqlite-devel
????..........
????Requirements installation successful.
???????????????.
????3.???rvm???ruby
????# rvm install 2.2.3
????# rvm use 2.2.3 --default   ????????????ruby??.???????????????????.????У???????????????????????????С??????????????????????
????4.???rails
????????ruby???????????????????????????????ruby?????
??????????ο?https://ruby.taobao.org/   ??????????.?????..
??????????????????????????.
????5???????????
????????redmine3.1.1
????wget http://www.redmine.org/releases/redmine-3.1.1.tar.gz
?????????????wget??????????wget????????.???????а??wget??????????????????
????yum install wget
?????????????????????.????????????????:????redmine-3.1.1??????????redmine??а???????????????????????????redmine-3.1.1???????????.?????????nginx???????????.
??????????
????wget http://www.redmine.org/releases/redmine-3.1.1.tar.gz
????tar-zxvf redmine-3.1.1.tar.gz
??????????????????????????????????.
??????????bundler
????geminstallbundler     ?????????
????????????????????
????bundleinstall--without developmenttestrmagick
??????????? ?? ??????????.????????????????:
geminstalljson -v'1.8.3'
geminstallminitest -v'5.8.0'
geminstallactivesupport -v'4.2.3'
geminstallactionview -v'4.2.3'
geminstallactionpack -v'4.2.3'
geminstallactivejob -v'4.2.3'
geminstallactionmailer -v'4.2.3'
geminstallactionpack-action_caching -v'1.1.1'
geminstallactionpack-xml_parser -v'1.0.2'
geminstallactivemodel -v'4.2.3'
geminstallactiverecord -v'4.2.3'
geminstallcoderay -v'1.1.0'
geminstallrailties -v'4.2.3'
geminstalljquery-rails -v'3.1.4'
geminstallmysql2 -v'0.3.20'
geminstallnet-ldap -v'0.3.1'
geminstallprotected_attributes -v'1.1.3'
geminstallruby-openid -v'2.3.0'
geminstallrack-openid -v'1.4.2'
geminstallrails -v'4.2.3'
geminstallrbpdf -v'1.18.6'
geminstallredcarpet -v'3.1.2'
geminstallrequest_store -v'1.0.5'
???????????????????κ??????????????.???????????????
????6.??????????redmine???????
????rake generate_secret_token