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
相关推荐
星月昭铭12 小时前
Spring AI集成Elasticsearch向量检索时filter过滤失效问题排查与解决方案
人工智能·spring boot·spring·elasticsearch·ai
陈煜的博客12 小时前
elasticSearch 增删改查 java api
java·大数据·elasticsearch
Hello.Reader13 小时前
Rust × Elasticsearch官方 `elasticsearch` crate 上手指南
elasticsearch·rust·jenkins
Victor刘13 小时前
修改gitlab默认的语言
gitlab
刘火锅13 小时前
解决IDEA拉取GitLab项目报错:必须为访问令牌授予作用域[api, read user]
java·gitlab·intellij-idea
Freed&15 小时前
Elasticsearch 从入门到精通:术语、索引、分片、读写流程与面试高频题一文搞懂
大数据·elasticsearch·面试
0wioiw017 小时前
Apple基础(Xcode①-项目结构解析)
ide·macos·xcode
lenvonsam17 小时前
崩溃!公司 GitLab 掉链子!莫慌,交给AI助手吧~
运维·gitlab
椿融雪19 小时前
分布式搜索和分析引擎Elasticsearch实战指南
大数据·分布式·elasticsearch
名字不要太长 像我这样就好19 小时前
【iOS】weak修饰符
macos·ios·objective-c·cocoa·xcode