摘要:
ubuntu下安装redis 直接输入命令 sudo apt-get install redis-server (不一定行) 配置文件,移动到/etc/⽬录下 配置文件默认在/usr/local/redis/redis.conf sudo cp /usr/local/redis/redis.conf 阅读全文
posted @ 2020-07-04 14:47
Jerome12138
阅读(144)
评论(0)
推荐(0)
摘要:
1.将本地的webp图片转换为jpg from PIL import Image filename = '0bb521255dc1eb1830579959afff9407.webp' im = Image.open(filename) if im.mode == "RGBA": im.load() 阅读全文
posted @ 2020-07-04 14:41
Jerome12138
阅读(1644)
评论(0)
推荐(0)
摘要:
uWSGI日志按照日期切割 [uwsgi] http=0.0.0.0:9000 chdir=/root/hello wsgi-file=hello/wsgi.py processes=4 threads=1 master=True pidfile=uwsgi.pid daemonize=uwsgi. 阅读全文
posted @ 2020-07-04 14:35
Jerome12138
阅读(1233)
评论(0)
推荐(0)
摘要:
Nginx日志配置 参考文档:Nginx基本配置和日志处理 Nginx 日志配置不同位置的不同含义: 在 nginx 配置文件的最外层,我们可以配置 error_log,这个 error_log 能够记录 nginx 启动过程中的异常,也能记录日常访问过程中遇到的错误。 在 http 段中可以配置 阅读全文
posted @ 2020-07-04 14:18
Jerome12138
阅读(523)
评论(0)
推荐(0)

浙公网安备 33010602011771号