在 DigitalOcean 架設 http://goo.gl/q5gmRw 和風信使 @ SITCON2015
想必大家都知道 git ,目前網路上有很多 git 的服務,但是github 服務想要開 private 是要付錢的, BitBucket 太多人合作也要花錢,如果想要和親朋好友共同開發程式而暫時不想Open Source 的話,該怎麼辦呢?
這個 Talk 教你用每個月 10 美金的方式架設 GitLab 伺服器,以便有一個足夠自由的 Git 伺服器。如果你是學生身分,你還可以申請 GitHub Education 得到免費的 100 美金,代表可以成功開自己私人的 GitLab 開長達 10 月!心動不如馬上行動!
功能
● Markdown wiki
● File browser
● Merge request
● Issue management
● Ssh & http
● Code snippets
● Hooks
官方安裝包 - Omnibus
● https://about.gitlab.com/downloads/
● 安裝及設定方法簡單,選項較少
● 更新便利
● 系統需求:http://doc.gitlab.com/ce/install/requirements.html
– CPU 建議 2 Core
– RAM+SWAP 至少 2GB
https://about.gitlab.com/installation/
● Digital Ocean 1-Click Application Install gets a new server up in 55 seconds with fast SSD disks. We recommend selecting a droplet with 2GB of memory. Check their blog post and a nice tutorial
● DigitalOcean 提供的一鍵安裝可以在 55 秒內啟動一個使用 SSD 的 GitLab 伺服器。我們建議你使用 2GB 以上記憶體的方案,詳細說明請看他們的部落格以及教學文章。
修改 sidekiq 數量?
下圖網址: http://serverfault.com/questions/538644/25-sidekiq-processes-for-gitlab
Solved: 加上 SWAP
● GitLab 需求為 RAM+SWAP 最小 2GB
● How To Add Swap on Ubuntu 14.04