项目实施
环境搭建
系统搭建及初始化
关闭selinx
[root@localhost ~]# systemctl disable --now firewalld
[root@localhost ~]# systemctl status firewalld

更换时间同步服务器
[root@server ~]# date -s "2026-7-28 18:20:55"

安装依赖
[root@server ~]# dnf install -y gcc gcc-c++ make cmake zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel libffi-devel tk-devel wget tar vim tree net-tools openssh-server

源码编译安装Python3.11.9
进入源码存放目录
[root@server ~]# cd /usr/local/src


解压
[root@server src]# tar -zxvf Python-3.11.9.tgz
[root@server src]# cd Python-3.11.9
编译配置
[root@server Python-3.11.9]# ./configure --prefix=/usr/local/python3.11 --enable-shared