Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://www.tecmint.com/free-online-linux-learning-guide-for-beginners/
- https://linoxide.com/linux-how-to/setup-jira-ubuntu-15-04/
- passwd - jira - user - jira and pass- jira123
- mysql- database login passwd - root user - hema1417
- ******STEP 1**********************JIRA installation procedure**************
- 1) jira 6.4.10 installation link
- wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.10-x64.bin
- then GIVE permission to this jira bin setup file through command
- 2) chmod +x atlassian-jira-6.4.10-x64.bin
- 3) ./atlassian-jira-6.4.10-x64.bin for run the bin script
- 4) Choose the appropriate installation or upgrade and select ok (o)
- where jira install - /opt/jira
- default location for jira data - /var/atlassian/application-data/jira
- 5) set configuration port - there are 2 default ports 8080(http port) and 8005(control port)
- select 2 num for set custom value http 8181 and control port 8005
- 6)when jira run in background
- press yes
- 7)jira is starting upgrade
- for starting jira /opt/jira/bin/start-jira.sh (path for start service)
- now go to browser and type link http://localhost:8181/
- and connect to jira software and select one option (i will set up it myself)
- and press next
- 8) then set mysql database and select option (choose my own database)
- *******STEP 2************MYSQL installation*************************
- (for delete mysql
- sudo apt-get purge mysql*
- sudo apt-get autoremove
- sudo apt-get autoclean)
- 9)apt-get install mysql-server-5.6 (5.7 is not worling bcoz atlassian is not allowed 5.7 mysql version)
- 10) first check status mysql is installed or not
- command - ps aux OR -ef | grep mysql
- 11)systemctl start mysql (start mysql)
- systemctl status mysql (check status its active or not)
- systemctl stop mysql
- 12)enabled mysql
- command - systemctl is-enabled mysql
- 13)check mysql version - mysql --version
- 14) connecting mysql
- mysql -u root -p
- enter passwd:
- 15)database create in mysql
- mysql> create database jiradb character set utf8;
- query ok
- mysql> create user 'jira'@'localhost' identified by 'jira123';
- query ok
- mysql> GRANT ALL Privileges ON jiradb.* TO 'jira'@'localhost' IDENTIFIED by 'jira123' with grant option;
- query ok
- mysql> flush privileges;
- query ok
- 16) for connecting jira to mysql
- http://dev.mysql.com/downloads/file.php?id=457912 download this package connector
- 17)extract zip file command - unzip .zipfile name
- go this way - cd /home/sid/downloads/jira/mysql-connector-java then ls
- then there is one .jar file .. and now copy thhis file .... cp .jar file /opt/jira/lib/
- 18)cd /home/opt/jira/lib (move .zvr file into this path)
- 19) restart jira service - /etc/init.d/jira stop
- /etc/init.d/jira start
- 20)
- #databaseUrl=jdbc:mysql://localhost/jira?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_engine=InnoDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement