标签:rpm安装 span 参考 mmu lin 安装 http dep client
$ rpm -qa | grep mysql
mysql-community-common-5.7.19-1.el6.x86_64.rpm mysql-community-client-5.7.19-1.el6.x86_64.rpm mysql-community-server-5.7.19-1.el6.x86_64.rpm mysql-community-libs-5.7.19-1.el6.x86_64.rpm
按照以下顺序进行安装,因为它们之间存在依赖关系
#common --> libs --> clients --> server rpm -ivh mysql-community-common-5.7.19-1.el6.x86_64.rpm rpm -ivh mysql-community-libs-5.7.19-1.el6.x86_64.rpm rpm -ivh mysql-community-clients-5.7.19-1.el6.x86_64.rpm rpm -ivh mysql-community-server-5.7.19-1.el6.x86_64.rpm
如果不按照这样的顺序,将会出现如下错误:
# error: Failed dependencies: libnuma.so.1()(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64 libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64 libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64
解决方法:
$ yum install -y numactl
#mysql配置文件 $ ls /etc/my.cnf # mysql命令 $ cd /usr/bin/ $ ls | grep mysql $ /etc/init.d/mysqld start $ ps aux|grep mysqld
请参考:
标签:rpm安装 span 参考 mmu lin 安装 http dep client
原文地址:https://www.cnblogs.com/jing99/p/9684199.html