Configuring the GitLab CI Runner
· β˜• 4 min read
1. Downloading and Configuring the Runner 1.1 Downloading the Runner The GitLab CI Runner is a program package written in Go; you can download it from the official site to your local machine. 1 2 yum install -y wget wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 Add execute permission 1 chmod +x /usr/local/bin/gitlab-runner 1.

How to Synchronize and Back Up a Git Repository
· β˜• 1 min read
Because the Git repository currently in use is about to become unavailable, the repository code needs to be migrated to a new Git repository. The specific procedure is as follows: Log in to the new repository and create a repository. After creation, the new repository address is: http://gitlab.your-new-domain.com/project.git Clone the old repository as a mirror locally: 1 2 3 git clone --mirror http://gitlab.

Nginx Configuration Problem Record
· β˜• 1 min read
1. server_name Has No Effect Symptom: Nginx reverse-proxies two applications, and the configuration details are as follows. It turned out that requests to b.chenshaowen.com and a.chenshaowen.com both returned responses from service A. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 server

An Introduction to Various Python Environment Isolation Tools
· β˜• 3 min read
1. Non-standard Library 1.1 virtualenv virtualenv is a very popular tool for creating isolated python libraries environments. I strongly recommend you learn about it, because it is very practical and widely used; many people use it to set up python development environments. The other tools below are mainly compared against virtualenv to illustrate the differences.

How to Use Docker to Develop Personal Projects
· β˜• 2 min read
1. About Personal Projects Why emphasize that they are personal projects? Commercial projects have lengthy processes around code hosting, development, operations, and deployment. For an individual developer, such processes are too expensive and work against rapid project iteration. A personal project might be a Demo for learning. Building a Demo