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




沒有留言:

張貼留言

Windows 11 建立本地端 AI (Ollama + qwen2.5-coder:7B + docker + webui)

0.自己本地端設備環境:Ultra 7 155H + 32G RAM + Intel Arc Pro Graphics 128M  1. ollama 下載  ->下載後點兩下進行安裝 或是 以系統管理員身分開啟 PowerShell 進行安裝 安裝指令: irm http...