使用vim auto_backup_mysql.sh 在里面输入 #auto backup mysql db #by authors dxw 2017 #dufine backup path BAK_DIR=/data/backup/`date +%Y%m%d` MYSQLDB=syuee MYSQ ...
分类:
数据库 时间:
2020-11-06 02:20:23
阅读次数:
28
zabbix推荐使用nginx服务器,性能较高。为了满足安全访问,现在需要配置https,主要是对nginx的ssl模块进行配置,还要生成zabbix-server对应的证书文件之前已经安装过zabbix5.0,选择的配置环境如下:详细的安装方法见官方文档:https://www.zabbix.com/download?zabbix=5.0&os_distribution=centos&a
分类:
Web程序 时间:
2020-11-01 21:41:34
阅读次数:
33
1、编写脚本,支持让用户自主选择,使用mysqldump还是xtraback全量备份。 #!/bin/bash. /etc/init.d/functionsusername=rootpassname=123456PS3="Please input a number[1|2]: "mysqldumpd ...
分类:
其他好文 时间:
2020-10-29 10:32:04
阅读次数:
26
简介 类似c++map code /* * @Author: your name * @Date: 2020-10-27 21:15:06 * @LastEditTime: 2020-10-27 21:19:36 * @LastEditors: Please set LastEditors * @D ...
分类:
编程语言 时间:
2020-10-29 09:22:51
阅读次数:
21
算是入门pwn的第一道题吧 先拖进ida查看 F5查看伪代码: int __cdecl main(int argc, const char **argv, const char **envp) { char s; // [rsp+1h] [rbp-Fh] puts("please input"); ...
分类:
其他好文 时间:
2020-10-24 10:22:33
阅读次数:
21
SPA单页面应用已经遍地开花,熟知的三大框架,Angular、Vue和React,其中Angular与React均可集成至ASP.NET Core,且提供了相关了中间件。但是Vue没有: As far as I’m aware, we don’t have plans to introduce Vu ...
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. P ...
分类:
数据库 时间:
2020-10-20 16:33:15
阅读次数:
35
1 import os 2 3 #os.system('python hello1.py') 4 5 6 while 1: 7 print("****************\n") 8 print("****************\n") 9 num = input("please input ...
分类:
其他好文 时间:
2020-10-18 09:57:03
阅读次数:
21
1、抽离第三方包时报错webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead. 2、经查证又是因为版本问题重新编写配置 与 plugins 同级添 ...
分类:
Web程序 时间:
2020-10-14 20:40:45
阅读次数:
45
刚刚使用 git pull 命令拉取代码时候,遇到了这样的问题: error: Your local changes to the following files would be overwritten by merge: code/b2bstore/site/src/main/webapp/pc ...
分类:
其他好文 时间:
2020-10-12 20:46:11
阅读次数:
35