In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to use Ubuntu 20 docker to install gitlab9.2.5-ce 0, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go and find out!
[Memories recorded a few weeks ago]
Due to the version of gitlab 9.2.5-ce0 supported in Ubuntu 20, the final physical installation was unsuccessful after various attempts.
Suddenly thought that since there is no official support, why not use docker mode deployment, according to this idea a meal operation, just found the information is to introduce the third party maintenance version (very pit), tried many times finally download successfully, but after starting, use the command line operation gitlab to recover data, web page error, consult various documents can not solve, try many times can only give up using. (Unofficial maintenance version, there are various pits, some versions cannot use command line, some versions cannot recover data)
Finally found official support, direct use of this version, the process is very smooth. Depending on how the physical version is used, enter the docker container, and there is no difference between various commands and physical machines to recover data smoothly.
Record the deployment journal below:
sudo docker pull gitlab/gitlab-ce: 9.2.5-ce.0 [From the official pull the most reliable]
sudo mkdir /home/gitlab_9.2.5
sudo mkdir config logs data
sudo docker run--detach-p 443:443-p 80:80-p 2222:22--name gitlab--restart always-v/home/gitlab_9.2.5/config:/etc/gitlab-v/home/gitlab_9.2.5/logs:/var/log/gitlab-v/home/gitlab_9.2.5/data:/var/opt/gitlab/gitlab-ce: 9.2.5-ce.0 [Do not map port 22, sudo chmod-R 777 backups/sudo docker exec-it gitlab bashgitlab-ctl stop unicorgitlab-ctl stop sidekstop iqgitlab-rake gitlab: backup: restore BACKUP = 1607587949_2020_12_10_9. 2. 5gitlab-ctl start [enable--privileged] sudo docker run--detach ach-p 443:443-p 80:80-p 2222:22--name gitlab--restart always--privileged-v/home/gitlab_9.2.5/config:/etc/gitlab-v/home/gitlab_9.2.5/logs:/var/log/gitlab-v/home/gitlab_9.2.5/data:/var/opt/gitlab gitlab/gitlab-ce:9.2.5-ce.0 sudo cp 1607587949_2020_12_10_9.2.5_gitlab_backup.tar backups/sudo docker exec-it gitlab bashcd/var/opt/g@lab/backupschown git.git 1607587949_2020_12_10_9. 2. 5_gitlab_backup. targitlab-ctl stop unicorngitlab-ctl stop sidekiqq gitlab-rake gitlab: backup: restore BACKUP = 1607587949_2020_12_10_9. 2. 5gitlab-ctl start The above is "Ubuntu 20 How to install gitlab9.using docker@.5-ce 0" Thank you for reading all the contents of this article! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.