摘要: 建立租户:root@cloud:~# keystone tenant-create --name=adminWARNING: Bypassing authentication using a token & endpoint (authentication credentials are being... 阅读全文
posted @ 2013-10-25 15:47 osxlinux 阅读(2887) 评论(1) 推荐(1) 编辑
摘要: 1 #!/bin/bash 2 #by:osx1260@163.com 3 DIESO=/etc/pam.d 4 PAMSO=$(ls $DIESO/* |awk -F'/' '{print $4}') 5 NEPAMUN='password sufficient pam_unix.so m... 阅读全文
posted @ 2015-02-02 00:43 osxlinux 阅读(495) 评论(0) 推荐(0) 编辑
摘要: app store 安装软件时发生错误解决办法:1. 进入如下目录:sh-3.2# cd Library/Application\ Support/App\ Store/sh-3.2# pwd/Users/osxlinux/Library/Application Support/App Stores... 阅读全文
posted @ 2014-10-05 03:17 osxlinux 阅读(443) 评论(0) 推荐(0) 编辑
摘要: agent端:zabbix 自定义脚本[root@localhost script]# cat check_ping.sh #!/bin/bashresult=$(/usr/local/nagios/libexec/check_icmp -s $1 $2)a=$(echo $result | awk... 阅读全文
posted @ 2014-09-01 13:29 osxlinux 阅读(3868) 评论(0) 推荐(0) 编辑
摘要: mysql bin-log 日志清理发现mysql数据库目录中bin-log中日志文件非常大[root@localhost var]# du -sh mysql-bin* | sort1020K mysql-bin.0000021.1G mysql-bin.0000211.1M my... 阅读全文
posted @ 2014-07-24 15:23 osxlinux 阅读(3567) 评论(0) 推荐(0) 编辑