选择显示字体大小

perl的nt安装实验报告


首先, 是下载安装程序.

我是在http://www.activestate.com/overview.htm进行下载.

包括3块:
perl for win32 build 316
perl for isapi build 316(如果要写cgi)
perlscript build 316(如果要写asp)

文件都不大, 别搞错了运行平台就行了

接下来先安装 perl for win32
下载的pw32i316是自解压文件, 解开后会自动执行一个批处理文件进行安装.

安装的界面是个命令行的交互程序, 全文记录如下...

this install script assumes that you have unpacked
perl for win32 into the final intended destination
directory.
do you wish to proceed? [y/n]
y
perldir = c:perl
wed jul 22 15:08:04 1998
installing perl for win32 into c:perl
added key to hkey_local_machinesoftwareactivewareperl5 ..
adding c:perlbin to script path information
adding c:perllib to library include path information
modify search path? [y/n]y
retrieving path information from session manager
updated path information in session manager
associate .pl with perl.exe? [y/n]
associating .pl extension with perl.exe.
.pl=perl
perl=c:perlbinperl.exe %1 %*

if foo.pl is in the path, typing foo.pl at any command prompt will run it.

add registry key to support standard i/o redirection in iis? [y/n]
added createprocesswithnewconsole value for iis
perl 5.003 installation finished.
note: the updated path information will not take effect
until you log off and back on again. enjoy ;-)

: 弹出一个notepad窗口让你观看release.txt,看完后关闭这个窗口

按任意键继续...

perl安装后目录结构如下:

perl
+----bin 可执行文件 *.exe *.bat

+----docs 文档(html格式)

+----eg 例子

+----lib 库文件

docs是一定要看的, eg是开卷有益的, lib就先看看好了,不要乱动

接下来装个isapi扩展, 弄弄cgi

plisi316.exe 也是个自解压文件, 运行后自动执行一批处理文件过程记录如下:

installing perlis
请按任意键继续 . . .
***** wed jul 22 16:00:58 1998
installing perlis into c:perlbin
please choose a file extension to associate with perlis.dll.
extension:
-->association made with .pl

perlis installed.
opening release.txt...
: 看完 release.txt 后
请按任意键继续 . . .
: 完成了

我的机器上装的是iis 4.0, 配置*.pl为cgi程序的操作如下:
打开要配置的站点(site)或目录(virtual directory)的属性对话框
在 home/virtual directory 板里选 application settings 的 configuration...
在 app mappings 里用 add 加入对 .pl 文件的解释器, executable 选
刚才安装在 c:perlbin 里的 perlis.dll
由于不是asp解释器, 所以不用 script engine 选项

that should be ok.

在刚才的hw.pl 头上加一行
print "content-type: text/htmlnn";

用浏览器试试看吧...我是一次成功的

接下来装个perl script, 弄弄asp

plsei316.exe 也是个自解压文件, 运行后自动执行一批处理文件
过程记录如下:

installing perlscript
请按任意键继续 . . .
***** wed jul 22 16:32:15 1998
installing perlscript into c:perlbin
perlscript installed successfully
opening release.txt...
请按任意键继续 . . .

安装完成后 c:perlbin 下多了一个 perlse.dll
另外有两个目录 aspsamples 和 ie3samples 在 c:perl

ie3samples里的是在页面里用perl script的例子,马上就可以看了
aspsamples 里的是在asp里用perl script的例子,先加到iis里也可以看了

这这这...是不是有点太简单了?

  


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons