首页 > 系统相关 >ubuntu 安装gitlab

ubuntu 安装gitlab

时间:2023-05-26 21:57:29浏览次数:33  
标签:root gitlab ce 12345678 ubuntu password 安装

1. 下载

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/apt/packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/focal/main/g/gitlab-ce/

选一个 

2. 安装 

dpkg -i gitlab-ce_13.10.0-ce.0_amd64.deb

3. 改配置

vi /etc/gitlab/gitlab.rb

external_url 'http://192.168.31.12'

4.重启

gitlab-ctl reconfigure

gitlab-ctl restart

5.登录

注意用户名是root

密码说在这里,我没看到  /etc/gitlab/initial_root_password  

重置密码

gitlab-rails console

u=User.where(id:1).first

u.password='12345678'

u.password_confirmation='12345678'

u.save

exit

6. 操作

先建了一个group:k8s

组下建了一个项目:空白project-test

 

 

 

标签:root,gitlab,ce,12345678,ubuntu,password,安装
From: https://www.cnblogs.com/xiangyu5945/p/17435900.html

相关文章

  • Doris(一) -- 简介和安装
    Doris简介Doris概述ApacheDoris由百度大数据部研发(之前叫百度Palo,2018年贡献到Apache社区后,更名为Doris),在百度内部,有超过200个产品线在使用,部署机器超过1000台,单一业务最大可达到上百TB。ApacheDoris是一个现代化的MPP(MassivelyParallelProcessing,即大......
  • windows11 安装 Rancher Desktop
    从官网下载了最新版的Rancher.Desktop.Setup.1.8.1.msi安装包,安装很顺利。但是安装完,启动时报错Thek3scacheisemptyandthereisnonetworkconnection.不明所以,网上查了,原来是github访问不了的原因,具体看这个#issue3741,大意就是网络问题,而提这个问题的哥们自己用代理......
  • linux服务器安装maven
    maven官网地址https://maven.apache.org/download.cgi  使用scp命令将文件上传到服务器 [email protected]:/root/maven.tar.gz请注意这里的p不要小写了,小写报错如下 进入root目录tar-zxvfmaven.tar.gz......
  • asm单点安装(库神支持)
    感谢库神支持1、unzipLINUX.X64_19300_grid_home.zip-d$ORACLE_HOME(grid)chown-Rgrid:oinstall/app/softchown-Rgrid:asmadmin/dev/asm1vi/app/soft/install/response/gridsetup.rsp2、编辑grid_install.rsp配置文件oracle.install.responseFileVersion=/oracle/i......
  • OneForAll下载安装以及环境配置
    python-3.9.7-amd64OneForAll-masterpython安装以及插件安装首先下载python解压到电脑c盘在c盘中创建一个工具文件夹,然后下载OneForAll-master下载好之后找到安装包点击安装勾选下面两个得点击上面的,上面的是自定义安装出现这个就代表的安装完成了,但是一定要记得文件路径然后下载......
  • rhel 7.3安装mysql 8.0.27
    文档课题:rhel7.3安装mysql8.0.27.系统:rhel7.364位数据库:mysql8.0.27安装包:mysql-8.0.27-linux-glibc2.12-x86_64.tar.xz1、安装前检查1.1、系统版本[root@leo-mysql-master~]#cat/etc/*releaseNAME="RedHatEnterpriseLinuxServer"VERSION="7.3(Maipo)"ID=......
  • anaconda Prompt要切换到什么路径才能正确安装
    anacondaPrompt五个常见的切换路径,以Windows操作系统为例。假设我们要安装一个名为"tensorflow"的Python包。1.切换到用户主目录:在Windows中,用户的主目录通常是"C:\Users\用户名",因此可以使用以下命令切换到该目录下。cdC:\Users\用户名然后再执行安装命令:pipinsta......
  • cypress安装与使用
    官方文档:https://docs.cypress.io/guides/getting-started/installing-cypress结合git代码运行项目1.cd到指定目录路径,gitclone代码下来(eg我的路径是sy_cypress下)//没有的话忽略gitclone这一步2.根目录下cmd,输入命令安装cypress:npm install cypress--save-dev运行安装路......
  • 如何调整Gitlab-Runner最大并发数?
    概述:我们在使用gitlab-runner做cicd时,如果安装之后没有配置gitlab-runner的最大并发数,在使用时候可能会碰到job的警告(job日志超过字节限制):job‘slogexceededlimitof4194304bytes*****查看默认最大并发数concurrent=10cat/etc/gitlab-runner/config.toml解决办法......
  • 源码安装mysql
    前言1.在下面网站找到需要安装的mysql版本https://downloads.mysql.com/archives/community/注意要选择的操作系统为linux-generic2.kafka安装方式链接有空可测试下:https://blog.csdn.net/m0_46192647/article/details/123424090一.mysql部署systemctlstopfirewalld&&s......