gitlab

以下是为您整理出来关于【gitlab】合集内容,如果觉得还不错,请帮忙转发推荐。

【gitlab】技术教程文章

centos8.2安装gitlab【图】

gitlab比较吃内存建议4G以上的内存 1.安装gitlab的依赖,如果报错不用管,centos8没有policycoreutils-python yum源 yum install -y curl policycoreutils-python openssh-server 2.启动ssh并设置为开机自启动systemctl enable sshdsystemctl start sshd 3.下载postfixyum -y install postfixsystemctl start postfix systemctl enable postfix 4.添加http服务到firewalld,pemmanent表示永久生效,若不加–permanent系统下次启动后...

Centos7 docker 部署Gitlab

首先安装 Docker 必要依赖包 : yum install -y yum-utils device-mapper-persistent-data lvm2 由于自带 yum 没有 Docker-CE 所以我们需要先增加 docker repo: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 用 yum 安装 Docker: yum install -y docker-ce 直接yum安装,安装成功后查看版本 docker -v 启动docker systemctl restart docker.service 设置开机启动 systemctl enable d...

WindowsServer2019下使用Docker搭建内网GitLab【代码】【图】

文章目录 导读需求文档说,要有域名。第一次尝试第二次尝试第三次尝试 DNS配置一定要优先设置域!哪怕你是管理员也不准改的文件! 绑定域名测试访问配置DNSWindows所有版本通用的方法Ubuntu的方法 图片服务器搭建Docker坑一:文件映射坑二:文件共享坑三:Docker无法启动坑四:404坑五:提交代码 最后补充说明 导读 由于实验室并不完全是做的开源项目,也有一些需要签订保密协议的项目。所以,实验室的内网GitLab相当有必要了。 如...

CentOS7 部署 GitLab【代码】

CentOS7 部署 GitLab参考 官方安装文档Gitlab Community Edition 镜像使用帮助gitlab备份与恢复gitlab 安装、备份与还原及常见设置 安装安装必要的依赖和配置防火墙 sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl enable sshd sudo systemctl start sshd sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --permanent --add-service=https sudo systemctl reload firewalld...

Gitlab+Gerrit+Ldap+nginx+mysql 之Gerrit搭建与配置(一)【代码】

公司之前一直用gitlab来存放项目代码 ,目前因为业务需要(代码bug太多)需要引入gerrit来进行code review。 最初用的是centos 7.4,但是安装完成后,GerritResource中没有ALL_Project.git和All_Users.git生成,日志中一直在报错,反复装了几次后发现,在centos7上的兼容性不是太完美,所以采购了centos6.8 服务器进行安装,还是比较顺利的完成了安装。 另外本文采用LDAP认证,LDAP的配置本文不做讲解,参考其他文章。 已经在用:gi...

gitlab-mysql_高可用

### Mysql 高可用 Mysql 高可用采用双主方案; 1. 两个 mysql节点,分别安装在 192.168.1.247, 192.168.1.248; 2. 准备\_Mysql01节点 修改配置文件,添加授权用户 2.1 修改mysql的配置文件,并重启mysql```bash ... [mysqld] ... #bind-address = 127.0.0.1 log-bin=mysql-bin log-bin-index=mysql-bin.index server-id = 1 ... ```2.2 添加远程复制用户```mysql mysql> grant repl...

centos单机安装nginx、gitlab、nexus、mysql共存

原文链接:http://www.cnblogs.com/assion/p/7200306.html思路就是不同系统设不同端口号,通过nginx做反向代理绑定不同域名。 nginx 安装 1、安装pcre软件包(使nginx支持http rewrite模块)yum install -y pcreyum install -y pcre-devel 2、安装openssl(使nginx支持ssl)yum install -y openssl-devel 3、创建用户groupadd nginxuseradd -g nginx nginx 3、安装nginx[root@localhost nginx-1.11.2]# ./configure --group=ngin...

访问GitLab的PostgreSQL数据库

1.登陆gitlab的安装服务查看配置文件 [root@node06 ~]# cat /var/opt/gitlab/gitlab-rails/etc/database.yml # This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. production: adapter: postgresql encoding: unicode collation: database: gitlabhq_production //数据库名 pool: 10 us...

php – Gitlab CI Symfony:SQLSTATE [HY000] [2002] Connection拒绝了【代码】

每次有人推送代码时,我都会使用gitlab运行单元测试.我在作曲家安装期间遇到此错误.> Incenteev\ParameterHandler\ScriptHandler::buildParameters Creating the "app/config/parameters.yml" file > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache[Doctrine\DBAL\Exception\ConnectionException] ...

postgresql – 如何配置gitlab以使用现有的postgres服务器【代码】

默认情况下安装Gitlab时,无论是否已安装,都会安装Nginx和Postgres ..等等.因为我已经有了这两个,我正在尝试配置gitlab来使用它们,我已经为Nginx做了这个,使用:$vi /etc/gitlab/gitlab.rb:# Disable GitLab's nginx completely nginx['enable'] = false# Set external web user which is 'nginx' on CentOS 7 web_server['external_users'] = ['nginx']但我需要知道如何做同样的postgres.解决方法:根据this doc,将其放在/etc/gitla...