Project

General

Profile

F29Installation » History » Revision 7

Revision 6 (Gerd Pokorra, 2018-12-20 15:40) → Revision 7/41 (Gerd Pokorra, 2018-12-20 15:42)

h1. HowTo Install Redmine 4.0.0 on Fedora 29 

 {{toc}} 

 This guide is not complete. It will be completed in the next two weeks. 

 h2.    System Requirements 

 It is assumed that the Server Edition is installed on the system in this guide. 

 h2. Web Server 

 h3. Nginx/Passenger 

 The Fedora @nginx@ package do not include Passenger, so you have to build @nginx@ with the passenger module. The guide assume that the sources are extracted under the directory @/opt@ . The @nginx@ software will be installed at @/opt/ngnix@. At the time of writting that guide this was the current stable releases of @passenger@ and @nginx@: 

 * passenger-6.0.0 
 * nginx-1.14.2 

 h4. Downloading the sources: 

 <pre>Passenger 

 > cd /opt 
 > wget https://s3.amazonaws.com/phusion-passenger/releases/passenger-6.0.0.tar.gz 
 > tar xf passenger-6.0.0.tar.gz 

 Nginx 

 > wget http://nginx.org/download/nginx-1.14.2.tar.gz 
 > mkdir /opt/src 
 > cd /opt/src 
 > tar xf nginx-1.14.2.tar.gz 
 </pre> 

 h4. Installing additional packages 

 For the build of @passenger@ and @nginx@ the following additional packages are needed to be installed: 

 <pre>> dnf install install gcc-c++ libcurl-devel openssl-devel zlib-devel 
 </pre> 

 h4. Execute the ruby script for building and installing 

 The simplest way to build and install the @nginx@ web server with the @passenger@ module is to run the script @passenger-install-nginx-module@. 

 <pre>> /opt/passenger-6.0.0/bin 
 > ./passenger-install-nginx-module --prefix=/opt/nginx --nginx-source-dir=/opt/src/nginx-1.14.2 --languages ruby 
 </pre> 

 With the same @passenger@ passenger locality the installer modify the @nginx@ nginx configuration file @/opt/nginx/conf/nginx.conf@ /opt/nginx/conf/nginx.conf and output the same text: 

 


 <pre>    http { 
       ... 
       passenger_root /opt/passenger-6.0.0; 
       passenger_ruby /usr/bin/ruby; 
       ... 
   } 
 </pre> 

 h3. Apache