Chinaunix首页 | 论坛 | 博客
  • 博客访问: 98269
  • 博文数量: 26
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 322
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-27 13:38
文章分类

全部博文(26)

文章存档

2014年(4)

2013年(22)

我的朋友

发布时间:2013-06-28 11:45:48

备份还原1 备份svn服务器文件数据打包conf目录svnadmin dump /data/svn/gm > gm_bak2 上传备份目录到备机rsync -avz gm_bak conf.tar.gz conf.tar.gz 192.168.1.241:/data/svn3  登录备机ssh 192.168.1.2414 创建库svnadmin create /data/svn/gm5 还原服务器备份文件且覆盖conf目录.........【阅读全文】

阅读(1226) | 评论(0) | 转发(0)

发布时间:2013-06-26 17:42:29

update_server.sh#!/bin/sh#first mkdir test in server and client ,chmod -R 777 testread -p "input source directory:" sdirread -p "input destination directory:" ddirdir=/data/www/test#dirid=/data/home/app100683143dirid=/rootalone (){        read -p "input client .........【阅读全文】

阅读(1168) | 评论(0) | 转发(0)

发布时间:2013-04-11 11:14:44

server {        listen       80;        server_name  www.nagios.com;        location ~ \.cgi$ {                root        /data/apps/nagios/sbin; &n.........【阅读全文】

阅读(1343) | 评论(0) | 转发(0)

发布时间:2013-03-30 18:16:48

#!/bin/bash#from network#This Nagios plugin can be checked your system memory statusUSAGE_Method="$(basename $0) [-w|--warning] [-c|--critical]"USAGE_Value="WARNING value must be large than CRITICAL value:`basename $0` $*"STATE_OK=0STATE_WARNING=1STATE_CRITICAL=2.........【阅读全文】

阅读(1075) | 评论(0) | 转发(0)

发布时间:2013-03-28 17:22:15

#!/bin/shmkdir -p /usr/local/nagios/libexecNG_source=/data/sourceNG_DIR=/usr/local/nagiosNG_DIRLIB=/usr/local/nagios/libexecNG_SOURCE_DIR=/data/source/nagiosNG_PL_DIR=/data/source/nagios-plugins-1.4.16NG_NR_DIR=/data/source/nrpe-2.14yum -y install httpd php gcc glibc glibc-common gd gd-deve.........【阅读全文】

阅读(901) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册