2013年8月4日 星期日

GitLab one click installer

GitLab是一套提供類似Private Github服務的軟體,開放且因為使用上親近Github,所以是套非常建議每個開發Team都安裝的服務... 實際上看過GitLab的手動安裝方式,其實相當複雜,但是因為有Bitnami這個熱心的服務者打包GitLab的服務,讓Linux上安裝非常的方便...

目前我常試過CentOS的安裝方式,原則上是下載下來後,直接執行:
執行安裝:
# chmod u+x bitnami-gitlab-5.4.0-0-linux-x64-installer.run
# ./bitnami-gitlab-5.4.0-0-linux-x64-installer.run


----------------------------------------------------------------------------
Welcome to the BitNami GitLab Stack Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

GitLab : Y (Cannot be edited)

GitLab CI [Y/n] :
Is the selection above correct? [Y/n]:
----------------------------------------------------------------------------
Installation folder

Please, choose a folder to install BitNami GitLab Stack

Select a folder [/opt/gitlab-5.4.0-0]:
----------------------------------------------------------------------------
Create Admin account

BitNami GitLab Stack admin user creation

Login [user]: root

Password :
Please confirm your password :

----------------------------------------------------------------------------
Hostname that will be used to create internal URLs. If this value is incorrect,
you may be unable to access your Gitlab installation from other computers. It is
advisable to use a Domain instead of an IP address for compatibility with
different browsers.

Domain [127.0.0.1]: xxx.xxx.xxx.xxx

Do you want to configure mail support? [y/N]: y

----------------------------------------------------------------------------
Configure SMTP Settings

This is required so your application can send notifications via email.

Default email provider:

[1] GMail
[2] Custom
Please choose an option [1] : 1

----------------------------------------------------------------------------
Configure SMTP Settings

Default mail server configuration.

GMail address []: simonsu@mitac.com.tw

GMail password :
Re-enter :
----------------------------------------------------------------------------
Setup is now ready to begin installing BitNami GitLab Stack on your computer.

Do you want to continue? [Y/n]: Y

----------------------------------------------------------------------------
Please wait while Setup installs BitNami GitLab Stack on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing BitNami GitLab Stack on your computer.

Info: To access the BitNami GitLab Stack, go to
http://xxx.xxx.xxx.xxx:80 from your browser.
Press [Enter] to continue :

完成安裝之後,就可以透過80 port連線進入該主機,畫面與操作上與Github真的頗為相像,後續有趣的地方就留給有興趣的網友去發現了 :D