VPS侦探论坛

 找回密码
 注册
查看: 4236|回复: 7

军哥!阿里云国际新加坡ecs的LNMP安装失败!求帮忙解决!

[复制链接]
发表于 2019-3-13 14:30:42 | 显示全部楼层 |阅读模式

具体机器配置如下:
CPU Model            : Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
CPU Cores            : 1 Cores @ 2499.994 MHz x86_64
CPU Cache            : 40960 KB
OS                   : CentOS 7.6.1810 (64 Bit) KVM
Kernel               : 4.14.91-bbrplus
Total Space          : 2.4 GB / 40.0 GB
Total RAM            : 83 MB / 985 MB (835 MB Buff)
Total SWAP           : 0 MB / 0 MB
Uptime               : 0 days 1 hour 7 min
Load Average         : 0.00, 0.00, 0.03
TCP CC               : bbrplus
ASN & ISP            : AS45102, Alibaba (China) Technology Co., Ltd.
Organization         : Alibaba.com Singapore E-Commerce Private Limited
Location             : Singapore, Singapore / SG
Region               : Central Singapore Community Development Council

安装了3次都出错,附件是日志!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-3-13 15:15:23 | 显示全部楼层


阿里云国际新加坡ecs的LNMP1.5安装失败!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-3-13 16:12:33 | 显示全部楼层

checking dependency style of gcc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.5/src/libiconv-1.15':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
。。。。。。
checking for uint32_t ... uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t

不大具体原因,看日志cpp、gcc-g++ 之类的包都安装上了,有可能这些包被删除了
cpp --version
gcc -dumpversion
看看 ,再 yum install glibc-headers gcc-c++ 看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-3-13 16:33:15 | 显示全部楼层

回复 3# 的帖子




Error: Nginx install failed.
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.
[root@server lnmp1.5]# cpp --version
cpp (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@server lnmp1.5]# gcc -dumpversion
4.8.5
[root@server lnmp1.5]#

我复制的部分提示,好像确实是有可能一些包被删除了,这个问题怎么解决,我root用户都没权限吗?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-3-13 16:44:20 | 显示全部楼层

问题好像在这里:

--- out.vpser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 87.293/87.330/87.356/0.342 ms
Setting timezone...
[+] Installing ntp...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* epel: mirror.horizon.vn
* extras: mirror.vodien.com
* updates: mirror.vodien.com
Package ntp-4.2.6p5-28.el7.centos.x86_64 already installed and latest version
Nothing to do
13 Mar 16:40:29 ntpdate[30573]: adjust time server 210.23.25.77 offset 0.017825 sec
Wed Mar 13 16:40:29 CST 2019
[-] Yum remove packages...
error: package httpd is not installed
error: package httpd-tools is not installed
error: package mysql is not installed
error: package mysql-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: mysql-server
No Match for argument: mysql
No Match for argument: mysql-libs
No Packages marked for removal
Loaded plugins: fastestmirror
No Match for argument: php*
No Packages marked for removal
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up list of fastest mirrors
[+] Yum installing dependent packages...
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.0x.sg
* epel: mirror.horizon.vn
* extras: mirror.0x.sg
* updates: mirror.0x.sg
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Nothing to do

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2019-3-13 16:48:27 | 显示全部楼层

我把整个ssh安装过程日志都打包发附件了,麻烦军哥帮我看看吧!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2019-3-14 09:14:40 | 显示全部楼层

这个就不大清楚了,编译过程中cpp这些按日志都找不到

是否安装了云锁之类的安全软件?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-3-14 09:57:43 | 显示全部楼层

回复 7# 的帖子


没办法了,我是自己DD的系统,刚才直接装回阿里云原系统就没有问题了,不折腾了,实在是不知道问题出在哪里?:L
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 01:35 , Processed in 0.028301 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表