摘要: nginx配置网站不用conf.d目录 yum install nginx php-fpm -y systemctl start nginx systemctl enable nginx systemctl start php-fpm systemctl enable nginx cd /etc/n 阅读全文
posted @ 2020-04-25 15:58 左晓龙 阅读(680) 评论(0) 推荐(0) 编辑
摘要: conda创建python虚拟环境 conda常用命令 conda list 查看安装了哪些包。 conda env list 或 conda info -e 查看当前存在哪些虚拟环境 conda update conda 检查更新当前conda 创建虚拟环境 conda create -n 虚拟环 阅读全文
posted @ 2020-04-25 13:01 左晓龙 阅读(5013) 评论(1) 推荐(0) 编辑
摘要: Anaconda的下载与安装 清华源下载 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2018.12-Linux-x86_64.sh 使用sh/bash Anaconda3.5.2.0-Linux-x86_ 阅读全文
posted @ 2020-04-25 13:01 左晓龙 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 第一步:依赖环境安装: yum install pcre pcre-devel openssl openssl-devel zlib zlib-devel -y yum install gcc gcc-c++ make libtool -y 第二步:下载nginx 版本,官网下载地址:http:// 阅读全文
posted @ 2020-04-25 13:00 左晓龙 阅读(649) 评论(0) 推荐(0) 编辑
摘要: UWSGI的使用 安装uwsgi pip install uwsgi -i https://pypi.tuna.tsinghua.edu.cn/simple 在django工程目录下新建uwsgi.ini文件 [uwsgi] # 监听的端口 http = :8000 # 指定和nginx进行套接字通 阅读全文
posted @ 2020-04-25 13:00 左晓龙 阅读(533) 评论(0) 推荐(0) 编辑
摘要: NGINX的使用 源码安装nginx 第一步:依赖环境安装: yum install pcre pcre-devel openssl openssl-devel zlib zlib-devel -y yum install gcc gcc-c++ make libtool -y 第二步:下载ngin 阅读全文
posted @ 2020-04-25 12:59 左晓龙 阅读(188) 评论(0) 推荐(0) 编辑
摘要: CentOS7 安装redis yum安装 yum install redis -y 如出现以下错误 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors 阅读全文
posted @ 2020-04-25 12:59 左晓龙 阅读(153) 评论(0) 推荐(0) 编辑