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 wantto 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 folderPlease, choose a folder to install BitNami GitLab StackSelect a folder [/opt/gitlab-5.4.0-0]:----------------------------------------------------------------------------Create Admin accountBitNami GitLab Stack admin user creationLogin [user]: rootPassword :Please confirm your password :Email Address [user@example.com]: simonsu@mitac.com.tw----------------------------------------------------------------------------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 isadvisable to use a Domain instead of an IP address for compatibility withdifferent browsers.Domain [127.0.0.1]: xxx.xxx.xxx.xxx
Do you want to configure mail support? [y/N]: y----------------------------------------------------------------------------Configure SMTP SettingsThis is required so your application can send notifications via email.Default email provider:[1] GMail[2] CustomPlease choose an option [1] : 1----------------------------------------------------------------------------Configure SMTP SettingsDefault mail server configuration.GMail address []: simonsu@mitac.com.twGMail 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.Installing0% ______________ 50% ______________ 100%#########################################----------------------------------------------------------------------------Setup has finished installing BitNami GitLab Stack on your computer.Info: To access the BitNami GitLab Stack, go tohttp://xxx.xxx.xxx.xxx:80 from your browser.Press [Enter] to continue :
完成安裝之後,就可以透過80 port連線進入該主機,畫面與操作上與Github真的頗為相像,後續有趣的地方就留給有興趣的網友去發現了 :D