Guide - Install Redmine on Debian
Added by François K. over 15 years ago
Hello,
I wrote a documentation about my last installation of Redmine on a Debian server - for a production environment - because I think this is the missing intelligence in the official documentation.
Feel free to use it in the wiki or simply as a starting point for your own installation.
François.
Replies (24)
RE: Guide - Install Redmine on Debian - Added by Anonymous over 15 years ago
Very nice document! Imo it would be better to supply a pdf document however.
Hans-Peter
RE: Guide - Install Redmine on Debian - Added by Iuri Souza over 15 years ago
François K. wrote:
Hello,
I wrote a documentation about my last installation of Redmine on a Debian server - for a production environment - because I think this is the missing intelligence in the official documentation.
Feel free to use it in the wiki or simply as a starting point for your own installation.
François.
François,
I follow your guide for Debian and don´t work. My browser receive list file in /usr/local/lib/redmine-0.8/public.
Any idea ???
RE: Guide - Install Redmine on Debian - Added by François K. over 15 years ago
Iuri Souza wrote:
I follow your guide for Debian and don´t work. My browser receive list file in /usr/local/lib/redmine-0.8/public.
Any idea ???
If you see the files, maybe the mod_passenger doesn't work or be activated.
To check this, you need to activate the mod_info.
For this:
cd /etc/apache2/mods-enabled
ln -s ../mods-available/info.load
ln -s ../mods-available/info.conf
Now, if you make your tests from an other computer, you need to edit the info.conf file and add a line like this one to allow the connection from this computer:
Allow from 192.168.2.2 (with the IP address of the computer)
Then reload apache (/etc/init.d/apache2 reload) and use your browser to go to the url /server-info on your server.
You will see the mods loaded on your server: is mod_passenger visible? is its configuration correct?
RE: Guide - Install Redmine on Debian - Added by Gordon Knoppe over 15 years ago
Here's a pdf version
RE: Guide - Install Redmine on Debian - Added by François K. over 15 years ago
Thank you Gordon for the PDF version!
I have updated my installation guide to integrate Subversion.
Here is the result (in both docx and pdf this time :)
RE: Guide - Install Redmine on Debian - Added by Derik JL about 15 years ago
François,
I had the same problem. The passenger module is on, but the problem persist.
Any idea?
Thank You!!!
RE: Guide - Install Redmine on Debian - Added by François K. about 15 years ago
Hello,
First of all you can check the "/var/log/apache2/errors.log" log file of apache. He will contain the passenger errors.
But I'm quite sure that the error came from my doc. In fact, it contains an error on pages 5 and 8.
Use
PassengerRoot /usr/local/lib/passenger
instead of
PassengerRoot /usr/local/lib/passenger-2.2.1
in your apache configuration.
I hope this help :)
RE: Guide - Install Redmine on Debian - Added by Derik JL about 15 years ago
François,
I followed your guide again, and now works fine! I must have done something wrong in first time.
Thank you again!
RE: Guide - Install Redmine on Debian - Added by Jérémy Lal about 15 years ago
There is now a package for redmine in debian/sid.
It will go to testing, then i hope backports too, in a few weeks.
RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer almost 15 years ago
I followed the instructions on a testserver (Debian under Virtualbox), and all went well. Now, on a physical server I got stuck on the passenger part. When running "./passenger-install-apache2-module", the process says that "rack" could not be found. I installed rack with the following command: "/usr/bin/gem install rack", and installation went fine. When I run the passenger command again, it still can't find the rack software. Anyone with an idea/solution?
RE: Guide - Install Redmine on Debian - Added by Chris Jakeway almost 15 years ago
It looks like the passenger version has changed and "rack" is now required but doesn't install properly. To use the version of passenger that is listed in the instructions I replaced:
gem install passenger
with
gem install passenger -v=2.2.1
RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer almost 15 years ago
Thanks Chris, that solved it! I used "gem install passenger -v=2.2.5".
RE: Guide - Install Redmine on Debian - Added by Kim Henriksen almost 15 years ago
I get this error, when installing rails.
projects:~# aptitude install ruby rake rubygems projects:~# aptitude install libmysql-ruby libopenssl-ruby projects:~# gem install rails –v=2.1.2 ERROR: Error installing rails: actionpack requires rack (~> 1.0.0, runtime) ERROR: could not find gem –v=2.1.2 locally or in a repository
RE: Guide - Install Redmine on Debian - Added by Jérémy Lal almost 15 years ago
rails package is in debian,
in stable : rails 2.1.0
in testing/unstable : rails 2.2.3
aptitude install rails
!
Also be aware that redmine 0.9.0 is (the release candidate) is going to be uploaded
in debian/unstable very soon. It'll be rails 2.2.3 compatible, and using backports,
will be also available on stable.
Regards,
Jérémy.
RE: Guide - Install Redmine on Debian - Added by Kim Henriksen almost 15 years ago
Hey thanks for your reply
i did
projects:~# apt-get install rails projects:~# gem install -v=2.1.2 rails
RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer almost 15 years ago
Did you try "gem install rails -v=2.1.2" ?
RE: Guide - Install Redmine on Debian - Added by Kim Henriksen almost 15 years ago
Yeah, look above :)
but i got it all working.
but thx for all your replies
RE: Guide - Install Redmine on Debian - Added by Joonas Pulakka over 14 years ago
Thanks for the guide! An alternative (a bit simpler) approach is described here:
http://madpropellerhead.com/random/20100820-installing-redmine-on-debian-with-apache
It worked exactly as described at least today, so it's as up to date as it can be :)
RE: Guide - Install Redmine on Debian - Added by Jérémy Lal about 14 years ago
Hi,
i just uploaded redmine 1.0.1-1 to debian/unstable.
I also fixed several debian-only bugs.
Hopefully it'll be accepted into squeeze.
Regards,
Jérémy.
RE: Guide - Install Redmine on Debian - Added by Joonas Pulakka about 14 years ago
Jérémy Lal wrote:
Hi,
i just uploaded redmine 1.0.1-1 to debian/unstable.
I also fixed several debian-only bugs.
Hopefully it'll be accepted into squeeze.
Thanks for your efforts, they're appreciated!
Just for curiosity, what kind of debian-only bugs there are/were?
Best Regards,
Joonas
RE: Guide - Install Redmine on Debian - Added by Jérémy Lal about 14 years ago
Mainly, a minimal patch for libi18n-ruby 0.4.1 support.
Otherwise debconf/docs fixes.
RE: Guide - Install Redmine on Debian - Added by Marco Biovi over 13 years ago
François K. wrote:
Hello,
I wrote a documentation about my last installation of Redmine on a Debian server - for a production environment - because I think this is the missing intelligence in the official documentation.
Feel free to use it in the wiki or simply as a starting point for your own installation.
François.
Hi François,
I've just used your guide as the base for rewrite an other for redmine 1.1 . Can I publish this on my website and here if you according to me.
Let me know.
Regards,
Marco
RE: Guide - Install Redmine on Debian - Added by ecomdvd dvd almost 13 years ago
You will need an Internet connected Windows PC or server to get started. If you don’t have an Internet-enabled PC, you can do the install on an Internet connected PC and move the Ruby folder tree to your target machine, but I’ll assume you live in the 21st century and do have Internet connectivity.
1. Download version 1.8 of Ruby – the link is to the “all-in-one” installer for Windows. You need version 1.8, not 1.9 as Redmine only works on 1.8 right now.
2. Set up so Ruby’s “bin” folder is in your system or command prompt path. You should be able to type “ruby” at the command prompt and not get any “file not found” errors.
3. Create yourself some sort of “Ruby apps” folder and open a command prompt at that location, e.g. C:\Ruby\Apps or something
4. At the command prompt: “gem install rails“
5. At the command prompt: “gem install mongrel“
6. Download the latest stable version of Redmine and unzip into a subfolder of your Ruby apps dir (e.g. C:\Ruby\Apps\Redmine)
7. Configure the database.yml for Redmine to point to a database for your Redmine instance to use (I’ll leave that up to you)
8. In the Redmine folder, at the command prompt: “rake db:migrate“
9. If you’re using Redmine v0.8.7 or above, at the command prompt: “rake generate_session_store”
10. Test your Redmine installation is working, at the command prompt: “mongrel_rails start“, then hit http://localhost:[port]/ in your browser where [port] is the port Mongrel started with. Kill the server with Ctrl+C once you’ve verified Redmine is working.
11. At the command prompt: “gem install win32-service“
12. At the command prompt: “gem install mongrel_service“
13. Install Redmine as a Windows service, at the command prompt: “mongrel_rails service::install -N Redmine -c [your redmine folder] -p [portno] -e production“, replacing [your redmine folder] with the full path to the Redmine folder in the filesystem, and the [portno] being the port you’d like redmine to server on, e.g. 80 for standard http port 80.
dvd printable
Most people walk in and out of your life, but only FRIENDS leave footprints in your heart