From 1a2e75acef61db7cbc9fcc779715a3121b0e79f5 Mon Sep 17 00:00:00 2001 From: rharmonson Date: Thu, 26 Jun 2014 10:47:11 -0700 Subject: [PATCH] revision --- ...ling-Tracks-2.2.2-on-CentOS-6.5-Minimal-x86_64.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Installing-Tracks-2.2.2-on-CentOS-6.5-Minimal-x86_64.md b/Installing-Tracks-2.2.2-on-CentOS-6.5-Minimal-x86_64.md index becc347..4eac036 100644 --- a/Installing-Tracks-2.2.2-on-CentOS-6.5-Minimal-x86_64.md +++ b/Installing-Tracks-2.2.2-on-CentOS-6.5-Minimal-x86_64.md @@ -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 ``` +###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: ``` +###SELinux Configure SELinux by configuring 'SELINUX' to 'permissive' ``` $ sudo vi /etc/selinux/conf @@ -1387,7 +1389,8 @@ $ 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 @@ -1402,7 +1405,8 @@ 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