Last update at :2024-07-08,Edit by888u
In the previous article, I have already written "6 steps to streamline and optimize the CentOS system environment". Next, I will definitely share how to streamline and optimize the Debian system. Similarly, given Snail's ability, it will not We will come up with our own methods remotely, but we will personally check whether it is available through some existing tutorials on the Internet, and then compile and share them in full, which can at least ensure the integrity of the tutorials.
The first step is to upgrade the Debian system
apt-get update&&apt-get upgradeIt should be noted that it is best to perform these steps when we have just reinstalled the system, rather than optimizing the machine while the website is already running, to avoid machine problems.
Step 2, remove unnecessary software
apt-get -y purge apache2-* bind9-* xinetd samba-* nscd-* portmap sendmail-* sasl2-binWhat are these software used for?
apache2-* //Apache server, generally we will use the one-click installation package to install bind9-* //We do not need to use VPS to build DNS, so remove xinetd //xinetd is the service daemon samba-* //samba Allows Linux to use the windows sharing function without the need for nscd-* //DNS caching software, same as bind9, no need for portmap //Port forwarding, generally web servers do not require sendmail-* //For sending emails, keep sasl2- if necessary bin //A permission program, occupying resources, delete it
The third step, delete redundant components
apt-get -y purge lynx memtester unixodbc python-* odbcinst-* sudo tcpdump ttf-*Fourth, clear cache files
apt-get autoremove && apt-get cleanThrough the above 4 steps, you can complete the streamlined optimization of the Debian system.
Recommended site search: Mainland China registration-free host, vps foreign server, Korean server rental, Wanwang space price, Chinese international domain name, website domain name comprehensive query, virtual host 99idc, website registration information query, cpanel space, Hong Kong ip,
发表评论