Project

General

Profile

F29Installation » History » Version 6

Gerd Pokorra, 2018-12-20 15:40

1 1 Gerd Pokorra
h1. HowTo Install Redmine 4.0.0 on Fedora 29
2
3
{{toc}}
4
5
This guide is not complete. It will be completed in the next two weeks.
6
7
h2.  System Requirements
8
9
It is assumed that the Server Edition is installed on the system in this guide.
10
11
h2. Web Server
12
13 5 Gerd Pokorra
h3. Nginx/Passenger
14 2 Gerd Pokorra
15
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@:
16
17
* passenger-6.0.0
18
* nginx-1.14.2
19
20 4 Gerd Pokorra
h4. Downloading the sources:
21 2 Gerd Pokorra
22
<pre>Passenger
23
24
> cd /opt
25
> wget https://s3.amazonaws.com/phusion-passenger/releases/passenger-6.0.0.tar.gz
26
> tar xf passenger-6.0.0.tar.gz
27
28
Nginx
29
30
> wget http://nginx.org/download/nginx-1.14.2.tar.gz
31
> mkdir /opt/src
32
> cd /opt/src
33
> tar xf nginx-1.14.2.tar.gz
34
</pre>
35 1 Gerd Pokorra
36 3 Gerd Pokorra
h4. Installing additional packages
37
38
For the build of @passenger@ and @nginx@ the following additional packages are needed to be installed:
39
40
<pre>> dnf install install gcc-c++ libcurl-devel openssl-devel zlib-devel
41
</pre>
42 1 Gerd Pokorra
43 5 Gerd Pokorra
h4. Execute the ruby script for building and installing
44 1 Gerd Pokorra
45 5 Gerd Pokorra
The simplest way to build and install the @nginx@ web server with the @passenger@ module is to run the script @passenger-install-nginx-module@.
46
47
<pre>> /opt/passenger-6.0.0/bin
48
> ./passenger-install-nginx-module --prefix=/opt/nginx --nginx-source-dir=/opt/src/nginx-1.14.2 --languages ruby
49
</pre>
50 3 Gerd Pokorra
51 6 Gerd Pokorra
With the same passenger locality the installer modify the nginx configuration file /opt/nginx/conf/nginx.conf and output the same text:
52
53
54
<pre>  http {
55
      ...
56
      passenger_root /opt/passenger-6.0.0;
57
      passenger_ruby /usr/bin/ruby;
58
      ...
59
  }
60
</pre>
61
62 1 Gerd Pokorra
h3. Apache