08 2021 档案
摘要:服务器硬件 服务器系统 数据库存储引擎的选择 数据库参数配置 数据库结构和SQL语句
阅读全文
摘要:新建 mysql_dump.sh #!/bin/bash #保存备份个数,备份31天数据 number=31 #备份保存路径 backup_dir=/data/mysql/mysqlbackup #日期 dd=`date +%Y-%m-%d-%H-%M-%S` #备份工具 tool=/usr/loc
阅读全文
摘要:读取文件目录 <?php function readDirctory($path) { if (!is_dir($path)) { return false; } $handle = opendir($path); $arr = []; while ( ($file = readdir($handl
阅读全文
摘要:LANG="zh_CN.UTF-8" goaccess hot_access.log -o /home/wwwroot/cron_job/public/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%d/%b
阅读全文
摘要:centos下配置文件目录在 /etc/supervisord.d下 配置文件为.ini格式 ubuntu下配置文件在 /etc/supervisor/conf.d下 配置文件为.conf格式 ;demo表示程序名称 [program:VideoData] ;需要执行的命令 command=/usr
阅读全文
摘要:队列的特性 :先进先出 队列的应用场景:异步处理,系统解耦,定时任务 Beanstalkd是什么? Beanstalkd是一个高性能,轻量级的分布式内存队列,支持生产者与消费者模式 Beanstalkd特性 优先级(priority) 延迟(delay) 持久化(persistent data)bi
阅读全文

浙公网安备 33010602011771号