k8s
Docker常用操作
Docker推送本地镜像到内网Harbor
Harbor 部署
使用kk部署kubesphere
kubernetes 挂载 configMap 中的单个文件
Jenkins
使用Docker部署Apt-Cacher-ng服务
序列图
kubernetes拉取内网Harbor中的私有镜像
rook-ceph 使用常见问题
ingress-nginx 安装与使用
gitlab ubuntu 安装文档
gitlab runner 相关问题
minio 常用操作
202304代办列表
redis 常用操作
curve 常用操作
kubeadm搭建k8s集群
如何将 kubeadm init 需要的镜像离线到本地 Harbor
前置依赖安装
podman非根用户容器开机自启
本文档使用 MrDoc 发布
-
+
首页
gitlab ubuntu 安装文档
> For Ubuntu 20.04 and 22.04, `arm64` packages are also available and will be automatically used on that platform when using the GitLab repository for installation. #### 1. Install and configure the necessary dependencies ``` sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates tzdata perl ``` Next, install Postfix (or Sendmail) 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.](https://docs.gitlab.com/omnibus/settings/smtp.html) ``` 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 ``` curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash ``` Next, install the GitLab package. Make sure you have correctly set up your DNS, and 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:// (without the s ). If you would like to specify a custom password for the initial administrator user ( root ), check the documentation. If a password is not specified, a random password will be automatically generated. ``` sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee ``` #### 3. Browse to the hostname and login Unless you provided a custom password during installation, a password will be randomly generated and stored for 24 hours in `/etc/gitlab/initial_root_password`. Use this password with username `root` to login. See our [documentation for detailed instructions on installing and configuration](https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package). #### 4. Set up your communication preferences Visit our [email subscription preference center](https://about.gitlab.com/company/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. #### 5. Recommended next steps After completing your installation, consider the [recommended next steps, including authentication options and sign-up restrictions.](https://docs.gitlab.com/ee/install/next_steps.html) [Troubleshooting](https://docs.gitlab.com/omnibus/)[Manual Installation](http://docs.gitlab.com/omnibus/manual_install.html)
幻翼
2023年2月24日 11:47
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码