Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2733549
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

发布时间:2014-04-15 14:37:31

场景:web服务器的流量过大,超过了idc的限制,先准备将流量分到两台机器上,保证两台web机器的内容一致,而且能做双向同步环境介绍:web1:192.168.2.222web2:192.168.2.206搭建过程如下:安装unison要按照unison,首先需要安装ocaml,版本至少为3.07或更高下载地址:http://caml.inria.frtar xf ocaml.........【阅读全文】

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

发布时间:2014-04-01 15:13:20

任务                            命令组合1删除0字节文件.........【阅读全文】

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

发布时间:2013-06-28 16:03:05

#!/usr/bin/expect -f#Author by lvs#date is 2013-06-21set password helloabc@123spawn scp app100679381@10.***.2.99:/data/*.tar.gz /data/home/app100679381/f1_db/set timeout 2expect {"yes/no" {send "yes\r";exp_continue}}expect "Password:"set timeout 3send "$password\r"set timeout 300expec.........【阅读全文】

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

发布时间:2013-06-11 13:53:23

用途:检测php-fpm、nginx、mysql进程是否正常,如果不正常,则重启服务!#!/bin/bashlogpath=/home/scriptsurl="http://l**b.g**yz.com/index.php" status=$(/usr/bin/curl -s --head "$url" | awk '/HTTP/ {print $2}')if [ "$status" != "200" ] ;  thenecho `date`          .........【阅读全文】

阅读(1704) | 评论(1) | 转发(0)

发布时间:2013-05-24 15:40:57

mongodb记录如下:[root@varnish1 ~]#  mongo loldbRtmp MongoDB shell version: 2.4.3connecting to: loldbRtmpServer has startup warnings: Fri May 24 10:27:29.880 [initandlisten] Fri May 24 10:27:29.880 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.Fri May 24 10:27:2.........【阅读全文】

阅读(1265) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2010-04-10 18:37

呵呵,文章中露点了!

回复 |  删除 |  举报

chinaunix网友2009-11-05 22:00

写的非常好,收益匪浅,加油啊,caoshouwen!

回复 |  删除 |  举报

chinaunix网友2008-12-02 15:50

强嘎~!

回复 |  删除 |  举报

yexin2182008-11-26 23:38

不错啊,加油哦

回复  |  举报
留言热议
请登录后留言。

登录 注册