摘要: nginx出现403错误的解决方法 2024/08/31 17:06:52 [error] 26005#26005: *11 "/root//frontend/dist/index.html" is forbidden (13: Permission denied), client: 220.196 阅读全文
posted @ 2024-08-31 23:07 emanlee 阅读(4767) 评论(0) 推荐(0)
摘要: (venv) [root@VM-8-12-centos backend]# uwsgi --ini uwsig_scripts/uwsgi.ini[uWSGI] getting INI configuration from uwsig_scripts/uwsgi.ini*** WARNING: Ca 阅读全文
posted @ 2024-08-31 15:09 emanlee 阅读(177) 评论(0) 推荐(0)
摘要: django 内置server 外网不能访问, 报连接超时 python manage.py runserver 不能外网访问 1 确保开启了服务 python manage.py runserver 0.0.0.0:80 2 确保开启了防火墙 (1)查看防火墙端口# 查看开放的端口 firewal 阅读全文
posted @ 2024-08-31 13:03 emanlee 阅读(67) 评论(0) 推荐(0)
摘要: CentOS 7 如何修改history命令保存的最大数在内存中,历史命令仅能够存储3000条历史命令,该数量是由环境变量 HISTSIZE 进行控制。使用 echo $HISTSIZE echo $HISTFILESIZE 可以查看历史命令最多条数。可以重新设置最大条数,#1、找到 /etc/pr 阅读全文
posted @ 2024-08-31 10:40 emanlee 阅读(436) 评论(0) 推荐(0)
摘要: 没解决此问题(venv) [root@VM-8-12-centos MYPROJECT-django20240830]# python3 manage.py runserver 0.0.0.0:8080Exception in thread django-main-thread:Traceback 阅读全文
posted @ 2024-08-31 08:32 emanlee 阅读(175) 评论(0) 推荐(0)
摘要: 需要离线安装GDAL (venv) [root@VM-8-12-centos ~]# pip install gdalLooking in indexes: http://mirrors.tencentyun.com/pypi/simpleCollecting gdal Downloading ht 阅读全文
posted @ 2024-08-31 08:20 emanlee 阅读(376) 评论(0) 推荐(0)