新的阿里云ecs服务器安装1.7版本报错
如题,我不晓得是不是要提前设置什么,我的服务器是2核4g,日志如下:iptables-services x86_64 1.8.4-15.el8 baseos 61 k
Transaction Summary
================================================================================
Install1 Package
Total download size: 61 k
Installed size: 20 k
Downloading Packages:
iptables-services-1.8.4-15.el8.x86_64.rpm 397 kB/s |61 kB 00:00
--------------------------------------------------------------------------------
Total 80 kB/s |61 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : iptables-services-1.8.4-15.el8.x86_64 1/1
Running scriptlet: iptables-services-1.8.4-15.el8.x86_64 1/1
Verifying : iptables-services-1.8.4-15.el8.x86_64 1/1
Installed:
iptables-services-1.8.4-15.el8.x86_64
Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables: ^[^M
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Add iptables service at system startup...
Created symlink /etc/systemd/system/multi-user.target.wants/iptables.service → /usr/lib/systemd/system/iptables.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /etc/systemd/system/nginx.service.
Add mysql service at system startup...
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
Add php-fpm service at system startup...
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /etc/systemd/system/php-fpm.service.
============================== Check install ==============================
Checking ...
^[[0;32mNginx: OK^[[0m
^[[0;31mError: MySQL install failed.^[[0m
^[[0;31mError: PHP install failed.^[[0m
^[[0;31mSorry, Failed to install LNMP!^[[0m
^[https://bbs.vpser.net/forum-25-1.html feedback errors and logs.^[[0m
^[[0;31mYou can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.^[[0m
像是没有权限 在安装之前需要设置什么权限之类的吗? 按反馈必读要求提供日志,没有日志无法确定什么原因 请军哥再看看,日志如附件 licess 发表于 2020-12-9 15:57
按反馈必读要求提供日志,没有日志无法确定什么原因
军哥,再帮忙看看,谢谢了,日志已经上传了
yum repolist all|grep PowerTools
cat /etc/yum.repos.d/CentOS-PowerTools.repo
执行上面2个命令贴一下返回结果
看一下,估计可能你系统上没设置powertools源 # yum repolist all|grep PowerTools
# cat /etc/yum.repos.d/CentOS-PowerTools.repo
cat: /etc/yum.repos.d/CentOS-PowerTools.repo: No such file or directory yum repolist all|grep PowerTools 没有任何返回消息?
grep -r "PowerTools" /etc/yum.repos.d/
yum repolist all -v 看一下
你这系统是新装的没有安装过任何软件的吗?
页:
[1]