注意: 以下命令需要用root登 入系统执行, 以下的命令不是都要执行, 个人根据自己的情况决定要不要删, 用不到的建议删除, 或者你看不懂命令做什么那建议什么都不要做, 以免自己给自己找麻烦..
PHP
systemctl stop php*
apt-get autoremove php* -y
find / -name "php" |xargs rm -rf
nginx
systemctl stop nginx*
apt-get autoremove nginx* -y
find / -name "nginx" |xargs rm -rf
rm -rf /var/www
Aria2
systemctl stop aria*
apt-get autoremove aria2 -y
find / -name "aria2" |xargs rm -rf
Transmission
systemctl stop transmission*
apt-get autoremove transmission* -y
find / -name "transmission" |xargs rm -rf
页面终端
systemctl stop ttyd.service
find / -name "ttyd" |xargs rm -rf
kms
systemctl stop vlmcsd
find / -name "vlmcsd" |xargs rm -rf
FRP
systemctl stop frpc.service
find / -name "frp" |xargs rm -rf
NFS
apt-get autoremove nfs* -y
samba
apt-get autoremove samba* -y
FTP
systemctl stop vsftpd
apt-get autoremove vsftpd -y
find / -name "vsftpd" |xargs rm -rf
echo 手动关闭6010端号
echo 编辑:vi /etc/ssh/sshd_config
echo 注释:X11Forwarding yes
netstat -at
photoalbum
systemctl stop photoalbum
systemctl disable photoalbum
rm -rf /opt/photoalbum
运行这三条命令。
apt-get autoclean # 清理旧版本的软件缓存
apt-get clean # 清理所有软件缓存