1 ) Error "FASTPANEL package have already been installed on the server. Exiting.\n"
;;
esac
复制代码
注意yum -q list installed |grep -cE "$1\..+\s",也就是说fastpanel是用yum安装的,很简单,去yum卸载
卸载FastPanel:
yum -y remove fastpanel2*
复制代码
基本上就可以解决掉了
如果再次安装遇到了: The Control Panel can only be installed on a fresh OS installation.
Unfortunately with the preinstalled MySQL installing is not possible.
翻译了一下,他是想说Mysql装不上
问题不大兄弟们
因为我之前装了个MariaDB (也不排除是你之前装的,如果是请备份数据)
所以我们干掉MariaDB就可以了
如果你是纯粹的Mysql就www.baidu.com,请
yum -y remove MariaDB-common
复制代码
系统会把MariaDB一起的依赖删掉
按道理来说就能解决
如果再次安装遇到了: Installing web service: nginx, httpd, php
[Failed]
Oops! I've failed to install control panel... Please look for the reason in "/tmp/install_fastpanel.debug" log file.'
Feel free to send the log to my creators via ticket at https://cp.fastpanel.direct/ and they will do their best to help you!
翻译了一下,装不上ngnix,httpd,php
然后看了日志:
没有可用软件包 nginx。
没有可用软件包 httpd。
没有可用软件包 php。
这应该是脚本想要yum安装这三样,然后找不到
这时候就该更新源了