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