gitlab安装-设置1-修改仓库(repositories)的位置

安装好gitlab后,要将仓库(repositories)放在一个大硬盘上,在ubuntu服务器上安装的默认位置为 /var/opt/gitlab/git-data/ 目录,需要修改仓库对应的目录

操作步骤:

1:新建新仓库目录

mkdir -p /mnt/application/gitlab/git-data

2:修改配置文件 sudo vi /etc/gitlab/gitlab.rb
搜索:git_data_dir 修改成:git_data_dir “新目录”
如:

git_data_dir "/mnt/application/gitlab/git-data"

保存
3:重新生成gitlab

sudo gitlab-ctl reconfigure

生成不报错,而且在新建仓库目录可以看到从下的目录,即修改成功。

37 thoughts on “gitlab安装-设置1-修改仓库(repositories)的位置

  1. Pingback: homes for sale in Hilton Head Island SC

  2. Pingback: 바카라사이트

  3. Pingback: tien len mien nam

  4. Pingback: Eddie Frenay

  5. Pingback: keo bong da truc tuyen

  6. Pingback: porn

  7. Pingback: 카지노사이트

  8. Pingback: อยากกู้เงิน

  9. Pingback: Replica Shoes

  10. Pingback: 카지노사이트

  11. Pingback: جلب الحبيب

  12. Pingback: kampala

  13. Pingback: KIU

  14. Pingback: replica panerai buckle

  15. Pingback: 데모바카라

  16. Pingback: 놀이터추천

  17. Pingback: KIU-Engineering School

  18. Pingback: cheap hublot replica

  19. Pingback: judi bola

  20. Pingback: 바카라 사이트 홍보

  21. Pingback: 안전바카라

  22. Pingback: ciprofloxacin drug

  23. Pingback: generic cialis 2020

  24. Pingback: Darknet

  25. Pingback: yourfishguide.com mahi mahi fish

  26. Pingback: seo prutser

  27. Pingback: research companies Mumbai

  28. Pingback: cialis usa

  29. Pingback: keto

  30. Pingback: เงินด่วนออนไลน์โอนเข้าบัญชี

  31. Pingback: hattscrib.com

  32. Pingback: replica watches

  33. Pingback: average cost of viagra pills

  34. Pingback: how to buy viagra online

  35. Pingback: Bitcoin Evolution Review

  36. Pingback: Is Bitcoin Era legitimate or not?

  37. Pingback: cialistodo.com

Comments are closed.