Advertisement
Guest User

linux_temp

a guest
May 21st, 2017
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. http://www.tecmint.com/free-online-linux-learning-guide-for-beginners/
  2. https://linoxide.com/linux-how-to/setup-jira-ubuntu-15-04/
  3.  
  4.  
  5. passwd - jira - user - jira and pass- jira123
  6. mysql- database login passwd - root user - hema1417
  7.  
  8. ******STEP 1**********************JIRA installation procedure**************
  9.  
  10. 1) jira 6.4.10 installation link
  11. wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.10-x64.bin
  12.  
  13. then GIVE permission to this jira bin setup file through command
  14.  
  15. 2) chmod +x atlassian-jira-6.4.10-x64.bin
  16.  
  17. 3) ./atlassian-jira-6.4.10-x64.bin for run the bin script
  18.  
  19. 4) Choose the appropriate installation or upgrade and select ok (o)
  20.  
  21. where jira install - /opt/jira
  22. default location for jira data - /var/atlassian/application-data/jira
  23.  
  24. 5) set configuration port - there are 2 default ports 8080(http port) and 8005(control port)
  25.  
  26. select 2 num for set custom value http 8181 and control port 8005
  27. 6)when jira run in background
  28.  
  29. press yes
  30.  
  31. 7)jira is starting upgrade
  32.  
  33.  
  34. for starting jira /opt/jira/bin/start-jira.sh (path for start service)
  35.  
  36. now go to browser and type link http://localhost:8181/
  37.  
  38. and connect to jira software and select one option (i will set up it myself)
  39.  
  40. and press next
  41.  
  42. 8) then set mysql database and select option (choose my own database)
  43.  
  44.  
  45. *******STEP 2************MYSQL installation*************************
  46.  
  47. (for delete mysql
  48. sudo apt-get purge mysql*
  49.  
  50. sudo apt-get autoremove
  51.  
  52. sudo apt-get autoclean)
  53.  
  54.  
  55. 9)apt-get install mysql-server-5.6 (5.7 is not worling bcoz atlassian is not allowed 5.7 mysql version)
  56.  
  57. 10) first check status mysql is installed or not
  58.  
  59. command - ps aux OR -ef | grep mysql
  60.  
  61. 11)systemctl start mysql (start mysql)
  62. systemctl status mysql (check status its active or not)
  63. systemctl stop mysql
  64.  
  65. 12)enabled mysql
  66.  
  67. command - systemctl is-enabled mysql
  68.  
  69. 13)check mysql version - mysql --version
  70.  
  71. 14) connecting mysql
  72.  
  73. mysql -u root -p
  74. enter passwd:
  75.  
  76. 15)database create in mysql
  77.  
  78. mysql> create database jiradb character set utf8;
  79. query ok
  80.  
  81. mysql> create user 'jira'@'localhost' identified by 'jira123';
  82. query ok
  83.  
  84. mysql> GRANT ALL Privileges ON jiradb.* TO 'jira'@'localhost' IDENTIFIED by 'jira123' with grant option;
  85. query ok
  86.  
  87. mysql> flush privileges;
  88. query ok
  89.  
  90. 16) for connecting jira to mysql
  91. http://dev.mysql.com/downloads/file.php?id=457912 download this package connector
  92.  
  93. 17)extract zip file command - unzip .zipfile name
  94.  
  95. go this way - cd /home/sid/downloads/jira/mysql-connector-java then ls
  96. then there is one .jar file .. and now copy thhis file .... cp .jar file /opt/jira/lib/
  97.  
  98. 18)cd /home/opt/jira/lib (move .zvr file into this path)
  99.  
  100. 19) restart jira service - /etc/init.d/jira stop
  101. /etc/init.d/jira start
  102.  
  103.  
  104. 20)
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. #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