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 "[email protected]"

ssh-keygen -t rsa -C "[email protected]"

保存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
相关推荐
☆凡尘清心☆28 分钟前
Centos7安装gitlab
gitlab
L2ncE1 小时前
ES101系列07 | 分布式系统和分页
java·后端·elasticsearch
Elasticsearch1 小时前
SRE 基础知识:在站点可靠性工程中可以期待什么
elasticsearch
一袋米扛几楼982 小时前
【前端】macOS 的 Gatekeeper 安全机制阻止你加载 bcrypt_lib.node 文件 如何解决
前端·安全·macos
FungLeo2 小时前
在 Mac 下 VSCode 中的终端使用 option + b 或 f 的快捷键变成输入特殊字符的解决方案
ide·vscode·macos·option 快捷键·终端操作
laocaibulao2 小时前
mac电脑安装nvm
macos·nvm安装
耀Strive6 小时前
IDEA 在公司内网配置gitlab
gitlab
极小狐6 小时前
GitLab 18.0 正式发布,15.0 将不再受技术支持,须升级【六】
ci/cd·gitlab·devsecops·devops·gitlab升级·极狐gitlab
lcz-20007 小时前
xcode 旧版本、历史版本下载
ide·macos·xcode
小钱c77 小时前
MacOS安装Docker Desktop并汉化
macos·docker·容器