Monday, June 7, 2010

Galaxy Installation

#install screen
wget http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz
tar -zxvf screen-4.0.3.tar.gz
rm -fr screen-4.0.3.tar.gz

#install Python2.6.5
1. wget http://python.org/ftp/python/2.6.5/Python-2.6.5.tgz
2. tar -zxvf Python-2.6.5.tgz
3. rm -fr Python-2.6.5.tgz
4. cd Python-2.6.5/
5. ./configure --prefix=/home/u0592675/py2.6.5
6. make && make install

#Intsall Mercurial
1. wget http://mercurial.selenic.com/release/mercurial-1.5.4.tar.gz
2. tar -zxvf mercurial-1.5.4.tar.gz
3. rm mercurial-1.5.4/ -fr
4. cd mercurial-1.5.4/
5. python setup.py install --home=/home/u0592675/tools/mercurial


#update ~/.bash_profile
PATH = $home/py2.6.5/bin:$home/mercurial/bin:$PATH
export PATH
export DISPLAY=155.100.234.79:0.0

#Download Galaxy
hg clone http://www.bx.psu.edu/hg/galaxy galaxy

#Build and install Galaxy
./setup.sh
./run.sh

#test
host hci-bio1.hci.utah.edu #155.101.160.203
lynx http://155.101.160.203:8080


Problems:

1. Mercurial failed to start due to the PYTHONPATH. Have to install Mercurial in Windows, then get the galaxy distribution.
2. Can not access Galaxy using web browser outside the host machine which blocked ports like 8080.



No comments:

Post a Comment