Function: You can remove Alibaba Cloud monitoring programs and use firewalls to block bad IP addresses to protect your privacy. Switch to another yum repository. Alibaba Cloud images lack the latest software packages. Using these old software packages may lead to security vulnerabilities. It also ensures that real one click purification can be realized under the premise of existing functions, and it can be adapted to all CentOS 7 machines, so that all CentOS 7 systems with their own templates can be optimized and purified.

characteristic:

Delete Alibaba Cloud monitoring programs and use firewalls to block bad IP addresses to protect your privacy. Switch to another yum repository. Alibaba Cloud images lack the latest software packages. Using these old software packages may lead to security vulnerabilities. (AliCloud CentOS 7+has not been tested on other operating systems.)

Optimize network connectivity and create 2 GB swaps by installing LotServer.
(For all CentOS 7 systems tested on Alibaba, Vultr, Azure, etc.) (exchange location:/var/swapx)

Three installation modes are provided:

New installation:
It is applicable to the system that has just been installed in your server control panel. Generally, it is used.

 sudo curl -sSL  https://raw.githubusercontent.com/MeowLove/AlibabaCloud-CentOS7-Pure-and-safe/master/download/kill/New_installation.sh  | sudo bash

Snapshot/mirror recovery:
It is applicable to systems that have used the clean script of the new installation, and it is executed when the system is restored after backup (that is, after using the snapshot provided by the service provider/your self built image service to restore the system, it will be inserted into the service provider's source and DNS again, and Alibaba will insert security hardening software such as Yundun).

 sudo curl -sSL  https://raw.githubusercontent.com/MeowLove/AlibabaCloud-CentOS7-Pure-and-safe/master/download/kill/Snapshot_image.sh  | sudo bash

Replace the kernel and install LotServer:
It is applicable to replace the default kernel with LotServer acceleration kernel.

 sudo curl -sSL  https://raw.githubusercontent.com/MeowLove/AlibabaCloud-CentOS7-Pure-and-safe/master/download/LotServer/install.sh  | sudo bash

Reference link:
https://github.com/MeowLove/AlibabaCloud-CentOS7-Pure-and-safe

Article Contents