我有私人服务器 我使用SSH访问我的服务器 我删除了VestaCP (我使用了http://vestacp.com/docs/#how-to-uninstall-vesta方法) 我使用UBUNTU 16.04 LTS
我试图使用以下方法清除vestaCP:
apt-get remove --purge nginx apache2 apache2-utils apache2.2-common apache2-suexec-custom libapache2-mod-ruid2 libapache2-mod-rpaf libapache2-mod-fcgid bind9 idn mysql-server mysql-common mysql-client php5-common php5-cgi php5-mysql php5-curl libapache2-mod-php5 vsftpd mc exim4 exim4-daemon-heavy clamav-daemon flex dovecot-imapd dovecot-pop3d phpMyAdmin awstats webalizer jwhois rssh git spamassassin roundcube roundcube-mysql roundcube-plugins sudo bc ftp lsof ntpdate rrdtool dnsutils vesta vesta-nginx vesta-php然后,我尝试像往常一样安装VestaCP:
curl -O http://vestacp.com/pub/vst-install.sh; bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --mysql yes --postgresql yes但我在mysql-server-5.7有错误,因为:
退出状态为11的mysql_upgrade失败 dpkg:错误处理包mysql-server-5.7
怎么解决这个问题?
发布于 2018-06-05 07:58:38
以下是VestaCP在其文档中提供的一般性建议:
//也许也尝试停止mysql-server、apache2和nginx,以防它们推迟卸载。此外,如果有任何输出/错误,您可以张贴吗?
service vesta stopyum remove vesta*
rm -f /etc/yum.repos.d/vesta.repoDebian/Ubuntu:
apt-get remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list
rm -rf /usr/local/vesta老实说,如果您处于可以清除所有这些文件的地步,那么重新安装操作系统可能会更容易。如果失败,将获得另一个VPS()。
在新服务器上安装Vesta,应用网站和数据库的任何备份,然后安装/安装在当前服务器上运行的任何服务(Vesta除外)。
如果这是完全不可能的,您可以根据您使用的版本和linux发行版,准确地了解它安装了哪些包。例如,Ubuntu版本的单击此处。
就在if [ "$release" = '16.04' ]; then下面的是脚本安装的软件块。
发布于 2017-11-11 19:36:28
尝试使用-强制使用安装命令或重新安装ubuntu。
https://stackoverflow.com/questions/46892338
复制相似问题