摘要:
#!/bin/bash basepath=/home/master/smali/com/ apkname=master cd /home #1 反编译 echo 1 正在执行反编译 apktool d $apkname.apk if [ $? -ne 0 ];then echo " apktool 阅读全文
摘要:
# 查看当前binlog状态 show master status\G; # mysql中查看指定binlog信息 show binlog events in 'mysql-bin.000010'; # 查询指定时间段内/位置的删除语句 mysqlbinlog --no-defaults --sta 阅读全文
摘要:
# /bin/bash # 日志保存位置 base_path='/data/apps/nginx/logs' # 获取当前年信息和月信息 log_path=$(date -d"+1 day ago" +"%F") echo $log_path # 获取昨天的日信息 #day=$(date -d"+1 阅读全文
摘要:
import dns.resolver import requests import re import sys def get_ip_list(domain): try: cn = dns.resolver.query(domain, 'CNAME') for i in cn.response.a 阅读全文
摘要:
version: '3' services: mongo: image: mongo container_name: mongo hostname: mongo restart: always networks: - db ports: - "27017:27017" environment: TZ 阅读全文
摘要:
version: '3' services: redis: image: redis container_name: redis hostname: redis restart: always ports: - 6379:6379 networks: - net_db volumes: - ./co 阅读全文
摘要:
version: '3' services: nginx: container_name: nginx image: nginx restart: always ports: - 80:80 privileged: true volumes: - ./conf/proxy.conf:/etc/ngi 阅读全文
摘要:
#!/bin/bash mysqldump=/usr/local/mysql/bin/mysqldump backdir=/home/mysql_backup backdate=`date +%Y%m%d_%H%M%S` backname=368mysql_${backdate} remotedir 阅读全文
摘要:
# 查看docker的磁盘使用情况 docker system df # 清理磁盘,删除关闭的容器,无用的数据卷和网络及dangling镜像(即无tag镜像)docker system prune # 将没有容器使用的DOCKER镜像都删除docker system prune -a # 清理日志 阅读全文
摘要:
# https://yeasy.gitbooks.io/docker_practice/ # 安装dockeryum install -y yum-utils device-mapper-persistent-data lvm2yum-config-manager \ --add-repo \ ht 阅读全文