Friday, September 3. 2010

我种的滴水观音发芽了

个人笔记
今年夏天一棵滴水观音结了红色的种子,我把它们晾了晾就种下去了,经过长达两个礼拜多的等待,今天我惊奇的发现发出芽来了,oh my godness!
Thursday, September 2. 2010

wget配置代理

~/.wgetrc

proxy=http://[name]:port/

yum配置代理

/etc/yum.conf

proxy =http://name:port
proxy_username=
proxy_password=

Linux下安装pecl模块

  1. 先下载,解压缩
  2. 确保服务器上已经安装了php-devel-[版本]包
  3. 在解压缩目录中phpize
  4. configure && make && make install,这将安装.so文件到/usr/lib/php/modules
  5. 在/etc/php.d中添加一个配置文件
  6. 重启相关服务
Wednesday, August 25. 2010

Tomcat中appBase和docBase的配置误区

Java

其实我是清楚这两个属性的区别的,但是我的服务器上一般每个host只有一个context,所以我习惯把host的appBase和context的docBase指向同一个位置,今天让我遇到问题了。我在看tomcat的日志的时候已经看到里面写着

Deploying web application directory images
Deploying web application directory templates
之类的,但是还是没往深了想,折腾了个把小时才搞定,大意啊。

网上一个兄弟已经把这个问题描述的很清楚了,不懂的人请入内看。

更多内容…

(Page 1 of 75, totalling 372 entries) » next page

Categories

All categories

Calendar

« 2010 年 September »
Mon Tue Wed Thu Fri Sat Sun
    1 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

Archives

Quicksearch

友情链接

Syndicate This Blog

XML RSS 1.0 feed
XML RSS 2.0 feed

Blog Administration

Open login screen

访问统计

Locations of visitors to this page
The articles in this sites are copyrighted, except those marked as reshipped
MII Record: 05029638