From 88d97b2a1e91e56a9357cca6b45c62e6423ae01a Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 19 Mar 2016 15:35:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=B6=89=E5=8F=8A=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E6=94=B9=E4=B8=BA=E6=9C=80=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gitlab7.CentOS.mdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Gitlab7.CentOS.mdown b/Gitlab7.CentOS.mdown index cffe715..dc46d0f 100644 --- a/Gitlab7.CentOS.mdown +++ b/Gitlab7.CentOS.mdown @@ -221,7 +221,7 @@ MySQL 已经不再包含在 CentOS 7 的源中,而改用了 MariaDB,先搜 尝试使用新用户连接数据库: - > mysql -u git -p -D gitlabhq_production + $ mysql -u git -p -D gitlabhq_production > \q # 安装 Gitlab @@ -231,6 +231,7 @@ MySQL 已经不再包含在 CentOS 7 的源中,而改用了 MariaDB,先搜 # su git $ cd ~ $ git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-14-stable gitlab + $ git checkout v7.14.3 ## 配置 @@ -395,7 +396,7 @@ centos 6 # su git $ cd ~/gitlab - $ bundle exec rake gitlab:shell:install[v2.6.9] REDIS_URL=redis://localhost:6379 RAILS_ENV=production + $ bundle exec rake gitlab:shell:install[v2.6.11] REDIS_URL=redis://localhost:6379 RAILS_ENV=production By default, the gitlab-shell config is generated from your main gitlab config. 默认的,gitlab-shell的配置文件是由你的gitlab主配置文件生成的。 @@ -461,7 +462,7 @@ Read http://wiki.centos.org/HowTos/Network/SecuringSSH $ bundle exec rake assets:precompile RAILS_ENV=production -# 启动实例 +# 启动实例 $ /etc/init.d/gitlab start