ads

วันพฤหัสบดีที่ 17 กรกฎาคม พ.ศ. 2557

ติดตั้ง atlassian stash

ติดตั้ง atlassian stash

ลง library ทีต้องใช้งานก่อน
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc g++  zlib autoconf  perl-ExtUtils-MakeMaker gettext

- java ต้อง version 1.7.x  ( 1.8 ยังไม่รองรับ)
# java -version
เช็คเวอร์ชั่น git  ต้องสูงกว่า 1.7.6
# git --version
yum install ไม่เจอ  ให้ไปที่  https://www.kernel.org/pub/software/scm/git/
# trar -xzf git-1.9.0.tar.gz
# cd git-1.9.0
#  make configure
# ./configure --prefix=/usr
# make all doc
# make install install-doc install-html

check version  perl
perl --version   ( ต้องสูงกว่า 5.8.8 )
ที่นี้ได้ 5.10.1 ผ่านไปเลย


=========================
ขึ้นตอนลง statsh
download  จาก http://www.atlassian.com/software/stash/download
ไว้ยัง path ที่ต้องการ ที่นี้ไว้ที  /usr/atlassian/stash  
แล้วแก้ไขไฟล์
# /usr/atlassian/stash/bin/setenv.sh
ที่พาร์ท STASH_HOME   ให้ใส่ค่าโฮมของ stash ไป
STASH_HOME = "/usr/atlassian/stash"  

เปิดใช้งานของโปรแกรมเลยที่เราสร้างไว้ในที่นี้คือ
# /usr/atlassian/stash/bin/start-stash.sh

ซึ่งจะมี  log บอกว่า sucessfull ให้เข้าหน้า configue ที่พอรืท 7990 ประมาณนี้เลย
Success! You can now use Stash at the following address:

http://localhost:7990/

### สร้าง databases
> CREATE DATABASE stash CHARACTER SET utf8 COLLATE utf8_bin;
> GRANT ALL PRIVILEGES ON stash.* TO 'stashuser'@'localhost' IDENTIFIED BY 'password';
> quuit;

แล้วเข้าหน้า configure

http://10.66.8.175:7990/setup
เลือก  ภาษา
- database เลือก external เพราะเรามี database  mysql ต่างหาก
ต้องใช้ driver ต่างหากอีก
Download the MySQL Connector/J JDBC driver from the download site.
Expand the downloaded zip/tar.gz file.
Copy the mysql-connector-java-5.1.XX-bin.jar file from the extracted directory to your <Stash home directory>/lib directory (for Stash 2.1 or later).

-re start service

 -  ใส่ค่า databases
- user  ที่สร้างไว้ก่อนนี้
- pass   ที่ grant ไว้
ที่ต้องกาใช้  > next  ไป

- จะโผล่หน้าค่าที่เราต้องการใช้  ถ้าไม่มี key ก็กด I need an evaluation license »   ระบบจะพาเราไปยังเวป atlasian แล้วกด license  มา
  กด gen license    ระบบจะ gen  แล้วใส่ค่ามาให้เรา auto

- next

- ตั้ง admin ใส่ชื่อ  อีเมล์  password     > กด intregrade jira system

- JIRA integration  
ใส่ค่าเพื่อให้ intrgate กับระบบ jira ที่ใช้อย  (ถ้าเป็น url ก็ใส่ไปในที่นี้เครืองเทส url กลัววจะชนกัน)
Jira base url    >  http://10.66.8.175:8080  
jira administrator  usernam  :  administrator ของระบบ jira ที่ใช้
jira passowrd   : ใส่ password ของ jira ที่ใช้งาน
stash bash url  :   http://10.66.8.175:7990

Using JIRA as my user database  เลือกว่าจะให้ user ของระบบ jira มาในระบบนี้ทั้งหมดหรือเลป่า
ที่นี้เลือกจัดไป  แล้ว next

- Welcome to Stash  จะเข้าหน้า Login

1 ความคิดเห็น:

  1. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Atlassian
    , kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on in Atlassian We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com


    ตอบลบ