ITeye博客

zhyiwww

zhyiwww · 共 86 篇文章

在linux上安装mapserver

在debian上安装mapserver # cd mapser5.2.1 # ./configure --with-freetype --with-agg=/opt/agg-2.5/ --with-gdal=/opt/gdal-1.6.0/bin/gdal-config --with-gd=/opt/gd-2.0.33/ --with-png --with-jpeg --with-eppl --with-geos=/opt/geos-3.0.3/bin/geos-config --with-postgis=/opt/PostgreSQL/8.3/bin/pg_config --with-og…

2009-01-28 23:00 · 评论(0)

debian下安装jdk-jre-6

设定 APT 软件库 Debian 把 Sun Java 套件放在 non-free 库中,而 Ubuntu 就放在 Multiverse 库中。 所以如果您是使用 Debian 4.0 (Etch) 或以上,请先确定您的 /etc/apt/sources.list 的 Debian 主站行已经加入 non-free,如下: deb http://ftp.hk.debian.org/debian/ etch main contrib non-free 若您是在台湾地区的使用者,Java 套件软件已经收录在下面的映像站中。 deb http://ftp.tw.debian.org/debian…

2008-12-31 10:56 · 评论(0)

基于Tiles框架Struts框架的UI 设计—几种组织HTML和JSP视图组件

基于Tiles框架Struts框架的UI 设计—几种组织HTML和JSP视图组件 javaduke 发表于 2003-11-28 15:11:00 作者:sunnyrainy 评论数:0 点击数:5,987 投票总得分:14 投票总人次:8 关键字:Tiles Struts <!-- end of div title --> 作者:Prakash Malani 原文:http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html 译者:sunnyrainy Email: sunnyrainy5@hotmail.com …

2008-12-30 10:28 · 评论(0)

关于sed替换的一点自我体会(转载)

www.lupaworld.com/bbs/viewthread.php ################################################################ #[0]:基础 # ################################################################ **sed执行过程: a. 如果已到达文件尾,goto e;否则,用当前行内容替换模式空间的内容(即缓冲区,还有一个缓冲区:后备空间); b. 执行命令序列,命令只对模式空间有效; c. 当前行号加1 d. goto a; e. 退出 注: 当…

2008-11-24 17:38 · 评论(0)

Oracle Roles (转载)

Oracle Roles Version 10.2 General Data Dictionary Objects Related to Roles defrole$ user$ dba_roles session_roles dba_role_privs user_application_roles role_role_privs user_role_privs role_sys_privs v$pwfile_users role_tab_privs System Privileges Related To Roles alter any role create role drop any…

2008-11-06 18:16 · 评论(0)

解析Oracle数据库中配置文件(转载)

解析Oracle数据库中配置文件 关键字: 数据库 oracle 配置 Oracle主要配置文件: Profile文件,oratab文件, 数据库实例初始化文件initSID.ora, listener.ora文件, sqlnet.ora文件, tnsnames.ora文件 Oracle主要配置文件介绍 一、/etc/profile 文件 系统级的环境变量一般在/etc/profile 文件中定义在 CAMS系统与数据库,相关的环境变量就定义在/etc/profile 文件中如下所示: export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME…

2008-11-06 16:35 · 评论(0)

how to install oracle 10g on fedora (转载)

Written by Werner Puschitz. Installing Oracle Database 10g on Red Hat Enterprise Linux AS 4, 3, 2.1, Red Hat Fedora Core 3 , 1 and on RH 9 www.puschitz.com * I felt I had to copy Mr. Werner Puschitz Oracle 10g install guide since I think its one of the best and more concise guides on the internet. …

2008-11-06 16:26 · 评论(0)

Apache 2.2 + Tomcat 6.0 + MySQL 5.0 + mod_jk 整合(转载)

MySQL 设定 MySQL 设定的方式很简单,基乎不需要任何的设定,只要确定可以连线到资料库即可。 在 Tomcat 伺服器上,测试 MySQL 连线方如下: 01 02 03 04 05 06 07 08 09 steven $ mysql -u steven -p -h 192.168.1.204 Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 443 to server version: 5.0.22-log Type 'help;'…

2008-11-03 17:17 · 评论(0)

如何列举一个目录下的所有目录

ls -l | grep ^d 就可以了 -rwx------ 1 chris chris 17001 Aug 29 02:57 ab1 -rwx------ 1 chris chris 12974 Aug 29 02:57 pp1 -rwx------ 1 chris chris 11704 Aug 29 02:57 pointer1 -rw------- 1 chris chris 3962 Aug 29 02:57 a2script ls -l后,第一个字符通常为-,这说明是普通的文件 如果为d,说明是目录文件 如果为l,说明是链接文件 所以,我们可以根据此来进行文件的类型检索。

2008-10-19 12:43 · 评论(0)

prototype使用的点点滴滴

我们常用的 $("map") 的这些方法就不说了,今天用了一下 Element.hide("map"); 也挺好用,相当于$("map").hide();

2008-09-27 17:44 · 评论(0)

正则表达式之道(转载)

正则表达式之道 2008-09-25 22:51 正则表达式之道 原著:Steve Mansour sman@scruznet.com Revised: June 5, 1999 (copied by jm /at/ jmason.org from http://www.scruz.net/%7esman/regexp.htm , after the original disappeared! ) 翻译:Neo Lee neo.lee@gmail.com 2004年10月16日 英文版原文 译者按:原文因为年代久远,文中很多链接早已过期(主要是关于vi、sed等工具的介绍和手册),本译文中已…

2008-09-26 17:47 · 评论(1)

脚本中的迭代和遍历

下面是摘自车东的BLOG中的两段代码: Windows 2000下:用for命令实现目录遍历和文件过滤及命令执行,例如: for /R %f in (*.java) do astyle --style=java %f for /R %f in (*.htm*) do tidy -raw -imq -wrap 132 -f %f.err %f for /R %f in (*.asp) do vbsbeaut.exe -i -s4 %f Linux:用find -exec 遍历执行,例如: find ./ -name *.java -exec astyle --style=ansi {} \; …

2008-09-26 17:21 · 评论(0)

Grep学习笔记(转载)

http://man.chinaunix.net/newsoft/grep/open.htm Grep学习笔记 整理:Jims of 肥肥世家 <yjnet@21cn.com> Copyright © 2004 本文遵从GPL协议,欢迎转载、修改、散布。 第一次发布时间:2004年7月16日 Table of Contents 1. grep简介 2. grep正则表达式元字符集(基本集) 3. 用于egrep和 grep -E的元字符扩展集 4. POSIX字符类 5. Grep命令选项 6. 实例 1.grep简介 grep (global search regular expressi…

2008-09-26 10:05 · 评论(0)

shell 循环 序列

for i in `seq 1 5` do echo $i done for (( j=0;j<20;j++)) do echo $j done

2008-09-23 09:47 · 评论(0)

fedora 9 无法输入中文的问题

http://hi.baidu.com/20080512228/blog/item/fdf794f4caf6e2dff3d3854b.html Fedora9在安装完毕后是没有中文录入功能的,输入法是默认关闭的,只能输入英文,不论当前系统所设置的首选语言。 开启Fedora的输入法,需要找到:“系统-首选项-个人-输入法” 然后在IMChooser-输入法配置工具中启用输入法特性,方可使用多国语言的输入法。 之后还可以设置SCIM输入法的一些属性 如果在安装的时候没有安装输入法,可以通过以下命令行开始安装: yum install scim*-y 没有安装中文可以用下面命令: yum ins…

2008-09-08 10:59 · 评论(0)