Project

General

Profile

Help installing on Fedora 20

Added by steevithak . almost 10 years ago

Is there a detailed step-by-step guide to installing redmine on a Fedora 20 box? I've been trying to follow the steps provided in http://www.redmine.org/projects/redmine/wiki/RedmineInstall but there seem to be steps missing or wrong. For example step 1 asks me to download the tar.gz file of redmine code but no subsequent step explains what to do with it. I assume it needs to be unpacked and put somewhere but the instructions don't say where. I found another set of instructions for CentOS (http://www.redmine.org/projects/redmine/wiki/How_to_Install_Redmine_on_CentOS_(Detailed)) that said it goes in the Apache doc root directory, so going with that for now.

I'm currently stuck at Step 8, which says I need to change the ownership of the redmine files to "user account running the application" - I assume this means the "apache" user on Fedora, since the web server will need to write to the redmine directories? Or am I expected to create a new user named "redmine"?

The instructions seem to end before redmine is actually running on apache. Step 9 implies there is an additional set of instructions that completes the install but it doesn't provide a link. Any suggestions? Thanks!

Have you folks thought of packaging redmine as an RPM file? Then it would be as easy to install as everything else on GNU/Linux systems (e.g. yum install redmine)! :)


Replies (3)

RE: Help installing on Fedora 20 - Added by Robert Schneider almost 10 years ago

I'm also trying to install Redmine on Fedora 20 and got problems.

Yes, apache will write into the redmine folder. Into the log file for example. So the apache user needs the rights to do it.

Have you installed passenger as well? But for the first run (Step 9) you don't need apache and passenger. You can you webrick - that is what this steps says. You start it with a 'normal' user. This user must have then write access to the redmine directory. Only if you'd like to run it with apache (with its default apache user) you have to make redmine accessible for the apache user.

But to use apache you have to also use passenger. This makes it possible to the apache server to call the ruby scripts.

I hope I don't tell nonsense. It is just my understanding. I'm also a newbie about redmine/ruby/apache. At least I was successfull with installing redmine on Red Hat EL with the CentOS install instructions.

Do you have installed the other required libs? Like libyaml and so on? This is also neccessary.

RE: Help installing on Fedora 20 - Added by steevithak . almost 10 years ago

Thanks for the suggestions. The "official" instructions leave a lot of work to be figured out by newbies like myself. :) I have installed everything listed as a prerequisite in the instructions but I do not recall a mention of libyami. I'll double check that one. I saw the mention of "webrick" but I don't know what that is and there was no link to further explanations of what it is or how to install it. Since it appeared to be an optional step for testing, I'm skipping it for now and trying to continue with the primary install that would allow me to actually start redmine from the web server.

I'm close to giving up on the official docs though as they seem hopelessly confused. I'm googling to see if I can find a clear, step-by-step guide written by someone who has successfully figured out how to install redmine. I had initially hoped to install on a CentOS 6 server but eventually gave up because it seemed redmine needs bleeding-edge versions of all sorts of things that are not available on a long-term support production OS like CentOS. So I'm hoping Fedora 20 will be closer to having everything I need.

RE: Help installing on Fedora 20 - Added by Robert Schneider almost 10 years ago

Webrick: https://en.wikipedia.org/wiki/WEBrick

With webrick you could run Redmine as well. Then you don't need apache and passenger. It would be okay to use it if your installation is in a local network. Not sure why - I think it is not so mature as apache and has less security features or whatever. For a public installation webrick is not recommended.

But if you have installed ruby then you can start webrick straight away. I mean this is a really simple check if Redmine is able to run so far (i.e. db is accessible, it is properly initialized, it can use sendmail,...). If this works then you can do the next things with apache. You just have to call ruby script/rails server webrick -e production and go to the browser and call http://localhost:3000. You should immediately see the Redmine start page. A really quick check. Try it!

libyaml is needed since the Redmine config files uses the yaml format. I think that you get an error somewhere if this is not installed. Unfortunately I had to build and install it by myself. But that is no big thing.

Have you seen these instructions also?: http://www.redmine.org/projects/redmine/wiki/Redmine_on_CentOS_installation_HOWTO

I could provide you some instruction, however, in german. I had documented my installation for RHEL 5. Just ImageMagick is a problem, though it is not required.

    (1-3/3)