Beruflich Dokumente
Kultur Dokumente
x
Prerequisites
Atlassian docs:
Prepare the server
Install HTTPD and mod_ssl (Optional)
Install Postgres DB
Configure the DB
Install Jira
Configure AD authentication
Prerequisites
1. OS must be CentOS 7.x or RHEL 7.x
2. root access to the Linux server
3. Access to "\\fis1\install\Dev Tools\Atlassian"
4. The server spec is:
property Value
vCPU 8
RAM 16GB
Atlassian docs:
Install: https://confluence.atlassian.com/adminjiraserver071/installing-jira-applications-on-linux-802592173.html
DB config: https://confluence.atlassian.com/adminjiraserver071/connecting-jira-applications-to-postgresql-802592176.html
$ sudo su -
# yum update -y
if you have any kernel update reboot the server after the updated finished
4. Install openssl
Or download the the certificate and the key from "\\fis1\install\Dev Tools\Atlassian\Prerequisites\SSL cert"
.....................................................................
.........................................................++
.....................................................................
...................++
e is 65537 (0x10001)
# openssl req -new -x509 -days 3650 -key star.sapiens.int.key -out
ca.star.sapiens.int.crt
You are about to be asked to enter information that will be
incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name
or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:IL
State or Province Name (full name) []:Holon
Locality Name (eg, city) [Default City]:Holon
Organization Name (eg, company) [Default Company Ltd]:Sapiens
Organizational Unit Name (eg, section) []:ALIS
Common Name (eg, your name or your server's hostname)
[]:*.sapiens.int
Email Address []:
# openssl req -new -key star.sapiens.int.key -out star.sapiens.int.csr
You are about to be asked to enter information that will be
incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name
or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:IL
State or Province Name (full name) []:Holon
Locality Name (eg, city) [Default City]:Holon
Organization Name (eg, company) [Default Company Ltd]:Sapiens
Organizational Unit Name (eg, section) []:ALIS
Common Name (eg, your name or your server's hostname)
[]:*.sapiens.int
Email Address []:
# cp -a star.sapiens.int.crt /etc/pki/tls/certs/
# cp -a ca.star.sapiens.int.crt /etc/pki/tls/certs/
# cp -a star.sapiens.int.key /etc/pki/tls/private/
# cd /etc/httpd/conf.d/
# vim ssl.conf
change the following lines:
from: SSLCertificateFile /etc/pki/tls/certs/localhost.crt
to: SSLCertificateFile /etc/pki/tls/certs/star.sapiens.int.crt
from: #SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
to: SSLCACertificateFile /etc/pki/tls/certs/ca.star.sapiens.int.crt
from: SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
to: SSLCertificateKeyFile /etc/pki/tls/private/star.sapiens.int.key
Install Postgres DB
1. Install the packages
1.
# cp -a /var/lib/pgsql /data
# mv /var/lib/pgsql /var/lib/pgsql.install
# ln -s /data/pgsql/ /var/lib/pgsql
3. Initiate the DB
# /usr/pgsql-9.3/bin/postgresql93-setup initdb
# vim /var/lib/pgsql/9.3/data/postgresql.conf
change the following lines:
from: #listen_addresses = 'localhost'
to: listen_addresses = '0.0.0.0'
save the changes
# vim /var/lib/pgsql/9.3/data/pg_hba.conf
change the following lines:
from: host all all 127.0.0.1/32
ident
to: host all all 0.0.0.0/0 md5
from: host all all ::1/128
ident
to: host all all ::1/128
md5
save the changes
Configure the DB
1. log as postgres user
# sudo su postgres -
2.
2. Log to the postgres
$ psql
3. Create the DB
Install Jira
1. Prepare the data directory
# mkdir -p /data/atlassian/jira
# ln -s /data/atlassian/ /var/atlassian
# wget
http://fis1.sapiens.int/install/Dev%20Tools/Atlassian/Jira/atlassian-
jira-software-7.4.1-x64.bin
Configure AD authentication
1. Log to Jira with the local admin(User and password are in the password repo)