s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
2. Setting Up Your Server to Run Java CGI Programs (With Explanations)This section will lead you through installing my Java CGI package with copious explanations so that you know what the effects of your actions will be. If you just want to install the programs and don't care about the whys & wherefores, skip to Setting Up Your Server to Run Java CGI Programs (The Short Form).
2.1 System RequirementsThis software should work on any unix-like web server that has the Java Development Kit installed. I am using it on a Debian Linux system running apache as the HTTP daemon. If you find that it does not run on your server, please contact the mailing list. See The Mailing List for details. Unfortunatly, the Java run-time interpreter seems to be something of a memory hog -- you may want to throw another few megabytes of RAM onto your server if you will be using Java CGI programs a lot.
2.2 Java CGI Add-On SoftwareThe software that I wrote to aid in this is called Java CGI. You can get it from ftp://ftp.orbits.com/pub/software/java_cgi-0.5.tgz. (The version number may have changed.)
2.3 Unpacking the SourceFind a convenient directory to unpack this package into.
(If you don't already have a standard place to put packages,
I suggest that you use gzip -dc java_cgi-0.5.tgz | tar -xvf -This will create a directory called java_cgi-0.5 .
In there you will find the files referenced in the rest of this document.
(If the version number has changed, use the instructions from within
that distribution from this point on.)
2.4 Decide On Your Local Path PoliciesYou need to decide where you want your Java CGI
programs to live. Generally, you will want to put them in a directory in
parallel with your
2.5 Testing your installation.Installed from the distribution are HTML documents called
When you are sure that your installation is working correctly, you may
wish to remove
Next Previous Contents |