同步时间:ntpdate202.120.2.101(上海交大ntp服务器)使用ntsysv--level2345,关闭非必要程序自动运行。修改/etc/sysconfig/i18n文件内容为:LANG="zh_CN:gb2312"源码放在/usr/local//创建用户及站点目录并更改权限groupaddwwwuseradd-r-gwww-s/sbin/nologinwwwgroupaddmysqlu..
分类:
其他好文 时间:
2014-05-09 14:27:28
阅读次数:
399
方法一:实验思路:第一步在commands.cfg文件中定义你要使用的检测命令:vi/usr/local/nagios/etc/objects/commands.cfgdefinecommand{command_nametcp60910#命令名command_line$USER1$/check_tcp-H$HOSTADDRESS$-p60910-t60#命令内容,该处调用到check_tcp这个脚本-P后面是端..
分类:
移动开发 时间:
2014-05-09 14:21:11
阅读次数:
402
Example #1$GLOBALS范例以上例程的输出类似于:$foo in global
scope: Example content$foo in current scope: local variable
分类:
Web程序 时间:
2014-05-09 13:25:52
阅读次数:
309
Ubuntu12.04
自安装python3.3中头文件Python.h路径:usr/local/python3.3/include/python3.3mUbuntu12.04
自带的Python2.7中头文件Python.h路径:usr/ include/python2.7Ub...
分类:
其他好文 时间:
2014-05-09 09:27:51
阅读次数:
270
mysql:执行LOADDATALOCAL报错。我使用navicatformysql连接mysql服务器执行local可以正常执行。showVARIABLESlike‘%local%infile%‘结果如下:+---------------+-------+|Variable_name|Value|+---------------+-------+|local_infile|ON|+---------------+-------+1rowinset(0.0..
分类:
数据库 时间:
2014-05-09 07:06:20
阅读次数:
372
1.Nrpe安装创建nagios用户useraddnagios1.1被监控服务器安装nagios插件tarxzvfnagios-plugins-1.4.15.tar.gzcdnagios-plugins-1.4.15./configuremakemakeinstall1.2被监控服务器安装nrpe程序tarxzvfnrpe-2.1.2.tar.gzcdnrpe-2.1.2./configure--prefix=/usr/local/nagiosmakeall..
分类:
移动开发 时间:
2014-05-09 06:52:48
阅读次数:
518
Bluetooth
Using the Bluetooth APIs, an Android application can perform the following:
使用蓝牙APIs,一个Android应用可以进行如下操作:
Scan for other Bluetooth devices
扫描其他蓝牙设备
Query the local Bluetooth adapter...
分类:
移动开发 时间:
2014-05-09 06:15:57
阅读次数:
479
1、安装godgeminstallgod2、设置环境变量以及开机启动的rc.local文件,其内容如下PATH=$PATH:/zhiyisoft/bingod-c/etc/god/god.god备注:请将rubybin目录下的所有文件链接到/zhiyisoft/bin下面,否则将无法运行如果是rvm,请执行下方命令1、rvmwrapper2.0.0@rails3bootupgod2、..
分类:
其他好文 时间:
2014-05-09 00:52:01
阅读次数:
1277
一、环境ubuntu10.4mysql5.1.60python.6.6java7二、搭建1.安装ubuntu10.4,并更新软件包2.sudosu-切换到root用户下安装mysql5.1.60groupaddmysql
useradd-gmysqlmysql
./configure--prefix=/usr/local/mysql--with-unix-socket-path=/usr/local/mysql/var/mysql.sock--sysconfd..
分类:
编程语言 时间:
2014-05-09 00:48:04
阅读次数:
362
(转自:http://blog.csdn.net/weiren2006/article/details/7443362)让软件在系统启动时自动运行,可通过修改注册表实现。在\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ru...