ubuntu 安装 gitlab服务器

版权声明:本文为博主原创文章,欢迎转载,转载请注明出处,向分享精神致敬。 https://blog.csdn.net/qilvmilv/article/details/80661224

1.清华大学镜像下载

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu/pool/xenial/main/g/gitlab-ce/

2.安装

sudo dpkg -i gitlab-ce_xxxx~omnibus-1_amd64.deb

遇到错误:

 ssh depends on openssh-server; however:
  Package openssh-server is not configured yet.
dpkg: error processing ssh (--configure):

尝试使用:install openssh-server失败

直接用:dpkg --force-depends -i LidarPlus_1.0.1_i386.deb 

慎用 : dpkg --force-all -i LidarPlus_1.0.1_i386.deb 

3.修改Ip

sudo gedit /etc/gitlab/gitlab.rb  将默认http://example.com==》http://192.168.**

扫描二维码关注公众号,回复: 4050202 查看本文章

4.配置生效

sudo gitlab-ctl reconfigure 

完成,浏览器输入http://192.168.**即可

参考:https://blog.csdn.net/qq_36467463/article/details/78283874

https://www.cnblogs.com/gabin/p/6385908.html

https://blog.csdn.net/hebbely/article/details/78521476?locationNum=5&fps=1

https://askubuntu.com/questions/603493/apt-get-dependency-issue-open-ssh-client





猜你喜欢

转载自blog.csdn.net/qilvmilv/article/details/80661224