The following are the basic machine configuration options for the front end nodes for the webserver.#

Added directory structure to hold the data and binaries /webdata, note that in the live server /webdata is a mount point to an nfs share


Add a user for the mysql instance, note that the mysql instance for live is on bioinf5

added user mysql

added this line to /etc/my.conf


open ports for rails and the backend

-A RH-Firewall-1-INPUT -m state --state NEW -p udp --dport 3000 -s -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 3000 -s -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p udp --dport 8083 -s -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8083 -s -j ACCEPT

raised ulimit -n to 8192

Install the following packages:

1) ImageMagick (don't forget to /sbin/ldconfig, must be installed to /usr/)
2) Install libyaml

# wget
3) Install Ruby 1.9.x 4) Update gems
# sudo gem install rubygems-update
5) check out newpred3
# svn checkout svn+ssh:// NewPred3
# cd NewPred3
6) install ruby bundle
# sudo gem install bundle
7) install railties
# sudo gem install railties
8) Install all the sever gems
# cd NewPred3
# sudo bundle install
You may have to install rmagick from source, if so don't forget to run bundle install again
If you do install rmagick from source you'll also have to add the gem path to the NewPred3 Gemfile something like
gem 'rmagick', '2.13.2', :path => '/usr/local/lib/ruby/gems/1.9.1/gems/rmagick-2.13.2/'

Now you can reboot the machine

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 21-Mar-2013 16:42 by UnknownAuthor