05 2014 档案

摘要:#!/bin/bash##Startup script for Nginx - this script starts and stops the nginx daemon## chkconfig: - 85 15# description: Nginx is an HTTP(S) server... 阅读全文
posted @ 2014-05-21 16:45 天机无双 阅读(250) 评论(0) 推荐(0)
摘要:今天在做接口开发的时候,使用curl post ,请求返回数据为 null ,很纳闷,然后使用 curl_errno 打印出来的错误代码为 28 ,curl_error($ch) 打印出来的是Operation timed out after 5000 milliseconds with 0 byt... 阅读全文
posted @ 2014-05-15 14:18 天机无双 阅读(538) 评论(0) 推荐(0)
摘要:最近遇到配置centos 6.2的sshd及sftp日志,发现/etc/syslog.conf文件不存在,然后:#rpm -qa | grep syslog出来的是rsyslog-5.8.10-6.el6.x86_64然后:#cat /etc/rsyslog.conf出来的内容几乎和以前的/etc/... 阅读全文
posted @ 2014-05-13 18:29 天机无双 阅读(320) 评论(0) 推荐(0)