2021年2月22日 星期一

如何用shell在lubuntu 16.04快速安裝GitLab

 1.套件更新

$sudo apt-get update
2.安裝 curl openssh-server ca-certificates postfix tzdata
$sudo apt-get install -y curl openssh-server ca-certificates postfix tzdata
3.下載與安裝GitLab package server
$curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
4.安裝gitlab-ce,檔案很大 8百多M
$sudo apt-get install -y gitlab-ce
5.設定gitlab-ce 
$sudo gitlab-ctl reconfigure
6.修改/etc/gitlab/gitlab.rb
$sudo pico /etc/gitlab/gitlab.rb 
現在將其設定為
external_url 'http://192.168.1.150'


7.重新配置gitlab
$sudo gitlab-ctl reconfigure
8.用chrome瀏覽 http://192.168.1.150




沒有留言:

張貼留言

只要點兩下就能將 彰化縣EIP系統全校學生帳號總表 依 各班級 分成 各班級學生帳號總表

系列文章: 1. 只要點兩下就能產出彰化縣Cloud School 學生帳號密碼匯入彰化縣EIP系統學生帳號密碼的CSV 1. https://skjhcreator.blogspot.com/2025/08/cloud-school-eipcsv.html 2. 只要點兩下就能...