
所需软件 建议版本
libaio-devel 建议版本:0.3.109-13
flex 要求版本:2.5.31 以上
bison 建议版本:2.7-4
ncurses-devel 建议版本:5.9-13.20130511
glibc-devel 建议版本:2.17-111
patch 建议版本:2.7.1-10
redhat-lsb-core 建议版本:4.1
readline-devel 建议版本 :7.0-13
libnsl(openeuler+x86环境中) 建议版本 :2.28-36
1.2.2 安装软件依赖包
1.2.2.1 软件依赖要求
1.2.2.2 安装软件依赖包
1.2.3 修改操作系统配置
1.2.3.1 修改操作系统参数
source /etc/profile
echo "/usr/local/python3/lib/" >> /etc/ld.so.conf
ldconfig
-- 如遇如下报错
python3: error while loading shared libraries: libpython3.6m.so.1.0: cannot
open shared object file: No such file or directory
可执行 cp /usr/local/python3/Python-3.6.5/libpython3.6m.so.1.0 /usr/lib64/
17
18
19
20
21
22
23
-- root用户 【所有节点】
-- 安装依赖包
yum install -y libaio-devel flex bison ncurses-devel glibc-devel patch
redhat-lsb-core readline-devel zlib readline gcc perl-ExtUtils-Embed
readline-devel zlib-devel expect
-- 检查是否已安装
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep -E
"libaio-devel|flex|bison|ncurses-devel|glibc-devel|patch|redhat-lsb-
core|readline-devel|zlib|readline|gcc|python|python-devel|perl-ExtUtils-
Embed|readline-devel|zlib-devel|expect"
1
2
3
4
5
6
-- root用户 【所有节点】
-- 添加如下参数:
cat>>/etc/sysctl.conf <<EOF
net.ipv4.tcp_fin_timeout=60
net.ipv4.tcp_retries1=5
1
2
3
4
5
评论