Tutorial: Get Galaxy! Your own Local Server
gravatar for Jennifer Hillman Jackson
2.9 years ago by
United States
Jennifer Hillman Jackson23k wrote:

Get Galaxy! Your own Local Server

Galaxy Download and Installation

The complete list of topics can be found on the Galaxy Project wiki here: http://wiki.galaxyproject.org/Admin/GetGalaxy

More local administration resource are in the Admin hub: https://wiki.galaxyproject.org/Admin



  1. Galaxy Download and Installation
    1. Reasons to Install Your Own Galaxy
    2. Requirements
    3. Get the Code
    4. Start It Up
  2. What to do next
    1. Install More Tools
    2. Join the Mailing List
    3. Keep your instance backed up
    4. Configure for production
    5. Keep your code up to date
    6. Troubleshooting
    7. Other Help

In addition to using the public Galaxy server (a.k.a. Main), you can install your own instance of Galaxy (what this page is about), or create a cloud-based instance of Galaxy. Another option is to use one of the ever-increasing number of public Galaxies hosted by other organizations.

See Big Picture: Choices for help on deciding which of these options may be best for your situation.


Reasons to Install Your Own Galaxy

You only need to download Galaxy if you plan to:




Get the Code

Download the latest source code:

   1 % hg clone https://bitbucket.org/galaxy/galaxy-dist/

Switch to stable branch: (which is suitable for production, more details here)

   1 % cd galaxy-dist
   2 % hg update stable

If you don't have Mercurial (and thus can't run the hg command), you can download Galaxy in an archive instead: zippedgzipped, or bzipped. However, this makes it more difficult to stay up to date in the future since there's no simple way to update your copy.


Start It Up

Galaxy requires a few things to run - configuration files, and dependent Python modules called eggs. However, starting the server for the first time will create/acquire these things as necessary. Simply run the following command:

   1 % sh run.sh

This will start up the server on localhost and port 8080, so Galaxy can be accessed from your web browser at http://localhost:8080 . Galaxy's server will start printing its output to your terminal. To stop the Galaxy server, just hit Ctrl-c in the terminal from which Galaxy is running.

To access Galaxy over the network, simply modify the config/galaxy.ini file and change the host setting to

   1 host =

Upon restarting, Galaxy will bind to any available network interfaces instead of just the loopback.

That's it - you have your very own Galaxy running. Congratulations!


ADD COMMENTlink modified 2.8 years ago by goohongzi0 • written 2.9 years ago by Jennifer Hillman Jackson23k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 87 users visited in the last hour