On Tue, 23 Jan 2007, Jonathan Lang wrote:

> For years, I have been a Mason developer, setting up pages for use on
> sites that already have Mason installed on them.
> But as a site administrator, I'm as green as you get.  I recently
> installed Apache 2 on my home system for the purpose of using it as a
> sandbox; I did so by means of a package manager, and I have not
> customized it at all.  In fact, until earlier today, I didn't even
> know where the configuration files were located on my system; and I
> still have virtually no idea how they work.
>
> For instance: how do I check to see if I have mod_perl installed and
> running?

        The best way is package manager dependant.  If you have RPM, you want 
to try the following at a prompt (the $ is supposed to be the prompt -- don't 
type that).

$ rpm -qa | grep -i mason
$ rpm -q perl-HTML-Mason

        The first one is slower but more likely to get the right answer.  It 
will tell you what name to use in the second command.  Once you have the 
second command working, you could try things like:

$ rpm -qi perl-HTML-Mason
$ rpm -ql perl-HTML-Mason

        ...for extra information.  The second gives a list of files associated 
with the package.

        If you're not using an RPM-based distribution, you'll need to use the 
Unix Rosetta Stone to figure this out.

http://bhami.com/rosetta.html

        The stuff above will tell you whether it's installed.  Whether it's 
actually being used can be determined with:

$ httpd -M 2>&1 | grep perl

(this should be distro-independant)

> If I don't have it installed and running, how do I install
> it and start it up?

        That depends again on your distribution.  What distribution do you 
have?

> When installing Mason on my Apache server, which .conf file(s?) do I
> modify in order to install it?

        Well, I use Fedora, and I installed it from a package.  I used
$ yum install perl-HTML-Mason

        My first recommendation would be to try to install from a package 
designed for the distribution you're using.  If that's not available, but 
you're using an RPM-based distro, you could use cpan2rpm to create a package 
for your distro, and install it from there.

        :)


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: [EMAIL PROTECTED] | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to