gitlab

本文详细介绍如何在Ubuntu 12.04上安装GitLab,并提供必要的系统配置指导。同时,介绍了GitLab的基本使用方法,包括SSH密钥的生成及HTTP方式的仓库操作。

一.gitlab的安装
1.安装gitlab前的准备工作:
操作系统:ubuntu 12.04
内存:至少2G
硬盘:空仓库占用2G左右。硬盘预留空间至少为仓库的2倍。
 
查看当前硬盘空间df -hl
查看每个用户空间du -sh /home/xxx
删除用户userdel -r xxx
添加用户adduser xxx
清楚磁盘冗余的软件apt-get autoremove
 
2.创建新用户,在新用户目录下安装?其实没必要?
adduser xxx
su -
visudo
新增的账户就在下面加上
xxx ALL=(root) NOPASSWD: ALL
 
3.wget https://downloads-packages.s3.amazonaws.com/ubuntu-12.04/gitlab_7.5.3-omnibus.5.2.1.ci-1_amd64.deb
(保存链接使用迅雷下载。wget在哪个目录执行,下载的文件就在哪个文件夹)
sudo apt-get install openssh-server
sudo apt-get install postfix
(安装没反应,其实是菜单乱码无法正常显示,可选择对应的配置后保存)
sudo dpkg -i gitlab_7.5.3-omnibus.5.2.1.ci-1_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl status
 
4.raise "External URL must include a FQDN"
解决方法:
sudo vi /etc/gitlab/gitlab.rb
external_url 'http://ipaddress:10'
gitlab_rails['gitlab_email_from'] = 'gitlab@thefallenphoenix.net'
sudo gitlab-ctl reconfigure
 
5.测试网页登陆正常
http://ipaddress:10成功!!!!
Username: root
Password: 5iveL!fe
 
二.gitlab的使用
1.
git remote rm origin
git remote add origin
 
2.重新生成ssh key
ssh-keygen -t rsa -C "$your_email"
 
3.不折腾ssh方式,使用http方式仓库的建立和使用都没有问题。



this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets Generating ssh_host_rsa_key... cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 20 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 20 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets Generating ssh_host_rsa_key... cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Generating ssh_host_rsa_key... Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 19 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 18 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa [root@localhost ~]#
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值