yum安装软件虽然很方便,但最讨厌的莫过于,yum源中找不到软件,所以,增加额外的yum源是非常有必要的,以下适合CentOS7。
#remi源(安装好以后最好别运行yum update) rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #EPEL源 rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-7.noarch.rpm #RPMForge源 rpm -ivh http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm #MysqL官方源(5.7版本,搞定后直接 yum install MysqL-community-server 安装) rpm -ivh https://dev.MysqL.com/get/MysqL57-community-release-el7-11.noarch.rpm
搞定后,直接运行以下命令即可:
yum clean all yum makecache原文链接:https://www.f2er.com/bash/390565.html