Board logo

标题: [求助] 我安装2.5的版本的时候出现Install Error: mysql configure err [打印本页]

作者: shin0406    时间: 2016-6-28 16:39     标题: 我安装2.5的版本的时候出现Install Error: mysql configure err

本帖最后由 shin0406 于 2016-6-28 16:48 编辑

以下是出错情况
我用的阿里云 ECS服务器
我的系统是 cent os 6.5 64位


[root@iZ25ps2cpynZ ~]# sh install.sh
Loaded plugins: security
Setting up Install Process
No package screen available.
Error: Nothing to do
Cannot find 'screen' command,install without screen(default yes)?
(Yes/No): Yes
Select Install
    1 apache + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
    2 nginx + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
    3 nginx + apache + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
    4 install all service
    5 don't install is now

Please Input 1,2,3,4,5: 4
Select php version:
    1 php-5.2.17 (default)
    2 php-5.3.29

Please Input 1,2: 2
Retrieving http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.e                                                              l6.rf.x86_64.rpm
Preparing...                ##################################################
rpmforge-release            ##################################################
Loaded plugins: security
^CWarning: RPMDB altered outside of yum.
28 Jun 15:37:17 ntpdate[1200]: the NTP socket is in use, exiting
setenforce: SELinux is disabled
Preparing...                ##################################################
        package rpmforge-release-0.5.3-1.el6.rf.x86_64 (which is newer than rpmforge-release-0.5.2-                                           2.el5.rf.x86_64) is already installed
        file /etc/apt/sources.list.d/rpmforge-extras.list from install of rpmforge-release-0.5.2-2.                                           el5.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.2-2                                           .el5.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-2.el5.rf.                                           x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el5                                           .rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.                                           el5.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-2.el5.rf.x                                           86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-2.el5.r                                           f.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-2.el5.rf.x86_                                           64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/yum.repos.d/mirrors-rpmforge-extras from install of rpmforge-release-0.5.2-2.el5.                                           rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/yum.repos.d/mirrors-rpmforge-testing from install of rpmforge-release-0.5.2-2.el5                                           .rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
        file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-2.el5.rf.x86_64                                            conflicts with file from package rpmforge-release-0.5.3-1.el6.rf.x86_64
Loaded plugins: security
Setting up Install Process
No package libtool-ltdl-devel available.
No package gd-devel available.
No package freetype-devel available.
No package libxml2-devel available.
No package libjpeg-devel available.
No package libpng-devel available.
No package openssl-devel available.
No package curl-devel available.
Package libmcrypt-devel-2.5.7-1.2.el6.rf.x86_64 already installed and latest version
Package mhash-devel-0.9.9-1.el6.rf.x86_64 already installed and latest version
No package ncurses-devel available.
No package libcap-devel available.
No package sysklogd available.
Nothing to do
28 Jun 15:37:20 ntpdate[1252]: the NTP socket is in use, exiting
setenforce: SELinux is disabled

installing mysql,this may take a few minutes,hold on plz...
configure in progress ...


----Install Error: mysql configure err -----------
作者: admin    时间: 2016-6-28 17:08

yum更新有问题
作者: shin0406    时间: 2016-6-28 17:24

回复 2# admin


    那么怎么解决呢?
作者: beihaiidc    时间: 2017-7-13 17:16

CentOS

1、备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/

CentOS 5

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

CentOS 6

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

CentOS 7

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3、之后运行yum makecache生成缓存




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