Board logo

标题: [求助] 阿里云的VPS上安装失败 [打印本页]

作者: xy83918    时间: 2012-6-1 01:37     标题: 阿里云的VPS上安装失败

直接安装sh in.sh时

  1. useradd: user 'wdcpu' already exists
  2. installing mysql...
  3. checking build system type... x86_64-unknown-linux-gnu
  4. checking host system type... x86_64-unknown-linux-gnu
  5. checking target system type... x86_64-unknown-linux-gnu
  6. checking for a BSD-compatible install... /usr/bin/install -c
  7. checking whether build environment is sane... yes
  8. checking for a thread-safe mkdir -p... /bin/mkdir -p
  9. checking for gawk... gawk
  10. checking whether make sets $(MAKE)... no
  11. checking how to create a ustar tar archive... gnutar
  12. checking for style of include used by make... none
  13. checking for gcc... no
  14. checking for cc... no
  15. checking for cl.exe... no
  16. configure: error: in `/root/lanmp/mysql-5.1.61':
  17. configure: error: no acceptable C compiler found in $PATH
  18. See `config.log' for more details.

  19. ----Install Error: mysql configure err -----------
复制代码


在网上搜了一下可能是少 gcc
结果yum install gcc时又有如下报错

  1. Error: Package: glibc-headers-2.12-1.47.el6_2.12.x86_64 (updates)
  2.            Requires: kernel-headers >= 2.2.1
  3. Error: Package: glibc-headers-2.12-1.47.el6_2.12.x86_64 (updates)
  4.            Requires: kernel-headers
  5. You could try using --skip-broken to work around the problem
  6. ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
  7. kernel-2.6.32-220.13.1.el6.x86_64 has missing requires of kernel-firmware >= ('0
  8. ', '2.6.32', '220.13.1.el6')
复制代码


求助
作者: admin    时间: 2012-6-1 08:54

http://www.wdlinux.cn/bbs/thread-2287-1-1.html
作者: xy83918    时间: 2012-6-1 12:15

请修改文件vi /etc/yum.conf 将exclude=kernel*前加注释即可解决
作者: xy83918    时间: 2012-6-1 12:48

请修改文件vi /etc/yum.conf 将exclude=kernel*前加注释即可解决
作者: 吞噬    时间: 2014-2-14 16:58

RPM 包安装就没有这个问题、我用编码安装也是这个问题、
RPM包安装
wget http://down.wdlinux.cn/in/lanmp_wdcp_ins.sh
sh lanmp_wdcp_ins.sh
就可以
RPM包安装支持系统:CentOS 5.X/wdlinux_base 5.X/wdOS 1.0,CentOS 6.X ,32位,64位均支持

卸载 (切记备份好数据)
sh lanmp_wdcp_ins.sh uninstall
就可以




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2