Skip to content

Commit

Permalink
ssh免密登录问题解决
Browse files Browse the repository at this point in the history
  • Loading branch information
greatjiang committed Jun 5, 2024
1 parent e335bc1 commit af49001
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 14 deletions.
11 changes: 11 additions & 0 deletions docs/course/gitlab-macos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# macos安装gitlab
云服务器太贵了 使用现有的mac安装一个gitlab方便学习。

## 安装Docker

### 卸载已有的Docker


## 安装Gitlab

## 启动
20 changes: 10 additions & 10 deletions docs/course/gitlab.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# 在阿里云上搭建Gitlab

## 配置要求
硬件要求
最低配置(适用于少量用户或测试环境):
CPU: 2 核
内存: 4 GB
存储: 10 GB 可用磁盘空间
硬件要求
最低配置(适用于少量用户或测试环境):
CPU: 2 核
内存: 4 GB
存储: 10 GB 可用磁盘空间

## 安装教程
https://help.aliyun.com/zh/ecs/use-cases/deploy-and-use-gitlab?spm=5176.28426678.J_HeJR_wZokYt378dwP-lLl.1.719b5181Wq9g3b&scm=20140722.S_help@@%E6%96%87%E6%A1%A3@@52857.S_BB1@bl+BB2@bl+RQW@ag0+hot+os0.ID_52857-RL_gitlab-LOC_search~UND~helpdoc~UND~item-OR_ser-V_3-P0_0#0ffcba34f9au1

## 遇见的问题
Waiting for GitLab to boot
HTTP 502
It can take up to a few minutes for GitLab to boot completely.
Waiting for GitLab to boot
HTTP 502
It can take up to a few minutes for GitLab to boot completely.

This page will automatically reload every 5 seconds.
This page will automatically reload every 5 seconds.

成功安装 但是访问不了
成功安装 但是访问不了
应该是硬件配置内存不足的问题
8 changes: 8 additions & 0 deletions docs/course/memo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
启动ssh免密登录的时候,阿里云会关闭密码登录,这时候需要自己手动设置
```sh
vim /etc/ssh/sshd_config
```
```sh
PermitRootLogin yes
PasswordAuthentication yes
```
19 changes: 19 additions & 0 deletions docs/course/total.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 汇总知识
类公共知识概念的汇总

包管理工具
各个系统都有自己的包管理工具。
mac的brew
ubuntu的apt
CentOS的yum
有些语言也有自己的管理工具
例如nodejs的npm

路由
路由无论在语言还是系统中都扮演重要的角色

状态管理

服务

数据库
1 change: 1 addition & 0 deletions docs/skill-tree/git/github.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Github
5 changes: 1 addition & 4 deletions docs/skill-tree/git/todo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
1.安装gitlab
2.管理账号
3.管理项目
4.CI/CD


0 comments on commit af49001

Please sign in to comment.