Introduction

In this article, we will learn how to install Stash server on Redhat Linux server.

Process

Download stash software from atlassian site and run the following command.

Starting Installer …

This will install Stash 3.8.0 on your computer.

OK [o, Enter], Cancel [c]

Please choose one of the following:

Install a new Stash instance [1, Enter], Upgrade an existing Stash instance [2]

Where should Stash be installed?

[/opt/atlassian/stash/3.8.0]

Default location for Stash home directory

The location for Stash data.

This will be the default location for repositories, plugins, and other data.

Ensure that this location is not used by another Stash installation.

[/var/atlassian/application-data/stash]

Configure which ports Stash will use.

Stash requires two TCP ports that are not being used by any other applications.

The HTTP port is where users will access Stash through their browsers. Thecontrol port is used to start and stop Stash.

HTTP Port Number

[7990]

Control Port Number

[8006]

For a production server we recommend that you run Stash as a Windows/Linux service because Stash will restart automatically when the computer restarts.

Install Stash as Service?

Yes [y, Enter], No [n]

y

It looks like a Stash service is already installed in the target environment.

The installation will replace any existing services. Do you want to continue?

Yes [y, Enter], No [n]

y

Please review your Stash installation settings

Installation Directory: /opt/atlassian/stash/3.8.0

Home Directory: /var/atlassian/application-data/stash

HTTP Port: 7990

Control Port: 8006

Install as service: Yes

Install [i, Enter], Exit [e]

i

Extracting files …

Installation of Stash is complete

Would you like to launch Stash?

Yes [y, Enter], No [n]

y

Please wait a few moments while Stash starts up.

Launching Stash …

Installation of Stash 3.8.0 is complete

Your installation of Stash 3.8.0 is now ready and can be accessed via your browser.

Stash 3.8.0 can be accessed at http://localhost:7990

Launch Stash 3.8.0 in browser?

Yes [y, Enter], No [n]

y

Finishing installation …

Conclusion

You should now have a clear understanding of installing Stash on Redhat linux server.

References