mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
Updated Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64 (markdown)
parent
8565335efc
commit
bcc6972e94
1 changed files with 6 additions and 6 deletions
|
|
@ -594,7 +594,7 @@ Enable automatic startup and shutdown; init script.
|
||||||
$ sudo chkconfig mysqld on
|
$ sudo chkconfig mysqld on
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a new database, user, and grant privileges. Replace dbuser and password with your own values.
|
Create a new database, user, and grant privileges. Replace dbuser and password with your values.
|
||||||
```
|
```
|
||||||
$ mysql -u root -p
|
$ mysql -u root -p
|
||||||
|
|
||||||
|
|
@ -604,8 +604,8 @@ $ mysql -u root -p
|
||||||
> exit;
|
> exit;
|
||||||
```
|
```
|
||||||
|
|
||||||
##5. Ruby Version Manager
|
##5. Ruby Version Manager (rvm)
|
||||||
Validate RVM prerequisite binaries are installed by executing the following as root or with sudo.
|
Validate RVM prerequisite binaries are installed by executing the following as root or with sudo--instructions in section titled _Prerequisite packages_ should have installed the dependencies.
|
||||||
```
|
```
|
||||||
$ sudo for name in {bash,awk,sed,grep,ls,cp,tar,curl,gunzip,bunzip2,git,svn} ; do which $name ; done
|
$ sudo for name in {bash,awk,sed,grep,ls,cp,tar,curl,gunzip,bunzip2,git,svn} ; do which $name ; done
|
||||||
```
|
```
|
||||||
|
|
@ -624,7 +624,7 @@ $ echo gem: --no-ri --no-rdoc >> ~/.gemrc
|
||||||
Log off then on or `$ source ~/.profile` before continuing.
|
Log off then on or `$ source ~/.profile` before continuing.
|
||||||
|
|
||||||
##6. Ruby 1.9
|
##6. Ruby 1.9
|
||||||
Tracks installation.textile states Tracks version 2.2.2 works best with Ruby 1.9, let's make sure we have RVM's requirements have been met then install ruby 1.9.
|
Tracks installation.textile states Tracks version 2.2.2 works best with Ruby 1.9. Verify RVM's requirements have been met then install ruby 1.9.
|
||||||
```
|
```
|
||||||
$ rvm requirements
|
$ rvm requirements
|
||||||
$ rvm install 1.9
|
$ rvm install 1.9
|
||||||
|
|
@ -692,7 +692,7 @@ Bundler version 1.6.2
|
||||||
```
|
```
|
||||||
|
|
||||||
##8. Phusion Passenger
|
##8. Phusion Passenger
|
||||||
We are using Apache, thus Phusion Passenger provides painless integration between Apache and Tracks.
|
We are using Apache2 as the web server. Phusion Passenger provides painless integration between Apache2 and Tracks. Also, note rake is installed and a requirement to install Tracks.
|
||||||
```
|
```
|
||||||
$ gem install passenger
|
$ gem install passenger
|
||||||
Fetching: daemon_controller-1.2.0.gem (100%)
|
Fetching: daemon_controller-1.2.0.gem (100%)
|
||||||
|
|
@ -1391,7 +1391,7 @@ $ sudo setenforce 0
|
||||||
|
|
||||||
Once Tracks installation is complete, you can create a SELinux module. See the section titled "SELINUX" below for instructions.
|
Once Tracks installation is complete, you can create a SELinux module. See the section titled "SELINUX" below for instructions.
|
||||||
|
|
||||||
###Firewall & Apache
|
###Firewall & Apache2
|
||||||
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.
|
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
|
$ sudo system-config-firewall-tui
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue