03 2020 档案

摘要:#!/bin/bash PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbinm=$1n=$2function pinjie(){if [[ $m =~ ^(.*)/$ && $n =~ ^/(.*)$ ]];then q= 阅读全文

posted @ 2020-03-22 14:57 hrers 阅读(854) 评论(0) 推荐(0)

摘要:#!/bin/bash#############################################time: 2020-03-21#order: binary converse#auth: MS.zhao#email: wd.zhao@qq.com#notes: For positiv 阅读全文

posted @ 2020-03-21 14:53 hrers 阅读(287) 评论(0) 推荐(0)

摘要:zabbix按组添加主机脚本: #!/bin/bashexport PATH=/usr/local/mysql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/binadmin=$1 #zabbix用户pass=$2 #密码ZB 阅读全文

posted @ 2020-03-04 15:28 hrers 阅读(382) 评论(0) 推荐(0)

摘要:GlusterFS常用命令1.启动/关闭/查看glusterd服务 # /etc/init.d/glusterd start # /etc/init.d/glusterd stop # /etc/init.d/glusterd status 2.开机自动启动glusterd服务 # chkconfi 阅读全文

posted @ 2020-03-04 14:52 hrers 阅读(1004) 评论(0) 推荐(0)

摘要:alpine apk软件管理包工具的使用 apk更换源:使用阿里源镜像sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories使用科大镜像sed -i 's/dl-cdn.alpinelinux.org/ 阅读全文

posted @ 2020-03-04 14:43 hrers 阅读(6860) 评论(0) 推荐(1)