CentOS Server Operations Practices
· β˜• 4 min read
Compiled from the “Development Tips” series, collecting common problems and solutions in CentOS server operations. 1. Upgrading the Docker Version Uninstall the old version of Docker 1 2 3 4 5 6 $yum remove docker \ docker-common \ container-selinux \ docker-selinux \ docker-engine \ docker-engine-selinux Images, containers, data, and networks stored in /var/lib/docker/ are all preserved.

Publishing Local Services to the Public Network with frp
· β˜• 2 min read
1. What frp Is frp is a high-performance reverse proxy application. It provides: Using a machine behind a private network or firewall to expose http or https services to the external network For http and https services, it supports domain-based virtual hosts and custom domain binding, so multiple domains can

Development Tools and Productivity Tips
· β˜• 5 min read
Compiled from the “Development Tips” series, collecting common development tools and productivity-related techniques. 1. The Babel Transpiler ES6 provides many new features, but not every browser supports them perfectly, while ES5 support is far better. Babel is an ES6 transpiler that converts ES6 code into ES5 code. This means you

Troubleshooting and Resolving Celery Failures on Large Files
· β˜• 3 min read
1. A Small Requirement We run into small requirements all the time, but they are not always simple to implement. Here is a simple file upload requirement, broken into the following steps: The user uploads a large file on the page The large file is temporarily stored in the internal

A Few Things to Do After Installing CentOS
· β˜• 2 min read
1. Replacing the Repository Mirror First, back up the official repository. 1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup Download the new repository to /etc/yum.repos.d/ CentOS 5 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo CentOS 6 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo CentOS 7 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo Generate the metadata cache. 1 yum makecache 2. Accessing NTFS File Systems The Linux kernel currently only supports reading Microsoft’s NTFS file system.