รวมความรู้สำหรับ ทำ Git ใช้งานเอง ด้วย Gitlab
โพสต์แล้ว: 02/03/2018 6:37 pm
เว็บบอร์ด PHP ใช้งานจริงใน ธุรกิจ ด้วยเทคโนโลยี Ajax HTML5 Framework SQL CMS CRM ERP Hosting
https://www.mindphp.com/forums/
โค้ด: เลือกทั้งหมด
sudo gitlab-rake gitlab:env:info
Version: 10.0.3 <===== คือเวอร์ชั่นของ Gitlab ที่เราติดตั้งอยู่System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.3.5p376
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.0.0
Redis Version: 3.2.5
Git Version: 2.13.5
Sidekiq Version:5.0.4
Go Version: unknown
GitLab information
Version: 10.0.3
Revision: 8895150
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://IP
HTTP Clone URL: http://IP/some-group/some-project.git
SSH Clone URL: git@IP:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.9.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
โค้ด: เลือกทั้งหมด
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
โค้ด: เลือกทั้งหมด
apt-get install gitlab-ce
โค้ด: เลือกทั้งหมด
gitlab-ctl reconfigure
gitlab-ctl status
gitlab-ctl restart