Install Perl on Windows XP
1.Download ActivePerl for Windows XP from ActiveState. At the time I downloaed, the version was ActivePerl 5.6.1 build 633.
2.After registering my user information, I choosed WIndows MSI package, which is 8.31M in size.
3.It took me about 2 minutes and 51 seconds to download - thanks to the broadband provider - China Great Wall Broadband Corp[Chinese site]. I haven't dreamed of downloading files larger than 5M in 10 minutes before.
4.Install the MSI package. There is no any problem during the installation. I accepted all the defaul settings expect changing the default location from c:\Perl to c:\Program Files\Perl. I believe it is always good to follow the Windows convension instead of seeking for a place in root directory of C:\. This makes the disk hard to manage. Update: I am changing my mind recently. "C:\Program Files" folder is special in terms of Read-only settings and security permissions. Moving programs from their original location to this folder may bring unneccessary trouble if the program has never been tested in this environment.
Configure IIS for Perl and perl script with .CGI extension to work
•I know it is wired for more green hand to have CGI run on Windows computer. At this time, if anyone access http://home.wangjianshuo.com/mt/mt.cgi, it will prompt to download the file instead of see the result. I configured IIS to recognize .CGI extension just as it recognize .ASP or .SHTML.
•In Inetmgr.exe, right click MT folder and select Properties. Click Create button in Application Settings area on Directory tab. Click OK to close the dialog box. Now we have created a seperate application.
•Right click on Web Site node in Inetmgr.exe (the parent note of Default Web Site).
•Click Add and enter the same parsing program (C:\program files\perl\bin\perl.exe "%s" %s for my case) and enter .cgi to Extension text box. Click OK. Note: The above changes can ONLY be changed on website level, not on applicaiton level, otherwise, the OK button will always be gray in the "Add/Edit Application Mapping" dialog box.
•Click Configure and check the program to parse .pl files. It is C:\program files\perl\bin\perl.exe "%s" %s for my server.
Home »
Windows XP
» How to Install Perl on Windows XP
How to Install Perl on Windows XP
Related Posts:
HowTo Run Squid Proxy Server in Windows XPIt is better to use Linux for this purpose. , You can make an experiment in your windows and switch to Linux. installing squid on windows Download … Read More
How to Create Hello World programe in perl on windows xp1. Download Perl 2. Install Perl 3. Learn More Create Hello World program We will now wr… Read More
How to download perl (withs screenshots)1. Install Perl 2. Create Hello World program 3. Learn More 1. Download Perl We will first go to the ActiveState site and download Perl … Read More
learn more about perl 5 in windows Xp1. Download Perl 2. Install Perl 3. Create Hello World program To continue learning Perl, try these:1. Read this free PDF boo… Read More
How to Install Perl on Windows XP1. Download Perl 2. Create Hello World program 3. Learn More We will now install Perl on your computer using the file you jus… Read More
0 comments:
Post a Comment