sem推广,网站权重对优化的作用,济南网络建站,广州市司法职业学校SPDK的部署可以参考官方 https://github.com/spdk/spdk 有文档
这里记录一下#xff0c;基于 Anolis OS release 8.6 kernel 5.10.134-13.an8.x86_64v 下的部署以及遇到的问题
使用 v22 版本 #xff0c; 这里会git clone github项目#xff0c;国内访问github会失败…SPDK的部署可以参考官方 https://github.com/spdk/spdk 有文档
这里记录一下基于 Anolis OS release 8.6 kernel 5.10.134-13.an8.x86_64v 下的部署以及遇到的问题
使用 v22 版本 这里会git clone github项目国内访问github会失败建议自行GG解决github访问过慢问题哈
下载 源代码
#cd /opt
#git clone -b v22.09.x http://github.com/spdk/spdk
#cd spdk
#git submodule update --init //这里会遇到各种github不通问题不断地执行该命令直到不报错为止前提准备 , 自动安装SPDK相关依赖包
#./scripts/pkgdep.sh //这里很愉快的完成了编译
#./configure
#make单元测试
#./test/unit/unittest.sh 错误
遇到pip 安装grpcio 相关包失败的
#vim scripts/pkgdep/rhel.shif ! [[ $ID centos $VERSION_ID 7 ]]; then# Problem with modules compilation on Centos7pip3 install grpcio -i https://pypi.tuna.tsinghua.edu.cn/simplepip3 install grpcio-tools -i https://pypi.tuna.tsinghua.edu.cn/simple
fi提示安装python 失败 , Error: Unable to find a match: python
#vim scripts/pkgdep/centos.sh
if echo $ID $VERSION_ID | grep -E -q centos 8|rhel 8|rocky 8; thenyum install -y python36 python36-devel#Create hard link to use in SPDK as pythonif [[ ! -e /usr/bin/python -e /etc/alternatives/python3 ]]; thenln -s /etc/alternatives/python3 /usr/bin/pythonfi
elseyum install -y python3-devel#yum install -y python python3-develThere are following alternatives for “python”: python2, python36, python38, python39
#vim scripts/pkgdep/centos.sh
支持龙溪 8使用python 36
if echo $ID $VERSION_ID | grep -E -q centos 8|rhel 8|rocky 8|anolis 8; thenyum install -y python36 python36-devel#Create hard link to use in SPDK as pythonif [[ ! -e /usr/bin/python -e /etc/alternatives/python3 ]]; thenln -s /etc/alternatives/python3 /usr/bin/pythonfi
elseyum install -y python python3-devel
fi