MacOs 安装局域网 gitlab 记录

1、安装git

bash 复制代码
brew install git
==> Downloading https://homebrew.bintray.com/bottles/git-2.7.0.el_capitan.bottle
######################################################################## 100.0%
==> Pouring git-2.7.0.el_capitan.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
  /usr/local/bin/git-credential-osxkeychain

The "contrib" directory has been installed to:
  /usr/local/share/git-core/contrib

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
==> Summary
🍺  /usr/local/Cellar/git/2.7.0: 1,407 files, 235.8M

2、配置git账户和生成token

bash 复制代码
git config --global user.name "programmer"
git config --global user.email "15020063781@139.com"

ssh-keygen -t rsa -C "15020063781@139.com"

保存key的位置

/var/root/.ssh/id_rsa

3、配置gitlab

复制代码
git config --global http.proxy http://192.168.43.232:1080

3、安装gitlab-ci-multi-runner

bash 复制代码
brew install gitlab-ci-multi-runner
==> Downloading https://homebrew.bintray.com/bottles/gitlab-ci-multi-runner-0.7.
######################################################################## 100.0%
==> Pouring gitlab-ci-multi-runner-0.7.2.el_capitan.bottle.1.tar.gz
🍺  /usr/local/Cellar/gitlab-ci-multi-runner/0.7.2: 4 files, 11.8M
相关推荐
小安同学iter36 分钟前
三台服务器,一套流水线:如何实现无缝自动化部署?
gitlab·jenkins
transitory_truth4 小时前
es-api介绍
elasticsearch
mixboot8 小时前
macOS Homebrew 安装 Nmap
macos·nmap
q***471811 小时前
使用Canal将MySQL数据同步到ES(Linux)
linux·mysql·elasticsearch
Dream-Y.ocean11 小时前
告别设备束缚!网易 UU 远程 Mac 被控体验:免费高清 + 多场景丝滑,跨端办公刚需神器
macos
...对方正在输入......15 小时前
Elasticsearch集群部署实战指南
elasticsearch·jenkins
西部森林牧歌15 小时前
Arbess从基础到高阶(14) - 使用Arbess+GitLab+SonarQube实现代码扫描完成后自动化部署
ci/cd·gitlab·sonarqube·arbess·tiklab devops
Hello.Reader15 小时前
使用 Flink CDC 搭建跨库 Streaming ETLMySQL + Postgres → Elasticsearch 实战
大数据·elasticsearch·flink
Elasticsearch16 小时前
Elastic AI agent builder 介绍(五)- 备份 tools 及 agents
elasticsearch