From 8a8f9ef7feabee6940580867584d4fe50d46a3bb Mon Sep 17 00:00:00 2001 From: isummer Date: Wed, 12 Oct 2022 16:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7python=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E4=B8=BApython39?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- fir_ser/Dockerfile | 2 +- fir_ser/Dockerfile.cli | 2 +- fir_ser/requirements/rpm_requirements.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3db37b5..76ebc5d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ - API域名证书 - 存储域名证书(使用阿里云oss存储) - 前端web域名证书(可选) -- Centos7 服务器 +- Centos8Stream 服务器 - 如果使用oss存储,则带宽为1M,若使用本地存储,则带宽越大越好 - 如果使用超级签,最低配置为2cpu 4G内存,若干不使用签名,则1cpu2G就行 - 阿里云短信或极光短信服务【可选一个,主要用与注册,重置密码】 @@ -77,9 +77,9 @@ git clone https://github.com/nineaiyu/FlyApps ##### 搭建python env 环境 ```shell -yum install python36 python36-devel redis mariadb-server mariadb-devel -y -python3 -m venv py3 -source py3/bin/activate +yum install python39 python39-devel redis mariadb-server mariadb-devel -y +python3.9 -m venv py39 +source py39/bin/activate ``` ###### 安装pip包 diff --git a/fir_ser/Dockerfile b/fir_ser/Dockerfile index a4bd4bd..933dacf 100644 --- a/fir_ser/Dockerfile +++ b/fir_ser/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.6.14-slim +FROM python:3.9.14-slim # Fixes some weird terminal issues such as broken clear / CTRL+L ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple diff --git a/fir_ser/Dockerfile.cli b/fir_ser/Dockerfile.cli index d4eca49..98cd2a9 100644 --- a/fir_ser/Dockerfile.cli +++ b/fir_ser/Dockerfile.cli @@ -1,4 +1,4 @@ -FROM python:3.6.14-slim +FROM python:3.9.14-slim ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple diff --git a/fir_ser/requirements/rpm_requirements.txt b/fir_ser/requirements/rpm_requirements.txt index dae9d4d..a815df4 100644 --- a/fir_ser/requirements/rpm_requirements.txt +++ b/fir_ser/requirements/rpm_requirements.txt @@ -1 +1 @@ -python36 python36-devel redis mariadb-devel gcc-c++ gcc openssl-devel wget \ No newline at end of file +python39 python39-devel redis mariadb-devel gcc-c++ gcc openssl-devel wget \ No newline at end of file