摘要: 下载airflow及其依赖 pip download -d /root/tmp apache-airflow pip install --no-index --find-links=/root/tmp apache_airflow-2.1.0-py3-none-any.whl 下载python my 阅读全文
posted @ 2021-06-18 10:12 sam_wang10 阅读(918) 评论(0) 推荐(0) 编辑
摘要: https://bestmonitoringtools.com/install-zabbix-proxy-on-centos-rhel/ https://www.cnblogs.com/sunshine-long/p/10731250.html 阅读全文
posted @ 2021-05-25 17:31 sam_wang10 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 本脚本中mysqldump命令没有使用用户和密码参数,因为在my.cnf文件中已经配置了用户名和密码。 准备路径 mkdir -p /backup/{scripts,logs,mysqldump,xtrabackup} vi /backup/scripts/mysql_backup.sh #!/bi 阅读全文
posted @ 2021-04-22 16:16 sam_wang10 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://top.baidu.com/buzz?b=1 var mystr=''$x('//*[@id="main"]/div[2]/div/table/tbody/tr/td[2]/a[1]').forEach((item,index)=>{ mystr=item.innerText.trim 阅读全文
posted @ 2021-04-10 15:15 sam_wang10 阅读(81) 评论(0) 推荐(0) 编辑
摘要: sed '1,/2021-03-23/d' mysql-error.log # print all after match sed -n '1,/2021-03-23/p' mysql-error.log # print all before match starting=$(sed -n '{/^ 阅读全文
posted @ 2021-03-25 14:35 sam_wang10 阅读(24) 评论(0) 推荐(0) 编辑
摘要: xpath 按文本内容进行搜索 driver.find_element_by_id('//span[normalize-space(text())="基本信息"]') 元素定位测试: > $x('xpath') 文本框输入停顿: def sendKeys(textBox, str): for _ch 阅读全文
posted @ 2021-02-18 12:03 sam_wang10 阅读(40) 评论(0) 推荐(0) 编辑
摘要: from_unixtime()UNIX_TIMESTAMP() [mysqld]#turn off binlogskip-log-bin #login without passwdskip-grant-tables #mysql 8.0 更改密码验证方式default_authentication_ 阅读全文
posted @ 2021-02-05 17:17 sam_wang10 阅读(55) 评论(0) 推荐(0) 编辑
摘要: tar -xvf mysql-8.0.22-linux-glibc2.12-x86_64.tar.xzmkdir /mysqlmv mysql-8.0.22-linux-glibc2.12-x86_64/* /mysql groupadd mysqluseradd -r -g mysql -s /b 阅读全文
posted @ 2021-02-05 16:47 sam_wang10 阅读(83) 评论(0) 推荐(0) 编辑
摘要: git --versiontouch index.htmlgit initgit config --global user.name 'sam_wang'git config --global user.email 'sam_wang10@foxmail.com' git add index.htm 阅读全文
posted @ 2021-01-30 00:12 sam_wang10 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 下载 https://grafana.com/grafana/download 安装 systemctl enable grafana-server.service systemctl start grafana-server.service 浏览器打开 ip:3000 reference: htt 阅读全文
posted @ 2021-01-29 10:54 sam_wang10 阅读(87) 评论(0) 推荐(0) 编辑