spacer free cgi script archive logo
Home Downloads Show Detail Live Chat Site Map See in Action Save Cart Search Email Help Print spacer
spacer
spacer > Home > Free Cgi Scripts  > About Us  > Contact  > FAQ

CGI Scripts that are Very Secure, Reliable & Free! 

spacer
spacer spacer spacer spacer spacer spacer spacer spacer spacer
 
spacer
column heading image
spacer
 
orange bullet

Premium Scripts

-AllAffiliatePro
-CosmicDirectories
-CosmicContacts
-CosmicEmailer
-CosmicTells
-BannerClick
-AffiliateClick
-AdSpaceSeller
spacer
orange bullet

Webmasters

-Server setup tips
-Web design guide
-RSS & Blog guide
-Useful Tools
-Tips and Tricks
-Message Board
-Spam Board
-Techie Board
-Make Money
-Free Web Space
-Free Content
-Start a Website
-Contribute
-Distributor program
-Link partners
spacer
orange bullet

Programming

-Our guide to CGI & Perl
-CGI/Perl
-Java
-JavaScript
-HTML
-C/C++
-Visual Basic
-Programming Forums
spacer
 
   

Installing Perl modules for Linux and Win32

If you are a hosting company or running your own server. You've probably discovered that many Perl modules that are required by scripts do not come installed by default. Installing Perl modules is VERY easy if you know how to do it. So here is a quick guide:-

Linux
Windows
Suggested modules to install
Installing modules the old fashioned way

Linux

The easiest way to install Perl modules on Linux is by using the CPAN module. Login to your server by SSH or Telnet as root. Then type:-
perl -MCPAN -e shell;
If this is the first time you have used this method then you will need to answer a few configuration questions. Make sure you answer these correctly (usually just do what it suggests). If it suggests 'yes' then type 'yes' not 'y' or 'return'. If it offers automatic config then go for it. From now all you have to do to install Perl modules is type:-
install MODULENAME
From the CPAN shell. The CPAN module will do all the installing for you. Most usefully it'll install any dependencies. So if a module requires others in able to work, installing perl modules this way will install them all for you. This can save a lot of time. Note that this method always tests a module before installing. Some modules will pass most tests and fail on some because the module is old but still working perfectly well. If this is the case, for example with the LWP module, you must force the install by typing:-
force install LWP

Windows

Installing Perl modules in windows is easy. Just open the command prompt and type:-
ppm
This will open the Perl Package Manager. From here you can install perl modules simply by typing:-
install MODULENAME

Suggested modules to install

From time to time you'll need to install or update new perl modules. Here is a list of common modules that you'll probably want to install at some point. Get them done now and you'll save time later. It only takes 2 minutes using the methods above! (Note. if installing on windows, swap :: in module names for - to make DBD-mysql).

  • LWP
  • DBI
  • DBD::mysql
  • DBD::ODBC
  • URI
  • CGI
  • CGI::Carp
  • Image::Size
  • Archive::Zip
  • Compress::Zlib

Installing modules the old fashioned way

For whatever reason you may find the need to install a module without using the CPAN module. Here is what to do in a nice ordered list:-

  1. Visit CPAN.org and search for the module you require, such as DBI.
  2. Select the correct module from the search results.
  3. The next page you see provides a summary for information about the module. In the top (ish) left is a download link for the module.
  4. Select the download link and save the file. If you are in SSH then type "wget http://www.urltodownload.com".
  5. Continue to ungzip and untar the file to a temp folder. "gzip -d downloadedfile.tar.gz" then "tar xvf downloadedfile.tar".
  6. Change directory into the folder that was created when you untared. This folder will have the same name as the downloaded file without an extension. "cd downloadedfile".
  7. To create the makefile type "perl Makefile.PL".
  8. Now run the standard "make" followed by "make test" and finally "make install".

You may find that you need to install additional modules before others will install.

 

 

     
orange bullet

Free Scripts

-CGI & Perl Scripts
-AffiliateClick Free
-RSS creator
-SecureFormEmailer
-Directory
-Storyline
-Tell-a-Friend
-Link Trade
-Cosmic Mailer Lite
orange bullet

More Free Scripts

-BBS
-Clock
-Hit Counter
-Top Site
-Shot in the Dark
-Gamemaker
-Random Pics & Text
-Banner Rotator
-Password Protection
Want the latest news?
Then why not sign up for our newsletter? Be notified immediately about new products, upgrades, sales, discounts, bug fixes, site updates and more. 
 
 
spacer
free cgi scripts | perl scripts | affiliate software | site map
Copyright �2003-2004 CosmicScripts.com. All rights reserved.
spacer