• 欢迎交换友情链接

    本站欢迎与 Linux管理,系统管理,数据库开发,程序设计,网络技术等原创 Blog 站交换链接。

    不接受与此完全无关的交换请求,

    谢绝推销产品或者纯商业网站等,

    坚决拒绝与色情、反动等国家明令禁止的网站交换链接。

    本站只作文字链接。

    添加以下链接地址:

    2hei.net

    阅读全文
    作者:u2 | 分类:others
    欢迎交换友情链接已关闭评论
  • rhel5下安装oracle10g笔记

    #安装前的配置及准备 #Edit by 2hei 2007-11-05,参照网上的相关文档,实际安装记录,转载请注明。 #安装环境及软件: Linux kernel 2.6.18-8.el5 oracle_10201_database_linux32.zip groupadd dba groupadd oinstall useradd oracle -g oinstall -G dba passwd oracle cd /home/oracle/ unzip oracle_10201_database_ ...

    阅读全文
    作者:u2 | 分类:others
    rhel5下安装oracle10g笔记已关闭评论
  • Error, some other host already uses address

    Today i install rhel5-64bit in my vmware5.5, i use bridge network. when i ifup my eth0, I meet this error: error, some other host already uses address 192.168.1.233. I’m sure there is no other guy use this IP,and I change other Ip also meet this error. this is my ifcfg-eth0: DEVICE=eth0 ON ...

    阅读全文
    作者:u2 | 分类:others
  • 编译GD freetype.h 错误的解决

    在编译GD时 ./configure –prefix=/usr/local/gd –with-jpeg=/usr/local/jpeg6/ –with-png=/usr/local/lib/ –with-zlib=/usr/local/lib/ –with-freetype=/usr/local/freetype/ make时出现错误: In file included from gdft.c:57: /usr/include/freetype2/freetype/freetype.h:20:2: #er ...

    阅读全文
    作者:u2 | 分类:others
  • resin配置引出Perl 正则表达式

    在处理resin3的host regexp匹配泛解析域名时,用到了perl的正则表达式 如:([^.]+) ,所以搜集了一下perl的正则表达式。(转) ——- 阅读提示:正则表达式是 Perl 语言的一大特色,也是 Perl 程序中的一点难点,不过如果大家能够很好的掌握他,就可以轻易地用正则表达式来完成字符串处理的任务,当然在 CGI 程 ...

    阅读全文
    作者:u2 | 分类:others
    resin配置引出Perl 正则表达式已关闭评论
  • resin3的host配置优化

    配置resin.conf中的host部分。 定义日志目录,格式化输出,web发布目录,错误码定义等等。 在resin2.x中可以定义 <classpath id=’WEB-INF/classes’ source=’src’ compile=’true’/> 来自动编译源码,但是在resin3.x中没有这个用法,只能放到WEB-INF/classes目录下。 具体如下 ...

    阅读全文
    作者:u2 | 分类:others
    resin3的host配置优化已关闭评论
  • resin3.1.3下域名泛解析及URL重定向

    原理: 配置resin的host虚拟主机的相关配置,利用正则表达式来泛解析三级域名。 参考了anotherbug的配置。 host设置虚拟主机的具体用法详见: http://www.caucho.com/resin-3.1/doc/host-tags.xtp 2、环境 resin3.1.3   URL重定向插件 urlrewritefilter-2.6-src 地址为: http://tuckey.org/urlrewrite/ 具体配置: A h ...

    阅读全文
    作者:u2 | 分类:others
    resin3.1.3下域名泛解析及URL重定向已关闭评论
  • lvs-dr安装笔记-by 2hei

    一、准备测试环境,如下图: #               ________ #              |        | #              | client | #              |________| #                  | CIP=eth0 192.168.1.117 #                  | GW=192.168.1.1 #                  |       __________ #                  |      |          | #         ...

    阅读全文
    作者:u2 | 分类:others
    lvs-dr安装笔记-by 2hei已关闭评论
  • shell遍历目录及目录下的所有文件

    #!/bin/sh # 定义一个方法 foreachd(){ # 遍历参数1 for file in $1/* do # 如果是目录就打印处理,然后继续遍历,递归调用         if [ -d $file ]         then                 #echo $file                 foreachd $file         elif [ -f $file ]         then                 echo $file                 fo ...

    阅读全文
    作者:u2 | 分类:others
    shell遍历目录及目录下的所有文件已关闭评论