我使用的是 Windows 10。我已经在上面安装了 VMWARE 工作站和 CentOS 7。我的目标是在我的 CentOS 7 中安装 powerdns。但我收到如下错误:
# yum install mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.myfahim.com
* epel: mirror.lzu.edu.cn
* extras: mirror.myfahim.com
* remi-safe: mirrors.tuna.tsinghua.edu.cn
* updates: mirror.myfahim.com
No package mysql-server available.
Error: Nothing to do
然后我尝试安装 LAMP 服务器。但再次得到以下错误:
# yum install lamp-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.myfahim.com
* epel: mirror.lzu.edu.cn
* extras: mirror.myfahim.com
* remi-safe: mirrors.tuna.tsinghua.edu.cn
* updates: mirror.myfahim.com
No package lamp-server available.
Error: Nothing to do
我也试过这个:
# yum install mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.myfahim.com
* epel: mirror.lzu.edu.cn
* extras: mirror.myfahim.com
* remi-safe: mirrors.tuna.tsinghua.edu.cn
* updates: mirror.myfahim.com
Package 1:mariadb-5.5.68-1.el7.x86_64 already installed and the latest version
Nothing to do
我尝试了最可能的方法来解决谷歌的问题。没有什么真正起作用,这条线恰好是:
No package .... available.
Error: Nothing to do
I need **mysql** to be installed or I won't be able to install **powerdns.**