系统环境,Ubuntu14.04,输入法fcitx下搜狗输入法。解决方法如下:1.安装fcitxforQt5动态库sudoapt-getinstallfcitx-libs-qt52.向QtCreator开发环境安装fcitxforQt5支持进入/Qt5.3.1/Tools/QtCreator/bin/plugins/platforminputcontexts
目录发现官网提供的安装包仅仅有libibus..
分类:
其他好文 时间:
2014-07-17 10:26:53
阅读次数:
767
nagios配置文件生成htpasswd/etc/nagios/passwdnagiosadminidentity资产唯一编号chmod444/etc/assetid接口要写的健壮接口判断值是否全面批量的生成ip,主机名,其它项都一致pipinstall‘ipython<2.0‘CURR_DIR=os.path.abspath(os.path.dirname(__file__))当前这个文件名所在..
分类:
移动开发 时间:
2014-07-17 08:14:03
阅读次数:
323
在客户端上配置nrpe监控keepalived进程[root@localhost~]#vim/usr/local/nagios/etc/nrpe.cfgcommand[check_keepalived]=/usr/local/nagios/libexec/check_procs-w2:-c:4-Ckeepalived#command[check_keepalived]=/usr/local/nagios/libexec/check_procs-c3:3-Ckeepalived注释:..
分类:
移动开发 时间:
2014-07-17 08:07:52
阅读次数:
274
[root@abcndoutils-1.4b9]#makecd./src&&makemake[1]:Enteringdirectory`/nagios/ndoutils-1.4b9/src‘gcc-fPIC-g-O2-I/usr/local/mysql/include-DHAVE_CONFIG_H-c-oio.oio.cInfileincludedfromio.c:11:../include/config.h:261:25:error:mysql/mysql.h:Nosuchfileordir..
分类:
其他好文 时间:
2014-07-16 16:36:52
阅读次数:
245
把nutch的源代码导入到eclipse工程自定义抓取任务。下载源码:http://svn.apache.org/repos/asf/nutch/从svn下载想要的nutch源码,这里选择nutch-1.1编译源码:使用ant编译源代码,编译成功,可以看到多了一个build目录,其中有plugins...
分类:
Web程序 时间:
2014-07-16 15:22:05
阅读次数:
236
1.PHPEclipse是Eclipse的一个用于开发PHP的插件。官网下载地址:http://sourceforge.net/projects/phpeclipse/下载解压后,将features和plugins文件夹的内容拷贝至eclipse安装目录下的features和plugins文件夹,s...
分类:
Web程序 时间:
2014-07-16 00:38:15
阅读次数:
302
环境:centos6.21.下载并安装epel包linkshttp://fedoraproject.org/wiki/EPEL2.安装nagios及插件yuminstallnagiosnagios-nrpenagios-plugins*-y3.启动httpdservicehttpdstart;chkconfighttpdon4.创建管理用户htpasswd-cm/etc/nagios/passwduser15.更改默认的管理用户名vim/etc/..
分类:
移动开发 时间:
2014-07-15 12:11:36
阅读次数:
259
监控server端的安装部署一、apache的安装下载httpd-2.2.15.tar.gz gunzip httpd-2.2.15.tar.gztar xvf httpd-2.2.15.tarcd httpd-2.2.15./configure --prefix=/usr/local/apache...
分类:
移动开发 时间:
2014-07-14 20:39:09
阅读次数:
278
在用QSqlDatabase时遇到报错QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins是因为Qt不知道plugins的所在目录。
解决方法:
在用到数据库之前添加代码QCoreApplication::addLibraryPath("./plugins");
其中的...
分类:
移动开发 时间:
2014-07-14 17:20:41
阅读次数:
346
前言:看到这个标题的人一定会很疑惑,进程监控和报警,不都是用zabbix,nagios么?对于管理的话,自己写crontab脚本不就行了。当然这肯定是可以的。标题说了,规范和扩展!所谓的进程监控就是在进程不可用,或者是被kill掉,也有外因,比如进程吃内存大,需要重启进程,让他初..
分类:
其他好文 时间:
2014-07-14 11:30:38
阅读次数:
525