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
相关推荐
彧azz1 小时前
Git 入门实操实例:从安装到远程仓库全流程
大数据·笔记·git·学习·elasticsearch
醉颜凉2 小时前
Canal 与 Elasticsearch 实时同步:增量索引更新、删除处理与全量重建方案
elasticsearch·canal·数据同步·增量更新·全量重建
旧梦星轨7 小时前
Git Flow 工作流实践
git·gitee·gitlab·github
那年窗外下的雪.8 小时前
AIDC 学习日志|第 24 天|设备输出反推与 MAC Flapping 定位
网络协议·学习·tcp/ip·http·macos·tcpdump
无风听海9 小时前
深入解析 Elasticsearch 的 match_phrase_prefix与 match_bool_prefix
大数据·elasticsearch·mybatis
天天喝旺仔10 小时前
Elasticsearch 全文检索实战:Lucene 倒排索引与 NoSQL 文档检索落地
elasticsearch·搜索引擎·全文检索·nosql·lucene
RobinDevNotes10 小时前
Palmier Pro:AI时代的Mac视频编辑器
人工智能·ceph·macos·ai·音视频·视频编辑·mcp
旧梦星轨10 小时前
Github Flow 与 Gitlab Flow工作流实践解读
gitlab·github
浅念-20 小时前
一文吃透Git:本地操作|冲突处理|远程协作|GitFlow工作流详解
大数据·git·elasticsearch·搜索引擎·gitflow
vx-程序开发1 天前
【计算机毕设】基于Spring Boot的古城景区管理系统88564
java·数据库·spring boot·后端·spring·elasticsearch·课程设计