- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2022-4-6
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
按这个步骤操作下来,最后安装失败,请军哥帮忙看下原因
[0;32mPress any key to install...or Press Ctrl+c to cancel[0m
You will install lnmp stack.
nginx-1.20.1
mysql-5.7.34
php-7.3.29
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 1.8
CentOS 7
\S
Kernel \r on an \m
CentOS Linux release 7.5.1804 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.5.1804 (Core)
CentOS Linux release 7.5.1804 (Core)
Linux iZf4o01zcmr4ucorfkc068Z 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Memory is: 3789 MB
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 99G 17G 77G 18% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 504K 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 379M 0 379M 0% /run/user/0
/dev/loop0 8.8G 8.8G 0 100% /mnt/dvd
OpenSSL 1.0.2k-fips 26 Jan 2017
Hosts: ok.
PING lnmp.org (168.235.75.115) 56(84) bytes of data.
--- lnmp.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
DNS...ok
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package python3 available.
Error: Nothing to do
[0;34mSetting timezone...[0m
Wed Apr 6 10:58:56 CST 2022
[0;34m[-] Yum remove packages...[0m
error: package httpd is not installed
error: package httpd-tools is not installed
Loaded plugins: fastestmirror
No Match for argument: mysql-server
No Match for argument: mysql
No Match for argument: mysql-libs
No Match for argument: mariadb-server
No Match for argument: mariadb
No Match for argument: mariadb-libs
No Packages marked for removal
error: package mysql is not installed
error: package mysql-libs is not installed
error: package mariadb is not installed
error: package mariadb-libs is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
Loaded plugins: fastestmirror
No Match for argument: httpd*
No Packages marked for removal
Loaded plugins: fastestmirror
No Match for argument: php*
No Packages marked for removal
Loaded plugins: fastestmirror
Cleaning repos: local-media
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[0;34m[+] Yum installing dependent packages...[0m
Loaded plugins: fastestmirror
Determining fastest mirrors
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package cmake.x86_64 0:2.8.12.2-2.el7 will be installed
--> Processing Dependency: libarchive.so.13()(64bit) for package: cmake-2.8.12.2-2.el7.x86_64
--> Running transaction check
---> Package libarchive.x86_64 0:3.1.2-10.el7_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package iptables-services.x86_64 0:1.4.21-24.el7 will be installed
--> Processing Dependency: iptables = 1.4.21-24.el7 for package: iptables-services-1.4.21-24.el7.x86_64
--> Running transaction check
---> Package iptables.i686 0:1.4.21-24.el7 will be installed
--> Processing Dependency: libnfnetlink.so.0 for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libnetfilter_conntrack.so.3 for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libm.so.6(GLIBC_2.1) for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libm.so.6 for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libdl.so.2 for package: iptables-1.4.21-24.el7.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package: iptables-1.4.21-24.el7.i686
--> Running transaction check
---> Package glibc.i686 0:2.17-222.el7 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-222.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-222.el7.i686
---> Package libnetfilter_conntrack.i686 0:1.0.6-1.el7_3 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.1) for package: libnetfilter_conntrack-1.0.6-1.el7_3.i686
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0) for package: libnetfilter_conntrack-1.0.6-1.el7_3.i686
--> Processing Dependency: libmnl.so.0 for package: libnetfilter_conntrack-1.0.6-1.el7_3.i686
---> Package libnfnetlink.i686 0:1.0.1-4.el7 will be installed
--> Running transaction check
---> Package libmnl.i686 0:1.0.3-7.el7 will be installed
---> Package nss-softokn-freebl.i686 0:3.34.0-2.el7 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for iptables which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of iptables of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude iptables.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of iptables installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of iptables installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: iptables-1.4.21-24.el7.i686 != iptables-1.4.21-24.1.el7_5.x86_64
Error: Protected multilib versions: nss-softokn-freebl-3.34.0-2.el7.i686 != nss-softokn-freebl-3.36.0-5.el7_5.x86_64
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 LNMP...
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 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 from /etc/systemd/system/multi-user.target.wants/php-fpm.service to /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
[0;31mPlease visit 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
|
|