The backend machines need a number of other CentOS and PERL packages installed, you may also wish to install all of these on the front end machine (ignoring imagemagick here)

  1. iptable changes
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8000 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8083 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8080 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 3000 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 13432 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8899 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p udp --dport 8899 -s 128.16.0.0/255.255.240.0 <http://128.16.0.0/255.255.240.0> -j ACCEPT

Centos Packages

yum install zlib-devel
yum install openssl-devel
yum install ruby
yum install gd-devel-2.0.33-9
yum install gd-devel.i386
yum install libgfortran.x86_64
yum install libgfortran.i386
yum install gcc-gfortran.x86_64
yum install gnuplot
yum install gcc-c++
yum install libxml2-devel
yum install expect
yum install compat-gcc-34-g77
yum install compat-gcc-34-g77.x86_64

yum installed ImageMagick, ImageMagick-devel, ImageMagick-c++, ImageMagick-c++-devel, perl-ImageMagick
#may need to install ruby-gems here
gem install rmagick -v '1.15.13' --no-rdoc --no-ri

Installed the following perl packages in /root/changes/
(may have to use the ImageMagick packages here rather than yum installed above)

rpm -Uvh perl-GD-2.30-2.2.el5.rf.x86_64.rpm
Install Math-Round.x.tar.gz
installed perl enum package
installed perl IO:Tty : http://search.cpan.org/~toddr/IO-Tty-1.10/Tty.pm
installed perl Expect : http://search.cpan.org/~rgiersig/Expect-1.21/
installed perl GD (in /usr/lib64/perl5, may have to install from source)
installed perl GD::SVG (in /usr/lib64/perl5, may have to install from source)
force installed Scalar::Util from
http://search.cpan.org/~pevans/Scalar-List-Utils-1.25/lib/Scalar/Util.pm
Installed perl SVG from
http://search.cpan.org/~twh/GD-SVG-0.33/SVG.pm

install msttcorefonts:
As per:
install ms core fonts

rpm -Uvh cabextract-1.2-1.i386.rpm
rpmbuild -bb msttcorefonts-2.0-1.spec
rpm -ivh msttcorefonts-2.0-1.noarch.rpm
mkdir /usr/share/fonts/default/TrueType
cp /usr/share/fonts/masttcorefonts/* /usr/share/fonts/default/TrueType/
/sbin/service xfs reload

mod_rails/passenger for Apache installation

sudo gem install passenger
sudo yum install krb5-devel
sudo yum install e2fsprogs-devel
sudo yum reinstall curl
sudo passenger-install-apache2-module <!-- follow any instructions/advice you may need it gives you
The /etc/httpd/conf/httpd.conf virtual server config for bioinf4 is (obviously the paths and server name and Env need to be changed for bioinfdev)
<VirtualHost *:80>
      ServerName bioinfdev.cs.ucl.ac.uk
      #RailsEnv development
      # !!! Be sure to point DocumentRoot to 'public'!
      DocumentRoot /home/dbuchan/NewPred3/public
      <Directory /home/dbuchan/NewPred3/public>
         # This relaxes Apache security settings.
         AllowOverride all
         # MultiViews must be turned off.
         Options -MultiViews
      </Directory>
</VirtualHost>

Add new attachment

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