Skip to content

Commit d85992c

Browse files
committed
2018-06-03
1 parent 241a173 commit d85992c

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

favorite-file/shell/install_docker_centos7.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ chmod +x /usr/local/bin/docker-compose
3232

3333
echo "输出 docker compose 版本号"
3434

35-
docker-compose --version
35+
docker-compose --version
36+
systemctl restart docker.service
37+
systemctl enable docker.service

favorite-file/shell/install_docker_disable_firewalld_centos7.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ chmod +x /usr/local/bin/docker-compose
3838
echo "-----------------------------------------输出 docker compose 版本号"
3939

4040
docker-compose --version
41-
41+
systemctl restart docker.service
42+
systemctl enable docker.service
4243

4344

4445

markdown-file/CI-Install-And-Usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ services:
181181
182182
- 启动:`docker-compose up -d`,启动比较慢,等个 2 分钟左右。
183183
- 浏览器访问 Gitlab:<http://192.168.0.105:10080/users/sign_in>
184+
- 默认用户是 root,密码首次访问必须重新设置,并且最小长度为 8 位,我习惯设置为:aa123456
184185
- Gitlab 的具体使用可以看另外文章:[Gitlab 的使用](Gitlab-Install-And-Settings.md)
185186

186187
## Nexus + Jenkins + SonarQube

markdown-file/Gitlab-Install-And-Settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ gitlab-postgresql:
6363
- 官网下载:<https://about.gitlab.com/downloads/>
6464
- 安装的系统环境要求:<https://docs.gitlab.com/ce/install/requirements.html>
6565
- 从文章看目前要求 ruby 2.3,用 yum 版本过低,那就源码安装 ruby 吧,官网当前最新是:2.4.1(大小:14M)
66+
- 官网安装说明:<https://about.gitlab.com/installation/#centos-7>
6667
- 安装 ruby
6768
- 下载:<https://www.ruby-lang.org/en/downloads/>
6869
- 解压:`tar zxvf ruby-2.4.1.tar.gz`

0 commit comments

Comments
 (0)