上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 341 下一页
摘要: 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 阅读(5368) 评论(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 阅读(215) 评论(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 阅读(84) 评论(0) 推荐(0)
摘要: CentOS 7 如何修改history命令保存的最大数在内存中,历史命令仅能够存储3000条历史命令,该数量是由环境变量 HISTSIZE 进行控制。使用 echo $HISTSIZE echo $HISTFILESIZE 可以查看历史命令最多条数。可以重新设置最大条数,#1、找到 /etc/pr 阅读全文
posted @ 2024-08-31 10:40 emanlee 阅读(509) 评论(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 阅读(198) 评论(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 阅读(426) 评论(0) 推荐(0)
摘要: 高德地图,只有部分marker显示InfoWindow并可点击 原因: 加了 MarkerCluster 之后,出现不稳定现象“有部分marker显示InfoWindow并可点击”。 // 将所有的标记点添加到marker cluster // marker cluster // markerLay 阅读全文
posted @ 2024-08-30 23:42 emanlee 阅读(151) 评论(0) 推荐(0)
摘要: django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal302", "gdal301", "gdal300", "gdal204", "gdal203", "gdal202", 阅读全文
posted @ 2024-08-30 20:30 emanlee 阅读(612) 评论(0) 推荐(0)
摘要: 问题: Linux Centos 已安装virtualenv, 但还是报 bash: virtualenv: command not found 。 原因: 虽然手动安装了virtualenv, 没有自动配置 virtualenv 的软连接。 解决: 找到 virtualenv [root@VM-8 阅读全文
posted @ 2024-08-30 19:19 emanlee 阅读(146) 评论(0) 推荐(0)
摘要: django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path. 解决方案: ( 阅读全文
posted @ 2024-08-28 23:37 emanlee 阅读(138) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 341 下一页