From d91af25061399128efa8b2af1505d2d8af767a19 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Tue, 7 May 2019 19:00:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../{gitlab/gitlab-install.md => gitlab.md} | 65 ++++++++++++++++ docs/linux/ops/soft/gitlab/gitlab-ci.md | 3 - .../ops/soft/gitlab/gitlab-quickstart.md | 76 ------------------- 4 files changed, 66 insertions(+), 80 deletions(-) rename docs/linux/ops/soft/{gitlab/gitlab-install.md => gitlab.md} (72%) delete mode 100644 docs/linux/ops/soft/gitlab/gitlab-ci.md delete mode 100644 docs/linux/ops/soft/gitlab/gitlab-quickstart.md diff --git a/README.md b/README.md index b8cdecf..b4e701d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | [JDK 安装](docs/linux/ops/soft/jdk.md) | 不解释 | | [Elastic 安装](docs/linux/ops/soft/elastic) | 常被称为 ELK ,是 Java 世界最流行的分布式日志解决方案 。 ELK 是 Elastic 公司旗下三款产品 ElasticSearch 、Logstash 、Kibana 的首字母组合。 | -| Gitlab | Git 代码管理平台 | +| [Gitlab 安装](docs/linux/ops/soft/kafka.md) | Git 代码管理平台 | | [Jenkins 安装](docs/linux/ops/soft/jenkins.md) | 持续集成和持续交付平台。 | | [Kafka 安装](docs/linux/ops/soft/kafka.md) | 应该是 Java 世界最流行的消息中间件了吧。 | | [Maven 安装](https://github.com/dunwu/java-tutorial/blob/master/docs/javatool/build/maven/maven-install.md) | Java 构建工具 | diff --git a/docs/linux/ops/soft/gitlab/gitlab-install.md b/docs/linux/ops/soft/gitlab.md similarity index 72% rename from docs/linux/ops/soft/gitlab/gitlab-install.md rename to docs/linux/ops/soft/gitlab.md index dd9c25a..6c8fb05 100644 --- a/docs/linux/ops/soft/gitlab/gitlab-install.md +++ b/docs/linux/ops/soft/gitlab.md @@ -293,6 +293,71 @@ sudo gitlab-ctl reconfigure sudo gitlab-ctl restart ``` + +### 创建你的 SSH key + +1. 使用 Gitlab 的第一步是生成你自己的 SSH 密钥对(Github 也类似)。 + +2. 登录 Gitlab + +3. 打开 **Profile settings**. + +

+ +4. 跳转到 **SSH keys** tab 页 + +

+ +5. 黏贴你的 SSH 公钥内容到 Key 文本框 + +

+ +6. 为了便于识别,你可以为其命名 + +

+ +7. 点击 **Add key** 将 SSH 公钥添加到 GitLab + +

+ +### 创建项目 + +

+ +输入项目信息,点击 Create project 按钮,在 Gitlab 创建项目。 + +

+ +### 克隆项目到本地 + +可以选择 SSH 或 HTTPS 方式克隆项目到本地(推荐 SSH) + +拷贝项目地址,然后在本地执行 `git clone ` + +

+ +### 创建 Issue + +依次点击 **Project’s Dashboard** > **Issues** > **New Issue** 可以新建 Issue + +

+ +在项目中直接添加 issue + +

+ +在未关闭 issue 中,点击 **New Issue** 添加 issue + +

+ +通过项目面板添加 issue + +

+ +通过 issue 面板添加 issue + +

+ ## 更多内容 - **引申** diff --git a/docs/linux/ops/soft/gitlab/gitlab-ci.md b/docs/linux/ops/soft/gitlab/gitlab-ci.md deleted file mode 100644 index 8fd4643..0000000 --- a/docs/linux/ops/soft/gitlab/gitlab-ci.md +++ /dev/null @@ -1,3 +0,0 @@ -# Gitlab - -

diff --git a/docs/linux/ops/soft/gitlab/gitlab-quickstart.md b/docs/linux/ops/soft/gitlab/gitlab-quickstart.md deleted file mode 100644 index e1c1f5d..0000000 --- a/docs/linux/ops/soft/gitlab/gitlab-quickstart.md +++ /dev/null @@ -1,76 +0,0 @@ -# Gitlab 快速教程 - -> 准备 -> -> Git - 如果不熟悉 Git ,可以先阅读:[Git 教程](https://github.com/dunwu/OS/tree/master/docs/git) - -## 创建你的 SSH key - -1. 使用 Gitlab 的第一步是生成你自己的 SSH 密钥对(Github 也类似)。 - -2. 登录 Gitlab - -3. 打开 **Profile settings**. - -

- -4. 跳转到 **SSH keys** tab 页 - -

- -5. 黏贴你的 SSH 公钥内容到 Key 文本框 - -

- -6. 为了便于识别,你可以为其命名 - -

- -7. 点击 **Add key** 将 SSH 公钥添加到 GitLab - -

- -## 创建项目 - -

- -输入项目信息,点击 Create project 按钮,在 Gitlab 创建项目。 - -

- -## 克隆项目到本地 - -可以选择 SSH 或 HTTPS 方式克隆项目到本地(推荐 SSH) - -拷贝项目地址,然后在本地执行 `git clone ` - -

- -## 创建 Issue - -依次点击 **Project’s Dashboard** > **Issues** > **New Issue** 可以新建 Issue - -

- -在项目中直接添加 issue - -

- -在未关闭 issue 中,点击 **New Issue** 添加 issue - -

- -通过项目面板添加 issue - -

- -通过 issue 面板添加 issue - -

- -## 更多内容 - -- **引申** - - [操作系统、运维部署总结系列](https://github.com/dunwu/OS) -- **引用** - - [官网](https://about.gitlab.com/)