Stash Install on Ubuntu

I'm trying to install Stash on an Ubuntu and since our company uses remote workers we are going to put the server on the internet. For some testing I set up an Ubuntu VM and installed all requirements, GIT, JAVA etc. I also installed apache and tomcat for web servers. After all of that was set up I hit the local IP address of the server to see if I was getting a response and to test that it was online. My thinking was that I could then make the /var/www directory the stash home directory that is required during the install. When I did this, Stash installed correct and I was able to access it from localhost:7990 on the Ubuntu VM I could not get it it by using the IP address of the VM. Now I just got Stash to the setup phase and didn't go through setup when I couldn't get to Stash from the IP. Do I need to go through set up or did I mess up in my process of trying to install Stash into the /var/www directory? I would like to make stash available at so that our remote resources can use the server as well. Thanks.

2 answers

1 vote
Colin Goudie Community Champion Jul 10, 2013

I think you'll confuse people down the track putting stash into /var/www mainly because generally you see static or php websites etc.. in there.

Stash can happily sit whereever, and you should just setup Apache webserver (or nginix) as a ProxyPass to your stash instance. So Apache will server on port 80 and forward requests to Stash running on it's default port

Details for that setup should be here -

Colin Goudie Community Champion Jul 10, 2013

Also you don't have to install tomcat since it comes bundled with stash

Hi, if you can access it via localhost but not via the IP address, it sounds like a network / firewall issues? Are ports blocked? Is the public IP routable?

To get it to you need to add an A record to your DNS and wait for it to resolve.

You don't need Apache, but can have it. It can serve as a reverse proxy if required. If you download the zipped version of Stash, it comes with Tomcat.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

256 views 5 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot