Install gitlab enterprise on ubuntu

2023-05-16

1. Install and configure the necessary dependencies


sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
  

Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed.


sudo apt-get install -y postfix
  

During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults.

2. Add the GitLab package repository and install the package

Add the GitLab package repository.


curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
  

Next, install the GitLab package. Change https://gitlab.example.com to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL.

For https:// URLs GitLab will automatically request a certificate with Let's Encrypt, which requires inbound HTTP access and a valid hostname. You can also use your own certificate or just use http://.


sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee
  

3. Browse to the hostname and login

On your first visit, you'll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account's username root to login.

See our documentation for detailed instructions on installing and configuration.

4. Set up your communication preferences

Visit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails.

Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter.

IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts.

 

 

 

 

1. Install and configure the necessary dependencies


sudo apt-get install curl openssh-server ca-certificates apt-transport-https
curl https://packages.gitlab.com/gpg.key | sudo apt-key add -
  

Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed.


sudo apt-get install -y postfix
  

During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults.

2. Add the GitLab package repository and install the package

Add the GitLab package repository.


sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash

  

Next, install the GitLab package. Change https://gitlab.example.com to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL.

For https:// URLs GitLab will automatically request a certificate with Let's Encrypt, which requires inbound HTTP access and a valid hostname. You can also use your own certificate or just use http://.


sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ce
  

3. Browse to the hostname and login

On your first visit, you'll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account's username root to login.

See our documentation for detailed instructions on installing and configuration.

4. Set up your communication preferences

Visit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails.

Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter.

IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts.

转载于:https://www.cnblogs.com/heycomputer/articles/11623874.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Install gitlab enterprise on ubuntu 的相关文章

随机推荐

  • nvidia-smi命令执行很慢,如何改进

    初次安装好nvidia的驱动 xff0c 每次执行nvidia smi命令时 xff0c 要5秒以上 可通过如下命令进行改进 xff1a nvidia persistenced persistence mode 转载于 https www
  • 构建千万用户级别后台数据库架构

    关于如何构建千万级别用户的后台数据库架构话题 xff0c 在ITPUB及CSDN论坛都有不少网友提问 xff0c 新型问答网站知乎上也有人提问 xff0c 并且顺带梳理了下思路 xff0c 方便更多的技术朋友有章可循 xff0c 整理一篇抛
  • 酒店管理系统(功能结构图、流程图)

    酒店管理系统功能结构图 相关流程图 转载于 https www cnblogs com chouqiuqiu p 9035154 html
  • Linux下好用的屏幕录像软件kazam及截图软件shutter

    都是apt直接安装即可使用 其中kazam默认保存的文件格式是avi xff0c 非常大 xff0c 通常录制几十秒就已经好几个G xff0c 导致录制过程太占用资源 xff0c 会出现卡顿的现象 在 首选项 中可以选择输出格式为mp4 x
  • 禁用MOSS2007“我的网站”功能

    转载自 xff1a 禁用MOSS2007 我的网站 功能 建立完Moss2007的SSP服务之后 xff0c 默认会为所有验证用户打开 我的网站 的链接 xff0c 如下图所示 xff1a 并不是所有人都会需要这个功能的 xff0c 我们可
  • Linux搭建waf防火墙,Nginx使用Naxsi搭建Web应用防火墙(WAF),防xss、防注入

    一 说明 Naxsi是一个开放源代码 高效 低维护规则的Nginx web应用防火墙 Web Application Firewall 模块 Naxsi的主要目标是加固web应用程序 xff0c 以抵御SQL注入 跨站脚本 跨域伪造请求 本
  • 程序员、架构师、技术经理、技术总监和CTO有啥区别?

    http www javaranger com archives 1997 程序员 程序员 xff0c 英文名coder programmer xff0c 大家常自嘲叫码农的阶段 这个角色职责是把需求或产品实现为用户可用的软件产品 此职位为
  • 在linux上运行python脚本(安装pytorch踩坑记录,pyinstaller使用方式,构建docker镜像)

    背景 脚本需要导入pytorch等库才能运行 脚本在windows上运行成功 xff0c 尝试放到linux上运行 linux服务器内存较小 方法一 xff1a 在linux上安装依赖 把脚本放到linux上 xff0c 直接安装依赖 安装
  • ubuntu 16.04 配置静态ip 后默认的网卡eno1变成eth0了不能联网的问题解决

    我这次是在真实机器上面安装的ubuntu16 04 在配置了静态ip后不懂什么原因默认的eno1网卡变回了eth0网卡之后就不能上网 xff0c 同一个网段的其他集群节点也不能ping 通 因为ubuntu16 04的默认网卡不再是eth0
  • 快速测试端口的连通性(HTTP/HTTPS)

    ping 仅限 80 端口 xff0c 命令中无法指定端口 xff1a span class hljs label C span Users Administrator gt span class hljs built in ping sp
  • 支持 UTF-8 中文的串口调试工具

    支持 UTF 8 中文的串口调试工具 最近使用 mdk526 xff0c 编辑设置使用 utf 8 xff0c 编辑窗口中文正常 xff0c 但是编译的时候提示 warning 870 D invalid multibyte charact
  • Linux

    Linux服务 TOC mysql 关系型数据库 关系 就是一个一个的二维表 其中 表中的行 列次序并不重要 行 record 表中的每一行 又称为一条记录 列 column 表中的每一列 称为属性 字段 主键 primary key 是一
  • Eclipse怎么样添加智能感知提示功能(含Windows版和Mac版)

    近日感兴趣于安卓 xff0c 开始学习Android开发 第一次使用Eclipse xff0c 用久了VS xff0c 也习惯了他的智能提示 xff0c 刚转到Eclipse下实在是不习惯 网上有人说按Alt 43 可以实现单词补全功能 x
  • ORB-SLAM2:一种开源的VSLAM方案(译文)

    摘要 xff1a ORB SLAM2是基于单目 xff0c 双目和RGB D相机的一套完整的SLAM方案 它能够实现地图重用 xff0c 回环检测和重新定位的功能 无论是在室内的小型手持设备 xff0c 还是到工厂环境的无人机和城市里驾驶的
  • 双目视觉几何框架详解

    一 图像坐标 xff1a 我想和世界坐标谈谈 A 玉米竭力用轻松具体的描述来讲述双目三维重建中的一些数学问题 希望这样的方式让大家以一个轻松的心态阅读玉米的 计算机视觉学习笔记 双目视觉数学架构系列博客 这个系列博客旨在捋顺一下已标定的双目
  • C#之委托

    委托 xff1a 顾名思义 xff0c 让别人帮你办件事 委托是C 实现回调函数的一种机制 可能有人会问了 xff0c 回调函数是个啥 xff1f xff1f xff1f 举个例子 xff1a 我现在是一家公司的老板 xff0c 公司现在在
  • http://mirrors.163.com/centos/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 14]

    执行 vi etc yum repos d CentOS Base repo 里面内容都清楚 xff0c 然后把下面的复制粘贴上 CentOS Base repo The mirror system uses the connecting
  • 剑指offer T8跳台阶

    由推导可知 xff0c 递推公式为 f n 61 f n 1 43 f n 2 迭代法 xff1a 递归 xff1a 递归优化 xff08 保存结果 xff0c 剪枝 xff09 xff1a 转载于 https www cnblogs co
  • linux磁盘占用满了,docker日志清理

    磁盘分析命令 xff1a df h 查看当前文件夹所有文件大小 xff1a du sh 查看docker各容器占用的磁盘空间 du d1 h var lib docker containers sort h docker日志文件 xff1a
  • Install gitlab enterprise on ubuntu

    1 Install and configure the necessary dependencies sudo apt get update sudo apt get install y curl openssh server ca cer