Centos 7 安装lnmp 1.9 失败
系统是 centos 7,64位附件超过1M了,我传到网上了,可以下载:https://gamblingchain.com/lnmp-install.log
failure: repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2 from epel: No more mirrors to try.
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2: HTTP Error 404 - Not Found
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Redirecting to /bin/systemctl reload iptables.service
Failed to reload iptables.service: Unit not found.
Add iptables service at system startup...
error reading information on service iptables: No such file or directory
error reading information on service iptables: No such file or directory
Add Startup and Starting LNMPA...
Add nginx service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /etc/systemd/system/nginx.service.
Add mariadb service at system startup...
Add httpd service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /etc/systemd/system/httpd.service.
============================== Check install ==============================
Checking ...
[0;32mNginx: OK[0m
[0;31mError: MariaDB install failed.[0m
[0;31mError: PHP install failed.[0m
[0;31mError: Apache install failed.[0m
[0;31mSorry, Failed to install LNMP![0m
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: asi-fs-w.contabo.net
* extras: mirror-prg.webglobe.com
* updates: asi-fs-w.contabo.net
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/84ddf95a3557f665685dd99d0508a4891df6b1a5f9c8763fb4be705773350021-updateinfo.xml.bz2: HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2: HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2: HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2: HTTP Error 404 - Not Found
Trying other mirror.
One of the configured repositories failed (Extra Packages for Enterprise Linux 7 - x86_64),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=epel ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable epel
or
subscription-manager repos --disable=epel
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=epel.skip_if_unavailable=true
failure: repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2 from epel: No more mirrors to try.
http://mirrors.ustc.edu.cn/epel/7/x86_64/repodata/f20d1635ae71b25fe0d31310c8165f6a887f283c9bdf0a8e275da66b78ea3734-primary.sqlite.bz2: HTTP Error 404 - Not Found
.....
CMake Error at CMakeLists.txt:107 (CMAKE_MINIMUM_REQUIRED):
CMake 3.0.0 or higher is required.You are running version 2.8.12.2
-- Configuring incomplete, errors occurred!
首先对于mariadb 10.6老说centos 7已经太老了,不满足安装要求,非要用centos 7可以参考论坛之前的cmake升级教程
其次你这网络访问epel源都是404,可以按下面命令换个源试一下
sed -i 's!//mirrors\.ustc\.edu\.cn!//mirrors.aliyun.com!g' /etc/yum.repos.d/epel*.repo 好的,我先换下试试,感谢军哥回复
页:
[1]