CentOS 7.0自带Python2.7 安装Python3.6步骤 1.安装依赖 1 yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gc Read More
在settings中取消此处勾选即可 效果如下: Read More
问题: (meiduo) D:\python_learn\meiduo_project\meiduo_mall>python manage.py makemigrations [<RegexURLPattern admins-list ^permission/admins/$>, <RegexURL Read More
1.安装anaconda或者minconda 2.配置环境变量 在环境变量中添加以上三处路径; 3.使用命令创建虚拟环境 # conda create -n env_name list of packages # 下面创建一个名为py36的python3.6环境 conda create -n py Read More
1、安装Erlang 下载地址:https://www.erlang.org/downloads,本文选择OTP 21.0.1 Windows 64-bit Binary File (91707927) 链接:https://pan.baidu.com/s/1Rhc4QGfrG5zxj0HoHCRc Read More
celery运行时报错, 报错如下: Traceback (most recent call last): File "d:\python_learn\meiduo_project\env\lib\site-packages\eventlet\support\greendns.py", line 4 Read More
Docker 安装rabbitmq 1.使用带有web管理功能 docker pull rabbitmq:management 2.运行镜像文件创建容器 docker run -d --name rabbitmq -p 5671:5671 -p 5672:5672 -p 4369:4369 -p 2 Read More
问题如下: 解决方式:经检查发现是selinux导致报错。 [root@localhost nginx]# getenforce #查询selinux状态 [root@localhost nginx]# setenforce 0 #临时将selinux关闭 如果需要永久关闭selinux,请编辑/e Read More
第一步:关闭全部nginx服务 pkill -9 nginx # 运行命令参看nginx服务是否关闭 netstat -tnulp | grep nginx # 参看端口是否关闭 systemctl status nginx # 查看服务是否关闭 关闭后状态: 第二步:加载指定配置文件 nginx Read More
问题: E325: ATTENTION Found a swap file by the name ".nginx.conf.swp" owned by: root dated: Sat Aug 15 06:38:55 2020 file name: /etc/nginx/nginx.conf mo Read More