deepin@deepin-PC:/www/server/panel$ python runconfig.py
deepin@deepin-PC:/www/server/panel$ python runserver.py
报故障:
ModuleNotFoundError: No module named 'flask_session'
执行:pip install flask_session
成功后,执行python runserver.py
* Serving Flask app "BTPanel" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:8888/ (Press CTRL+C to quit)
192.168.1.1 - - [25/Nov/2020 18:39:54] "GET / HTTP/1.1" 302 -
192.168.1.1 - - [25/Nov/2020 18:39:54] "GET /login HTTP/1.1" 200 -
192.168.1.1 - - [25/Nov/2020 18:39:54] "GET /favicon.ico HTTP/1.1" 200 -
deepin@deepin-PC:/www/server/panel/data$ more admin_path.pl
/fxxxxxxx
然后,在IE地址栏里输入;http://localhost:8888/fxxxxxxx即可出现宝塔面板的登录窗口,需要用户名密码登录。 |