mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
revision
parent
cd33426784
commit
1a2e75acef
1 changed files with 8 additions and 4 deletions
|
|
@ -1263,13 +1263,13 @@ $ rails server -e production
|
|||
###Success?
|
||||
If the server failed to start, review logs and/or the instructions above. If server started successfully, ctrl+c to shutdown Tracks and continue the installation.
|
||||
|
||||
##Apache
|
||||
##Apache2
|
||||
Update the tracks user directory in preparation for passenger.
|
||||
```
|
||||
$ sudo chmod o+x /home/tracks
|
||||
```
|
||||
|
||||
Configure Passenger & Apache2
|
||||
###Phusion Passenger & Apache2
|
||||
```
|
||||
$ passenger-install-apache2-module
|
||||
Welcome to the Phusion Passenger Apache 2 module installer, v4.0.44.
|
||||
|
|
@ -1353,6 +1353,7 @@ LoadModule passenger_module /home/tracks/.rvm/gems/ruby-1.9.3-p547/gems/passenge
|
|||
</IfModule>
|
||||
```
|
||||
|
||||
###Apache2 configuration
|
||||
Update apache conf file.
|
||||
```
|
||||
$ sudo cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
|
||||
|
|
@ -1376,6 +1377,7 @@ At the bottom of the file, add the following:
|
|||
</VirtualHost>
|
||||
```
|
||||
|
||||
###SELinux
|
||||
Configure SELinux by configuring 'SELINUX' to 'permissive'
|
||||
```
|
||||
$ sudo vi /etc/selinux/conf
|
||||
|
|
@ -1388,6 +1390,7 @@ $ sudo setenforce 0
|
|||
|
||||
Once Tracks installation is complete, you can create a SELinux module. See the section titled "SELINUX" below for instructions.
|
||||
|
||||
###Firewall & Apache
|
||||
Open firewall for Apache by 'customizing' and permitting http or web traffic (80 TCP). You may, also, remove the previous rule for port 3000 TCP.
|
||||
```
|
||||
$ sudo system-config-firewall-tui
|
||||
|
|
@ -1403,6 +1406,7 @@ Validate Apache operations by starting the httpd service then using a browser, v
|
|||
$ sudo service httpd start
|
||||
```
|
||||
|
||||
###Apache at startup
|
||||
Configure Apache to start at boot.
|
||||
```
|
||||
$ sudo chkconfig httpd on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue