首页 > 其他分享 >gitlab安装

gitlab安装

时间:2023-10-03 09:11:07浏览次数:50  
标签:sudo gitlab systemctl yum install 安装 GitLab

# 参考官网
# 1. Install and configure the necessary dependencies

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

sudo yum clean all
sudo yum makecache

sudo yum install -y postfix curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
# sudo firewall-cmd --permanent --add-service=http
# sudo systemctl reload firewalld
sudo systemctl disable firewalld
sudo systemctl stop firewalld

# 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 systemctl enable postfix
sudo systemctl start 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 -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash

# Next, install the GitLab package. Change `http://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. HTTPS requires additional configuration after installation.

sudo EXTERNAL_URL="http://gitlab.example.com" yum install -y 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.
vi /etc/gitlab/gitlab.rb

标签:sudo,gitlab,systemctl,yum,install,安装,GitLab
From: https://www.cnblogs.com/dengliang356a/p/17740799.html

相关文章

  • nvm 安装与使用(实现Nodejs版本切换,及找不到npm的问题)
    https://blog.csdn.net/sxk1101/article/details/129208573除文章操作,别忘记把 nvm安装与使用(实现Nodejs版本切换,及找不到npm的问题)......
  • Arduino IDE1.8.3安装
              ......
  • Tomcat安装及配置教程
    网上的tomcat安装及配置教程一大堆,但是好多都过时了,根本不适用现在的版本,今天凯歌整理一篇Tomcat安装步骤及详细配置教程,2022年最新版~Tomcat安装及配置教程主要分为四步:步骤一:首先确认自己是否已经安装JDK步骤二:下载安装Tomcat步骤三:Tomcat配置环境变量步骤四:验证Tomcat......
  • IDEA安装教程
    首先先下载一个压缩包,里面安装包破译插件都有。通过百度网盘分享的文件:JetBrain…zip链接:https://pan.baidu.com/s/1mBQUacDIf39AJtR-wGZ-bw提取码:P95C复制这段内容打开「百度网盘APP即可获取」鼠标右击【IntelliJIDEA2022】压缩包(win11及以上系统需先点击“显示更......
  • docker 安装
    通过阿里云的DockerCE镜像源站进行安装.1.使用官方安装脚本自动安装(仅适用于公网环境):curl-fsSLhttps://get.docker.com|bash-sdocker--mirrorAliyun2.手动安装帮助(阿里云ECS可以通过内网安装,见注释部分内容):2.1Ubuntu14.04/16.04(使用apt-get进行安装):#step1......
  • 安装MySQL8.0.34出现的问题
    windows10安装MySQL8.0.34的时候,出现了在校验安装启动服务的时候失败,即Startingtheserver的时候出现红叉,在服务中手动启动MySQL80服务也失败,后来将登录用户设置为本地登陆才启动服务成功。虽然启动服务成功,但是在登录MySQL的时候却报出ERROR1045(28000),且密码显示是对的:ERRO......
  • Adobe_Photoshop_2024_25.0.0.37图文安装教程及下载
    Adobe_Photoshop_2024正式版,拥有之前beta版本的全部功能,包括但不限于内置AI绘图,一键抠图、移除工具、悬浮工具栏、图像扩展、填充式生成、调整预设等等。尤其是“生成式填充”和“生成式扩展”。除此之外,PS2024正式版还内置了NeuralFilters神经AI滤镜,这款插件用于图片的处理,它......
  • 「堡塔-日志分析」的安装及配置
    非集成在宝塔面板内,而是单独的一个页面。可以安装在已安装了宝塔并运行了网站的linux服务器上。安装代码curl-sSOhttp://download.bt.cn/btlogs/btlogs.sh&&bashbtlogs.shinstall配置方法获取配置信息:备注:更改账号密码:官方页面https://www.bt.cn/new/download.......
  • Kali 查看系统信息的一些命令及查看已安装软件包的命令
    1.系统uname-a查看内核/操作系统/CPU信息head-n1/etc/issue查看操作系统版本cat/proc/cpuinfo查看CPU信息hostname查看计算机名lspci-tv列出所有PCI设备lsusb-tv列出所有USB设备lsmod列出加载的内核模块env查看环境变量2.资源free-m查看内存使用量和交换区使用量df-h......
  • mysql在安装group_replication插件时,报错ERROR 1126"can't open share library xxxx g
    问题描述:mysql在安装group_replication插件时,报错ERROR1126"can'topensharelibraryxxxxgroup_replication.so",如下所示:数据库:MySQL8.0.27系统:rhel7.31、问题重现mysql>INSTALLPLUGINgroup_replicationSONAME'group_replication.so';ERROR1126(HY0......