1. rockylinux 9
命令行:
mv libpython3.so libpython3.so_
ln -s /usr/lib64/libpython3.9.so.1.0 libpython3.so
打开防火墙:
命令
firewall-cmd --zone=public --add-port=64211/tcp --permanent
firewall-cmd --reload
2. ubuntu 22.04
命令行:
mv libpython3.so libpython3.so_
ln -s /usr/lib/x86_64-linux-gnu/libpython3.10.so.1.0 libpython3.so // ubuntu 22.04
ln -s /usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0 libpython3.so //ubuntu 24.04
安装需要的包
sudo apt install gcc zlib1g-dev