09 2012 档案

php函数parse_url()
摘要:举例子如下: 复制代码 代码如下: $url = "http://www.electrictoolbox.com/php-extract-domain-from-full-url/"; $parts = parse_url($url);输出: 复制代码 代码如下: Array ( [scheme] => http [host] => www.electrictoolbox.com [path] => /php-extract-domain-from-full-url/ )又如: 复制代码 代码如下: <?php $url = 'http:// 阅读全文

posted @ 2012-09-21 11:27 F.W.C 阅读(302) 评论(0) 推荐(0)

svn 操作命令
摘要:平常都要用到的几个命令,在此标记一下。。svnadmin create --fs-type fsfs /home/svn/repos/wince6svn -m "create" mkdir file:///home/svn/repos/wince6/bsp-0901echo "hello" >1.txtsvn import /home/jeff/1.txt file:///home/svn/repos/wince6/bsp-0901/1.txt -m "add 1.txt"svn del file:///home/svn/rep 阅读全文

posted @ 2012-09-17 10:50 F.W.C 阅读(302) 评论(0) 推荐(0)

svn 端口查看
摘要:ps -ef|grep svnserve 阅读全文

posted @ 2012-09-17 10:45 F.W.C 阅读(1557) 评论(0) 推荐(0)

ubuntu 12.04 安装 nginx+php+mysql web服务器
摘要:Nginx 是一个轻量级,以占用系统资源少,运行效率而成为web服务器的后起之秀,国内现在很多大型网站都以使用nginx,包括腾讯、新浪等大型信息网站,还有淘宝网站使用的是nginx二次开发的web服务器。直接php+mysql这是Linux web服务器的黄金组合。今天我们一来学如何在ubuntu 12.04 中架设lnmp。1. 使用官方PPA安装 Nginx 最新版本,使用以下命令: sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx Nginx相关控制命令: 启动 阅读全文

posted @ 2012-09-14 10:53 F.W.C 阅读(279) 评论(0) 推荐(0)