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

相關文章
相關標籤/搜索