Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2798979
  • 博文数量: 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)

发布时间:2013-05-24 15:44:02

[root@varnish1 ~]# cat mongo.sh.bak #!/bin/shecho "db.serverList.find({status:\"0\"},{ip:1,\"_id\":0})" | mongo loldbRtmp  | grep ip >/root/ip.txtif [ -s /root/ip.txt  ] ; thenecho "It has errors" >/root/mongodbstatus.txt/bin/awk -F\" '{ print $4}'  /root/ip.txt>/root/proble.........【阅读全文】

阅读(2675) | 评论(0) | 转发(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.........【阅读全文】

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

发布时间:2013-05-23 16:17:25

场景: 安装系统,运行在图形界面模式下,程序员写了一个图形界面的程序hello.jar ,  在图形界面下将hello.jar运行起来!在自己的测试环境下:#!/bin/shexport DISPLAY=:1.0cd /usr/local/hellonohup /usr/local/jdk/bin/java  -jar   hello.jar   &运行该脚本即可,将hello.jar启动在图形界面.........【阅读全文】

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

发布时间:2013-05-23 16:10:45

由于一些特殊的需要,需要安装图形界面,并在图形界面下运行! 为了方便其他的同事登陆,需要安装并配置vnc!1:centos6下配置vncYum -y install vnc-server 后发现没有vncserver命令!原来vnc 已经改名了,应该为:yum -y install   tigervnc-server然后就可以发现vncserver命令.........【阅读全文】

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

发布时间:2013-05-23 15:45:31

当nginx+php运行时很多时候不报错!例如:[root@web1 en]# cat a.php 在运行时nginx仅仅报错如下:显然这样不利于排错!如果想要使它报比较详细的错误:[root@web1 en]# cat a.php ......【阅读全文】

阅读(832) | 评论(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

不错啊,加油哦

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

登录 注册