ENGroup 網站

  • Home
    • SMap
    • reveal
    • blog
  • About
    • Reveal
    • MISC
    • GW
    • Webots
    • FossilSCM
    • Reeborg
    • NX2312
    • Brython
    • RL
      • Rocket1
      • PGP
  • Linux
    • HP server
    • Lubuntu
    • Windows
  • Bind
  • Squid
    • VM1
  • Rocket
  • cmsimde
  • VM
    • Virtualbox
    • Proxmox VE
      • Intro_PVE
Rocket << Previous Next >> VM

cmsimde

在 Debian 類 (例如: Ubuntu、Linuxmint、Lubuntu 等) 如何使用 cmsimde 網際內容管理。

How to use cmsimde under Debian (Ubuntu, Linuxmint ...):

首先應該要先查詢當下所使用操作系統所配置的 Python 版本,並隨即配合安裝 venv 模組。

check Python version: for Ubuntu 22.04 the version of Python is 3.10.11

install Python venv module:

sudo apt install python3.10-venv

接著建立 cmsimde Python 虛擬環境:

create cmsimde venv:

python3 -m venv cmsimde

接著進入 cmsimde 虛擬環境:

get into cmsimde venv:

source cmsimde/bin/activate

在 cmsimde 虛擬環境中安裝執行 cmsimde 網際內容管理系統執行時所需用到的 Python 模組:

under cmsimde venv install modules:

(cmsimde) $ pip list

(cmsimde) $ pip install flask flask_cors bs4 lxml pelican markdown

(cmsimde) $ pip list

cmsimde 虛擬環境使用結束,利用 deactivate 指令退出:

deactivate cmsimde venv

(cmsimde) $ deactivate


Rocket << Previous Next >> VM

Copyright © All rights reserved | This template is made with by Colorlib