From cc0e3763beb50f35fd262aa20bc122d4dc2604b7 Mon Sep 17 00:00:00 2001 From: xking Date: Fri, 9 Jun 2023 13:36:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitlab/centos搭建gitlab.md | 18 ++++++++++++++++++ linux/linux免密登录.md | 5 ++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 gitlab/centos搭建gitlab.md diff --git a/gitlab/centos搭建gitlab.md b/gitlab/centos搭建gitlab.md new file mode 100644 index 0000000..2d07ccc --- /dev/null +++ b/gitlab/centos搭建gitlab.md @@ -0,0 +1,18 @@ +## centos 安装 gitlab + +### 准备工作 + +#### 机器信息 + +- gitlab 4H8G,IP 192.168.123.131 +- gitlab-runner 4H4G,IP192.168.123.132 +- web-server 4H4G,ip 192.168.123.133 + + + + + +#### 安装docker + +参照 [centos 安装 docker.md](..\centos 安装 docker.md) 安装好DOCKER + diff --git a/linux/linux免密登录.md b/linux/linux免密登录.md index 80179e0..cdbb7e6 100644 --- a/linux/linux免密登录.md +++ b/linux/linux免密登录.md @@ -16,7 +16,7 @@ ## 二、ssh免密登录原理 -![img](http://pic.61dz.com/pic/047a86faccdcd3868a806f285067c482) +![image-20230609133442204](http://pic.61dz.com/pic/image-20230609133442204.png) - 如果host1希望免密登录host2,那么密钥对是host1发布的。 - 让host2信任host1的公钥,host1即可免密登录host2。所以host1需要将自己的公钥,在host2服务器上保存一份(复制密钥) @@ -108,5 +108,4 @@ chmod 600 ~/.ssh/authorized_keys; > 字母歌-kafka修炼之道 -> https://www.kancloud.cn/hanxt/kafka/2588987 -> \ No newline at end of file +> https://www.kancloud.cn/hanxt/kafka/2588987 \ No newline at end of file