Installation and use of Gitlab on CentOS7

The company’s project requires Gitlab to be installed on the server, but since the server has not yet arrived, the author first practiced the entire process on the VMware virtual machine of my laptop, hoping to help classmates or colleagues. The following is the record. 1. Environment preparation before installation First, determine whether the virtual […]

“Upgrading is seeking death, not upgrading is waiting for death”, the painful upgrade path of GitLab CE

Editor’s note: This article is reprinted from the public account Operation and Maintenance Shitang. The author has been contacted to obtain reprint authorization. In the more than ten years of development of GitLab, it has accumulated a large number of CE users in China. However, many CE users do not follow GitLab’s release rhythm (monthly […]

Use Gitlab to build your own private library on Linux and configure cpolar intranet penetration

Article directory Preface 1. Download GitLab 2. Install GitLab 3. Start GitLab 4. Install cpolar 5. Create tunnel configuration access address 6. Fixed GitLab access address 6.1 Reserve second-level subdomain names 6.2 Configure the second-level subdomain name 7. Test access to second-level subdomain names Foreword GitLab is an open source project for warehouse management systems. […]

Jenkins implements CI/CD release (Ansible/jenkins shared library/gitlab)

Jenkins implements multi-environment release 1. Requirement Introduction I am responsible for the front-end business module of the company. Since there are many front-end modules, when writing the jenkinsfile, most of the codes used by many projects will be the same. To solve this problem, the shared library method of Jenkins is used to optimize, and […]

gitlab repository installation

gitlab repository installation Download address https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/ https://packages.gitlab.com/gitlab/gitlab-ce Here we take gitlab-ce-14.3.0 as an example Install dependencies [root@ebs-139265 opt]# sudo yum install -y curl policycoreutils-python openssh-server perl [root@ebs-139265 opt]# sudo systemctl enable sshd [root@ebs-139265 opt]# sudo systemctl start sshd ### If you don’t have a firewall enabled, you don’t need to execute the following command. [root@ebs-139265 […]

Linux deployment GitLab & idea connection

Overview GitLab is an open source code management platform that uses Git as a version control tool and provides a web interface and multiple functions, such as wiki, issue tracking, CI/CD, etc. GitLab can be self-hosted or use a SaaS service and supports a variety of operating systems and executors. GitLab can help software development […]

gitlab docker deployment, backup, recovery. Attached is the pitfall record

This installation is performed under CentOS7 1. Install yum Check if yum is installed yum –version If not installed sudo yum install -y yum-utils Add mirror source: Foreign image source: yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo Ali mirror source: yum-config-manager –add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/decker-ce.repo 2. Install docker Install the latest version (default): yum install docker-ce Install the specified version: yum […]

The most detailed tutorial on building a local GitLab code warehouse on the Internet

General steps Install the VMware virtual machine locally. Then install the CentOs7 mirror system on the virtual machine. Install GitLab-Ce in Linux. Install GitLab-Runner in Linux Create a project on your own GitLab, then pull it locally and submit it to achieve automated deployment. Step 1 I have explained how to install a Linux system […]