码迷,mamicode.com
首页 >  
搜索关键字:usr    ( 26217个结果
[Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
Check nagios配置文件报错例如以下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgNagios Core 4.0.6Copyright (c) 2009-present Nag...
分类:移动开发   时间:2014-05-27 00:07:04    阅读次数:364
linux下php扩展curl的安装
方法一安装cURLwgethttp://curl.haxx.se/download/curl-7.17.1.tar.gztar -zxf curl-7.17.1.tar.gz./configure --prefix=/usr/local/curlmake & make install方法二进入安装原...
分类:Web程序   时间:2014-05-26 21:25:29    阅读次数:698
nginx-rrd监控nginx访问数
一 、查看已安装的nginx是否包含stub_status模块 /usr/local/nginx/sbin/nginx -V nginx version: Nginx/1.2.0 configure arguments: --with-http_stub_status_module 确定支持stub...
分类:其他好文   时间:2014-05-26 16:34:01    阅读次数:233
docker cmd line
$ ID=$(sudo docker run -d ubuntu /usr/bin/top -b)$ sudo docker attach $ID在容器中运行top命令。如果attach 的时候就能看到top的是输出。$ sudo docker stop $ID 就能结束这个容器。docker bu...
分类:其他好文   时间:2014-05-26 14:38:52    阅读次数:421
mac 开发环境安装使用 记录
常用命令1 查找文件位置: $locate php-fpm 软件变动的话更新locate本地库,可能比较耗时。 $sudo /usr/libexec/locate.updatedb2 查找运行文件位置 $whereis php-fpm $witch php-fpm所有命令最好再超级管理员下...
分类:其他好文   时间:2014-05-23 03:42:11    阅读次数:360
Add a system call on Ubuntu 13.04(x64) with x86_64
We added a system call to modify idt table, then programed it inmodify_idt.c1. Put our modify_idt.c file in/usr/src/linux-3.10.15/arch/x86/kernel2./us...
分类:其他好文   时间:2014-05-22 15:51:03    阅读次数:269
外网登陆SAP的两种方式
1、用SAP router实现从外网登录SAP服务器(方式一) 自已搭建的局域网结构如下: SAP服务器IP: 192.168.0.2, 路由器中设为DMZ区 在SAP服务器上启用SAP router,即可 SAP router的搭建非常简单: 1.找到SAP的安装目录(例如D:\usr\sap\ECC\DVEBMGS00\exe\),可以看到saprouter.exe文件 ...
分类:其他好文   时间:2014-05-21 16:55:39    阅读次数:455
python实现代码行的统计
最近闲来无事写了一个统计C或者C++代码行数的程序,主要用到了python以及正则表达式 #-*-coding:utf-8 #!/usr/bin/python import re import os import sys '''get the file or dir in one path''' def getfilename(path): if os.path.exi...
分类:编程语言   时间:2014-05-21 15:06:30    阅读次数:379
msmtp在RHEL6.5下的安装
1.解压[root@zabbix~]#tar-jxvfmsmtp-1.4.32.tar.bz22.配置[root@zabbix~]#cdmsmtp-1.4.32[root@zabbixmsmtp-1.4.32]#./configure--prefix=/usr/local/msmtp--sysconfdir=/usr/local/msmtp/etccheckingbuildsystemtype...x86_64-unknown-linux-gnucheckinghostsystemtype...x86..
分类:其他好文   时间:2014-05-21 12:58:08    阅读次数:378
You have new mail in /var/spool/mail/root
1、在进入系统的时候经常提示Youhavenewmailin/var/spool/mail/rootecho“unsetMAILCHECK”>>/etc/profilesource/etc/profile关闭sendmail的功能:chmod0/usr/sbin/sendmailmv/usr/sbin/sendmail/usr/sbin/sendmail.bakln-s/var/qmail/bin/sendmail/usr/sbin/sendmail清..
分类:其他好文   时间:2014-05-21 12:39:10    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!