????????root?????У???????????????????????????????е???????
????1.???mysql-server
????sudo apt-get install mysql-server
??????????????????м?????????root??????
???????????????
????# ???
????mysql -uroot –proot
????2.?redmine????????????
????grant all privileges on redmine.* to redmine@’%’ identified by ‘redmine’ with grant option;
????3.???ruby
????sudo apt-get install ruby-full??
????????????ruby -v?????“ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]“
??????????£??????????locate ruby???????????/usr/lib/ruby/1.8????????Щλ?????ruby?????δ???
???????????????????ruby·?????PATH????????????????/usr/bin
????4.sudo apt-get install rubygems
???????gem -v?????“1.3.7”
??????????ruby1.9???gem??
????5.sudo apt-get install rails
???????????????rake-0.8.7?????rake??rails??????????
??????????????/var/lib/gems/1.8/gems?????
???????????????£?rails -v????????“???? rails ??δ???“??
????????????????? .bashrc????????export PATH=/var/lib/gems/1.8/bin:$PATH
???????????ü??????????????????е???????rake?????root??????
????6.sudo apt-get install redmine-mysql
?????????redmine??mysql ?????
????7.sudo apt-get install redmine
?????м??????????MySQL??root???????????????????????Mysql????????????????MySql?д?????redmine?????
????8.???в?????redmine
????Redmine???????? /usr/share/redmine????????
?????????/usr/share/redmine/log/production.log??????????????????
?????л?????/usr/share/redmine
????????????ruby script/rails server webrick -e production
???????????redmine??????3000????????????http://localhost:3000/??????????????????????????admin????
??????????Redmine??????????У?????-d?????????ruby script/rails server webrick -e production –d
???????redmine??????
??????redmine/vendor/rails/railties/lib/commands/servers.rb????У?
????options = {
????:Port        => 3000??
????:Host        => “0.0.0.0″??
????:environment => (ENV['RAILS_ENV'] || “development”).dup??
????:config      => RAILS_ROOT + “/config.ru”??
????:detach      => false??
????:debugger    => false??
????:path        => nil
????}
????port?????????????4000???ɡ?
?????????÷???????????
????????ú????????к????????????IP???????????30???????????
????????????????????????webrick????????????????????????????????????????mongrel
???????
???????????????gem install mongrel
?????????ruby script/rails server webrick -e production–d