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
相关推荐
RobinDevNotes3 小时前
24GB Mac 做数字人:声音放本地,画面租云端
人工智能·python·macos·开发工具
wuyk5551 天前
Spider-第20讲-综合实战可上线爬虫
大数据·爬虫·python·elasticsearch
Elasticsearch1 天前
4 种模态、100 多种语言、1 个向量空间:Microsoft Foundry 中的 Jina Embeddings v5
elasticsearch
Elasticsearch2 天前
使用 Codex 来写入 PDF 文件并创建 AI Agent 对它进行问答
elasticsearch
草莓熊Lotso2 天前
【C++ 基于微服务的即时通讯系统】ElasticSearch 用户数据管理实现
linux·数据库·c++·elasticsearch·微服务·架构
岳涛2 天前
考古|搬迁 percolator 要先保住规则身份,ES 1.0 把它挪进了索引内
elasticsearch
岳涛2 天前
考古|旧查询和 _boost 在 ES 1.0 收掉,替换方向并不保证等价
elasticsearch
Elasticsearch2 天前
Elastic 与 HoneyHive 携手推进人工智能可观测性与评估
elasticsearch
oil欧哟2 天前
Oil Studio 的产品思路与日常使用方式:在 Mac 上录口播演示,并接入 AI Agent 精剪与自动录屏
人工智能·macos