求救! lnmp1.6 mysql PHP安装失败
本帖最后由 nicole0169 于 2019-11-20 16:04 编辑Checking ...
Nginx: OK
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
Linode VPS
系统环境: CentOS release 6.7 (Final) 选择安装的是MySQL 5.6 / PHP 7.1 Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection
* base: mirror.keystealth.org
* epel: sjc.edge.kernel.org
* extras: sjc.edge.kernel.org
* updates: mirror.sjc02.svwh.net
Package(s) php* available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Cleaning repos: base docker-ce-stable epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Yum installing dependent packages...[0m
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
你系统上的yum不正常导致的
linode系统上默认的源地址都是mirrors.linode.com你,你可能自己修改过
linode可以直接使用stackscripts里搜索 licess ,使用stackscripts快速部署 谢谢军哥! 感谢军哥,我已经安装成功了。
解决的方法如下,贴出来也供大家参考:
yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again
在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源。
解决方法: 一句话:把/etc/yum.repos.d/epel.repo,文件第3行注释去掉,把第四行注释掉。具体如下:
打开/etc/yum.repos.d/epel.repo,将
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
修改为
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
页:
[1]