centos7编译安装MySQL8问题记录

centos7是经过最小安装形式安装的linux

已经安装好gcc相应的版本,官网要求最低gcc5.3。centos

在cmake的时候,报了以下错误:bash

Please install the appropriate openssl developer package.app

解决的方案是安装两个包:ui

yum install ncurses-devel
yum install openssl-devel

而后cmake的时候再选项中增长 -DWITH_SSH=systemcentos7

 

================================spa

otherscode

查看linux系统cpu信息:ssl

cat /proc/cpuinfo

查看linux系统CPU物理个数:get

cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l

参考资料

https://yq.aliyun.com/articles/670111

相关文章
相关标签/搜索