1,申请阿里云主机 2,apt-get update 3,apt-get install pip 4,pip install virtualenv 5,virtualenv venv 6,source venv/bin/activate 7,pip install flask 8,vim myapp.py from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'hello world !…