标签:python版本 文件 libffi 4.0 github html -name 配置 c++
环境:
系统:CentOS 6.5
Python版本:Python3.6
安装目录:/Data/apps/
一. 环境准备:
1. 基本工具库:
1 # yum -y install sqlite-devel git epel-release 2 # yum -y install sshpass python-devel libffi-devel openssl-devel 3 # yum -y install gcc gcc-c++
2. 安装python3及virtualenv虚拟环境:
二. Jumpserver安装
1. 下载仓库代码:
GitHub: https://github.com/jumpserver/jumpserver #我这里为GitHub直接下载代码包
1 # cd /Data/apps/ 2 # git clone https://github.com/jumpserver/jumpserver.git 3 # cd jumpserver 4 # git checkout dev #升级dev版本
2. 安装jumpserver依赖包:
1 # cd requirements/ 2 # ls 3 deb_requirements.txt mac_requirements.txt requirements.txt rpm_requirements.txt 4 # yum -y install `cat rpm_requirements.txt` 5 # pip3 install -r requirements.txt -i https://pypi.doubanio.com/simple
3. 准备配置文件:
标签:python版本 文件 libffi 4.0 github html -name 配置 c++
原文地址:http://www.cnblogs.com/python-nameless/p/7767902.html