...
分享 机顶盒nashi-nas

hi-nas机顶盒ubuntu,删除卸载自带软件

不建议一键卸载,可能会出现问题!!!

一、查询正在运行的tcp服务

输入下面的命令,可以看到运行在tcp服务上的程序

netstat -atp

二、手动输入命令卸载

基本都是这些程序存在,手动输入指令卸载掉。

#PHP
systemctl stop php*
sudo apt-get autoremove php* -y
sudo find / -name "*php*" |xargs  rm -rf

#Nginx
systemctl stop nginx*
sudo apt-get autoremove nginx* -y
sudo find / -name "*nginx*" |xargs  rm -rf

rm -rf /var/www

#Aria2
systemctl stop aria*
sudo apt-get autoremove aria2 -y
sudo find / -name "*aria2*" |xargs  rm -rf

#Transmission
systemctl stop transmission*
apt-get autoremove transmission* -y
sudo find / -name "*transmission*" |xargs  rm -rf

#页面终端
systemctl stop ttyd.service
sudo find / -name "*ttyd*" |xargs  rm -rf

#KMS
sudo find / -name "*vlmcsd*" |xargs  rm -rf

#FRP
systemctl stop frpc.service
sudo find / -name "*frp*" |xargs  rm -rf

#NFS
apt-get autoremove nfs* -y

#FTP
systemctl stop vsftpd
apt-get autoremove vsftpd -y
sudo find / -name "*vsftpd*" |xargs  rm -rf

#Samba
systemctl stop smbd
systemctl stop nmbd
apt-get remove samba
apt-get purge samba
apt-get autoremove samba -y

三、再次查看运行在tcp上的服务

netstat -atp

整个世界安静了~~~

可以参考下面的帖子,里面有一键删除的。
https://bbs.histb.com/d/41
https://bbs.histb.com/d/1058-xie-zai-suo-you-yu-zhuang-ying-yong
https://bbs.histb.com/d/2484-shan-chu-xie-zai-zi-dai-ying-yong

hi-nas机顶盒ubuntu,扩容到外置磁盘 hi-nas机顶盒ubuntu,更改MAC网卡地址
biu biu biu
OpenVPN分配固定IP:详细指南 如何在OpenVPN中配置255.255.255.252子网 openvpn 设置外网流量走本地,异地组网流量走openvpn uniapp全局弹窗APP做全局弹窗(dialog)插件的思路 vue 做一个插件plugin 插件的创建(install)及使用方法