分享一段代码,很简单但是也很实用。 1 #!/usr/bin/python 2 #-*- coding:gb18030 -*- 3 ''' 4 Usage: mq.py [Qmgr] 5 *get the queues' curdepth which type is local,...
分类:
编程语言 时间:
2014-07-16 23:06:47
阅读次数:
226
查看是否开启:service iptables status关闭方法:service iptables stop永远关闭:Ntsysv把iptables前的*号去掉。查看SELinux状态:1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开...
分类:
其他好文 时间:
2014-07-16 21:41:22
阅读次数:
185
一、前言最近试着参照官方文档搭建Azkaban,发现文档很多地方有坑,所以在此记录一下。二、环境及软件安装环境:系统环境:ubuntu-12.04.2-server-amd64安装目录: /usr/local/ae/ankabanJDK 安装目录: export JAVA_HOME=/usr/loc...
分类:
其他好文 时间:
2014-07-16 21:26:53
阅读次数:
1664
一.准备工作1.安装linux软件包确保系统中有libgcc_s.so和libstdc++.so.3。如无意外,libgcc_s.so在redhat中已经存在,存放路径为:/usr/lib/gcc-lib/i386-redhat-linux/3.2.2,可以不用安装。如没有,你可以在www.rpmf...
分类:
其他好文 时间:
2014-07-16 20:26:25
阅读次数:
225
1. 将adb命令添加到/usr/local/bin下。命令: sudo cp ~/working/ics/out/host/linux-x86/bin/adb /usr/local/bin/2. 创建文件50-android.rules。命令: sudo vim /etc/udev/rules.....
分类:
数据库 时间:
2014-07-13 11:55:05
阅读次数:
282
NAMErhn_check - check for queued actions on RHN and execute themSYNOPSIS/usr/sbin/rhn_check [-v] [--verbose]DESCRIPTIONrhn_checkis a client program th...
分类:
系统相关 时间:
2014-07-13 10:13:35
阅读次数:
253
apache 启动usr/local/apache243/bin/apachectl startapache 重启usr/local/apache243/bin/apachectl restartapache 关闭usr/local/apache243/bin/apachectl restartap...
分类:
其他好文 时间:
2014-07-13 08:53:36
阅读次数:
322
分享一段代码,很简单但是也很实用。 1 #!/usr/bin/python 2 #-*- coding:gb18030 -*- 3 ''' 4 Usage: mq.py [Qmgr] 5 *get the queues' curdepth which type is local,...
分类:
编程语言 时间:
2014-07-12 08:40:14
阅读次数:
502
分享一段代码,很简单但是也很实用。 1 #!/usr/bin/python 2 #-*- coding:gb18030 -*- 3 ''' 4 Usage: mq.py [Qmgr] 5 *get the queues' curdepth which type is local,...
分类:
编程语言 时间:
2014-07-12 08:05:13
阅读次数:
404
分享一段代码,很简单但是也很实用。 1 #!/usr/bin/python 2 #-*- coding:gb18030 -*- 3 ''' 4 Usage: mq.py [Qmgr] 5 *get the queues' curdepth which type is local,...
分类:
编程语言 时间:
2014-07-12 08:03:54
阅读次数:
373