清理ZeroTier并且重装ZeroTier
卸载 ZeroTier 包:
sudo apt-get remove --purge zerotier-one
删除残留文件和目录:
sudo rm -rf /etc/init/zerotier-one.conf
sudo rm -rf /etc/init.d/zerotier-one
sudo rm -rf /lib/systemd/system/zerotier-one.service
sudo rm -rf /usr/sbin/zerotier-one
sudo rm -rf /usr/share/doc/zerotier-one
sudo rm -rf /usr/share/man/man1/zerotier-cli.1.gz
sudo rm -rf /usr/share/man/man1/zerotier-idtool.1.gz
sudo rm -rf /usr/share/man/man8/zerotier-one.8.gz
sudo rm -rf /var/lib/zerotier-one
sudo rm -rf /usr/sbin/zerotier-cli
sudo rm -rf /usr/sbin/zerotier-idtool\
清理缓存:
sudo apt-get clean
更新 APT 列表:
sudo apt-get update
重新安装 ZeroTier:
curl -s https://install.zerotier.com/ | sudo bash
启动并启用服务:
sudo systemctl start zerotier-one
sudo systemctl enable zerotier-one
检查服务状态:
sudo systemctl status zerotier-one
检查日志:
sudo journalctl -u zerotier-one.service
发表评论