利用Flask+gunicorn+nginx框架开发的文件管理系统,其中包括对于文件的上传下载、socket自构的上传和下载
sudo apt-get update
sudo apt-get install nginx
sudo systemctl start nginx
sudo pip3 install Flask
sudo pip3 install gunicorn
cd NAS_project
sudo ./start_web.sh
ip a
http://192.168.xxx.xxx:80
如果想要映射到公网中,如果有公网地址可以自己映射,如果没有可以使用cpolar进行内网穿透 cpolar参考如下: