Actions
InstallRedmineOnDebianStableApacheMysqlPassenger » History » Revision 1
Revision 1/32
| Next »
Jan Niggemann (redmine.org team member), 2013-01-21 22:07
New installation instrucions for debian
DebianInstall¶
1: Install ruby, rails, gems and passenger¶
1.1 Prepare your system¶
apt-get install gcc build-essential zlib1g zlib1g-dev zlibc libzlib-ruby libssl-dev libyaml-dev libcurl4-openssl-dev apache2-mpm-prefork apache2-prefork-dev libapr1-dev
1.2 download, build and install ruby¶
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz tar xvfz ruby-1.9.3-p327.tar.gz cd ruby-1.9.2-p0 ./configure --enable-pthread --prefix=/usr/local make && make install
1.3 check if ruby works¶
ruby –v
1.4 make ruby support OpenSSL¶
cd ruby-1.9.2-p0 cd ext/openssl/ ruby extconf.rb make && make install
1.5 gem installed?¶
By now, gem should already be installed, check:
gem -v
1.6 install rails¶
gem install rails
1.7 install passenger (application server)¶
gem install passenger passenger-install-apache2-module
1.8 configure apache¶
Put this in /etc/apache/mods-available/passenger.load
LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.18/ext/apache2/mod_passenger.so
And put this in /etc/apache/mods-available/passenger.conf
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.18 PassengerRuby /usr/local/bin/ruby PassengerDefaultUser www-data
1.9 activate module¶
a2enmod passenger
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago · 1 revisions