开发环境:
deepin 15
python 3.6
安装:(Centos 7 环境)
git clone https://github.com/huyuan1999/django-webssh.git
yum -y install epel-release gcc
yum -y install python36 python36-devel
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.6 get-pip.py
python3.6 -m pip install Django==2.0.6 paramiko==2.4.1 channels==2.1.5
启动:
cd django-webssh/webssh/
python3.6 manage.py runserver 0.0.0.0:8000