精简debian VPS系统

在hostloc上看到了对debian VPS系统进行精简的脚本,果断mark!如下:
首先,系统升级:

apt-get update&&apt-get upgrade

完全多余的软件

apt-get -y purge apache2-* bind9-* xinetd samba-* nscd-* portmap sendmail-* sasl2-bin

多余的系统组件

apt-get -y purge lynx memtester unixodbc python-* odbcinst-* sudo tcpdump ttf-*

清理一下:

apt-get autoremove && apt-get clean

标签


Warning: error_log(/www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/#log/log-0212.txt): failed to open stream: No such file or directory in /www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/spider.class.php on line 2900