欢迎来到天天文库
浏览记录
ID:1655899
大小:28.50 KB
页数:4页
时间:2017-11-12
《redmine 慢 变慢 解决方案》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、redmine慢变慢解决方案默认的redmine走的是自带的Webrick服务器,慢是必须的所以解决如下:参考:http://www.modrails.com/install.html、Openaterminal,andtype:geminstallpassengerType:passenger-install-apache2-moduleOr,ifyouwanttoinstalltheNginxversioninstead:passenger-install-nginx-moduleAndfollo
2、wtheinstructions.Ifyouencounteranyproblems,pleasereadtheUsersguide(Apache)/Usersguide(Nginx)fortroubleshootingtipsand/ortrythetarballbelow.#passenger-install-apache2-moduleWelcometothePhusionPassengerApache2moduleinstaller,v2.2.14.Thisinstallerwillguide
3、youthroughtheentireinstallationprocess.Itshouldn'ttakemorethan3minutesintotal.Here'swhatyoucanexpectfromtheinstallationprocess:1.TheApache2modulewillbeinstalledforyou.2.You'lllearnhowtoconfigureApache.3.You'lllearnhowtodeployaRubyonRailsapplication.Don'
4、tworryifanythinggoeswrong.Thisinstallerwilladviseyouonhowtosolveanyproblems.PressEntertocontinue,orCtrl-Ctoabort.--------------------------------------------TheApache2modulewassuccessfullyinstalled.PleaseedityourApacheconfigurationfile,andaddtheselines:
5、LoadModulepassenger_module/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/ext/apache2/mod_passenger.soPassengerRoot/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14PassengerRuby/usr/local/bin/rubyAfteryourestartApache,youarereadytodeployanynumberofR
6、ubyonRailsapplicationsonApache,withoutanyfurtherRubyonRails-specificconfiguration!PressENTERtocontinue.--------------------------------------------DeployingaRubyonRailsapplication:anexampleSupposeyouhaveaRailsapplicationin/somewhere.Addavirtualhosttoyou
7、rApacheconfigurationfileandsetitsDocumentRootto/somewhere/public:ServerNamewww.yourhost.comDocumentRoot/somewhere/public #<--besuretopointto'public'!AllowOverrideall #<--relaxApachesecuritysetti
8、ngsOptions-MultiViews #<--MultiViewsmustbeturnedoffAndthat'sit!YoumayalsowanttochecktheUsersGuideforsecurityandoptimizationtips,troubleshootingandotherusefulinformation:/usr/local/lib/ruby/gems
此文档下载收益归作者所有