OLD OLD OLD : Ubuntu 12.04 /12.10 Atlassin Utilities Stash 1.3.0 + Jira 5.1.8 + Confluence 4.3.2 + MySQL 5.5 ( MariaDB ) + Oracle Java 1.7 ( JDK 7 )

Assumptions:

Completed Server Preparation: KVM / VMware / Standalone Ubuntu 12.04 / 12.10 Server Preparation

This setup is ideal for a 10 or fewer users.

Services

Jira HTTP Port: 7080
Confluence HTTP Port: 7090
Stash HTTP Port: 7990

Install the latest Oracle Java 1.7 / JDK7

add the repository

Install Java

Do you accept the Oracle Binary Code license terms? Yes

Set Oracle Java 1.7 as the default

Add the JAVA_HOME to the enviroment path

Reboot

Verify

java version “1.7.0_09”
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

/usr/lib/jvm/java-7-oracle

Install the latest mariadb

add the repository

Import the GP key

Apt-Pinning the packages **all nodes**

Install MariaDB

New password for the MariaDB “root” user: yousecurepassword

Secure MariaDB

Enter current password for root (enter for none): yoursecurepassword
Change the root password? N
Remove anonymous users? Y
Disallow root login remotely? Y
Remove test database and access to it? Y
Reload privilege tables now? Y

Restart MariaDB (mysql server)

Confirm MariaDB is running

tcp 0 0 localhost:mysql *:* LISTEN 11878/mysqld

Configure the system

create the atlassin user

create the jira database and user

download

Install jira

download the installation binary

run the setup

This will install JIRA 5.1.8 on your computer.OK [o, Enter]

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
2

Where should JIRA 5.1.8 be installed? [/opt/atlassian/jira]
Default location for JIRA data [/var/atlassian/application-data/jira]

Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to Startup and Shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) – Recommended [1, Enter], Set custom value for HTTP and Control ports 2
HTTP Port Number 7080
Control Port Number 7005
JIRA can be run in the background.
You may choose to run JIRA as a service, which means it will start
automatically whenever the computer restarts.
Install JIRA as Service? y
Extracting files …
Please wait a few moments while JIRA starts up.
Launching JIRA …
Installation of JIRA 5.1.8 is complete
Your installation of JIRA 5.1.8 is now ready and can be accessed via your
browser.
JIRA 5.1.8 can be accessed at http://localhost:7080
Finishing installation …

Complete the installation
http://localhost:7080

create the confluence database and user

download

Install Confluence

download the installation binary

run the setup

Starting Installer …
This will install Confluence 4.3.2 on your computer.OK [o, Enter]

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3]
2

Where should Confluence 4.3.2 be installed?[/opt/atlassian/confluence]

Default location for Confluence data[/var/atlassian/application-data/confluence]

Configure which ports Confluence will use.
Confluence requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access
Confluence through your browser. The Control port is used to Startup and
Shutdown Confluence.
Use default ports (HTTP: 8090, Control: 8000) – Recommended [1, Enter], Set custom value for HTTP and Control ports [2] 2
HTTP Port Number [8090] 7090
Control Port Number [8000] 7000
Confluence can be run in the background.
You may choose to run Confluence as a service, which means it will start
automatically whenever the computer restarts.
Install Confluence as Service? Yes [y, Enter]
Extracting files …

Please wait a few moments while Confluence starts up.
Launching Confluence …
Installation of Confluence 4.3.2 is complete
Your installation of Confluence 4.3.2 is now ready and can be accessed via
your browser.
Confluence 4.3.2 can be accessed at http://localhost:7090
Finishing installation …

Complete the installation
http://localhost:7090

jdbc:mysql://localhost/confluence?useUnicode=true&characterEncoding=utf8&sessionVariables=storage_engine%3DInnoDB

create the stash database and user

download

Install Stash

download the installation archive

Copy the binary

Create the data directory

Configure Stash

Install stash mysql support (JDBC driver)

Create a Stash user

Create the startup script /etc/init.d/stash
/etc/init.d/stash

Create the stash user

Correct the ownership and permissions

Register the service

Start Stash

To run Stash in the foreground, start the server with start-stash.sh -fg
Starting Atlassian Stash at http://localhost:7990/ as current user

Detecting JVM PermGen support…
PermGen switch is supported. Setting to 256m

If you encounter issues starting or stopping Atlassian Stash, please see the Troubleshooting guide at http://confluence.atlassian.com/display/STASH/Installation+Troubleshooting+Guide

Using STASH_HOME: /var/atlassian/application-data/stash/
Using CATALINA_BASE: /opt/atlassian/stash
Using CATALINA_HOME: /opt/atlassian/stash
Using CATALINA_TMPDIR: /opt/atlassian/stash/temp
Using JRE_HOME: /usr/lib/jvm/java-7-oracle
Using CLASSPATH: /opt/atlassian/stash/bin/bootstrap.jar
Using CATALINA_PID: /opt/atlassian/stash/work/catalina.pid

Complete the installation
http://localhost:7990

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *