会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
巫小诗
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
16
下一页
2021年11月10日
Docker常用命令
摘要: Docker 常用命令 获取镜像 docker pull ubuntu:18.04 启动容器 docker run -it ubuntu:18.04 /bin/bash 查看启动的容器 docker ps 查看所有的容器 docker ps -a 停止容器 docker stop 容器ID 重启容器
阅读全文
posted @ 2021-11-10 19:21 巫小诗
阅读(65)
评论(0)
推荐(0)
2021年11月9日
celery任务队列使用
摘要: celery任务队列使用 项目架构 . ├── broker │ ├── __init__.py │ ├── cron.py │ └── req.py ├── config │ ├── __init__.py │ ├── dev.py │ └── prod.py ├── task │ ├── __i
阅读全文
posted @ 2021-11-09 12:00 巫小诗
阅读(163)
评论(0)
推荐(1)
2021年11月8日
uwsgi配置
摘要: 配置nginx server { listen 80 default_server; listen [::]:80 default_server; server_name _; location / { proxy_pass http://127.0.0.1:12000; } } 配置flask+u
阅读全文
posted @ 2021-11-08 10:16 巫小诗
阅读(144)
评论(0)
推荐(0)
2021年9月27日
Filebeat + Logstash + MongoDB
摘要: Filebeat + Logstash + MongoDB 简介 Logstash是一个开源数据收集引擎,具有实时管道功能。Logstash可以动态地将来自不同数据源的数据统一起来,并将数据标准化到你所选择的目的地。 jdk安装 下载镜像 wget https://mirrors.huaweic
阅读全文
posted @ 2021-09-27 20:28 巫小诗
阅读(866)
评论(0)
推荐(0)
ubuntu18.04TLS 安装mysql
摘要: ubuntu18.04TLS 安装mysql 准备环境 ubuntu 18.04 TLS mysql 5.7.35 卸载之前安装的mysql服务 # 删除数据文件 sudo rm /var/lib/mysql/ -R # 删除配置文件 sudo rm /etc/mysql/ -R # 卸载mysql
阅读全文
posted @ 2021-09-27 17:59 巫小诗
阅读(62)
评论(0)
推荐(0)
2021年9月20日
windows子系统ubuntu18安装mysql
摘要: 卸载残余 apt-get autoremove --purge mysql-server* apt-get remove mysql-server apt-get autoremove mysql-server apt-get remove mysql-common 安装 apt-get insta
阅读全文
posted @ 2021-09-20 12:51 巫小诗
阅读(76)
评论(0)
推荐(0)
2021年9月7日
微信公众号验证服务器资源代码
摘要: <?php //define your token define("TOKEN", "weixin"); $wechatObj = new wechatCallbackapiTest(); $wechatObj->valid(); class wechatCallbackapiTest { publ
阅读全文
posted @ 2021-09-07 16:31 巫小诗
阅读(65)
评论(0)
推荐(0)
2021年7月28日
supervisor 安装与使用
摘要: supervisor 安装与使用 下载 sudo apt-get install supervisor 在 /etc/supervisor/conf.d/ 下新建 xx.conf sudo touch celery_req.conf 编辑配置信息 [program:celery_req] # 项目目
阅读全文
posted @ 2021-07-28 10:03 巫小诗
阅读(102)
评论(0)
推荐(0)
2021年7月11日
shell简单入门
摘要: shell 入门 脚本格式 #!/bin/bash 第一个shell脚本 创建一个shell脚本,输出 hello world 示例 #!/bin/bash echo "hello world" 脚本常用的执行方式 sh test.sh bash test.sh ./test.sh source t
阅读全文
posted @ 2021-07-11 22:51 巫小诗
阅读(74)
评论(0)
推荐(0)
2021年7月2日
将oss上的文件迁移到aws s3上的方法
摘要: oss 下载 wget http://gosspublic.alicdn.com/ossutil/1.7.3/ossutil64 给予权限 chmod 755 ossutil64 添加到 /usr/bin 中 mv ossutil64 /usr/bin 添加配置, 根据需求添加配置 ossutil6
阅读全文
posted @ 2021-07-02 17:58 巫小诗
阅读(1299)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
16
下一页
公告