posted @ 2012-07-13 09:32
07 2012 档案
摘要:http://www.s135.com/ 和 blog.s135.com 域名均指向 Nginx 所在的服务器IP。 用户访问http://www.s135.com/,将其负载均衡到192.168.1.2:80、192.168.1.3:80、192.168.1.4:80、192.168.1.5:80
阅读全文
摘要:文件查找相关Whereis、find和locate+updatedb 命令简介 ●名称:whereis功能:定位文件所在的目录 使用whereis命令可以定位常用命令的位置: [root@yanghsia root]#whereis ls (# 定位ls命令的位置) ls:/bin/ls (# ls
阅读全文
posted @ 2012-07-12 13:05
摘要:转到SVN项目的hooks目录下面 新建post-commit文件.内容如下 # export LANG=zh_CN.UTF-8 WEB=/www/vhost svn update $WEB --username user --password passwd --no-auth-cache # 需要
阅读全文
posted @ 2012-07-12 10:53
摘要:注:在http://www.discuz.net/thread-1465174-1-1.html上面修改更新,增加56.com。可在这里下载最新版本,http://pan.baidu.com/netdisk/singlepublic?fid=156737_3291021664插件说明功能:将从youku,tudou,ku6,mofile,56等视频站分享的视频以缩略图显示环境支持:空间需支持file_get_contents函数。默认allow_url_fopen开启的时候该函数有效。allow_url_fopen开启方法:php.ini文件中将allow_url_fopen如下设置:(大部分
阅读全文
posted @ 2012-07-12 09:42
摘要:注:最新的分词系统 HTTPCWS 已经发布,用来取代 PHPCWS。 请点击以下网址下载 HTTPCWS: http://code.google.com/p/httpcws 原来的 PHPCWS 停止更新。 名称:PHPCWS(PHP中文分词扩展) 协议:New BSD License 作者:张宴 网址:http://code.google.com/p/phpcws/ SVN:http://code.google.com/p/phpcws/source/browse/#svn/trunk/phpcws 一、PHPCWS 简介 1、什么是 PHPCWS ? PHPCWS...
阅读全文
posted @ 2012-07-12 09:36
摘要:在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络. #运行用户user www-data; #启动进程,通常设置成和cpu的数量相等worker_processes 1; #全局错误日志及PID文件error_log /var/log/nginx/error.log
阅读全文
posted @ 2012-07-05 17:13