Project

General

Profile

Support #670

Updated by Daniel Curtis about 9 years ago

This is a guide on installing the Galaxy Project along with Nginx and PostgreSQL on FreeBSD 9. 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pkg update && pkg upgrade 
 </pre> 

 * Add the Galaxy user 
 <pre> 
 pw add user -n galaxy -m -s /bin/sh -c "Galaxy" 
 </pre>  

 * Install a few dependencies: 
 <pre> 
 pkg install python27 git gcc gmake autoconf automake libtool bison readline sqlite3 cmake postgresql94-client postgresql-libpqxx py27-pip py27-numpy py27-cheetah 
 </pre> 

 h2. Install Galaxy Project 

 * Switch to the galaxy user: 
 <pre> 
 su - galaxy 
 </pre> 

 * Download the latest source code: 
 <pre> 
 git clone -b master https://github.com/galaxyproject/galaxy/ 
 </pre> 

 * Then exit Switch to the galaxy user back into root: folder and start galaxy to download its dependencies: 
 exit 
 <pre> 
 cd /home/galaxy/galaxy 
 </pre> 

 * Install the python dependencies: 
 <pre> 
 pip install -r /path/to/requirements.txt 
 </pre> 

 * Next test that galaxy is setup and running correctly: 
 <pre> 
 sh run.sh 
 </pre> 

 h2. Resources 

 * https://wiki.galaxyproject.org/Admin/GetGalaxy 
 * https://wiki.galaxyproject.org/Admin/Config/Performance/ProductionServer

Back