<HTML ><HEAD ><TITLE >MajorCool</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK REL="HOME" TITLE="Majordomo and MajorCool HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Majordomo" HREF="x253.html"><LINK REL="NEXT" TITLE="Frequently Asked Questions" HREF="x478.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Majordomo and MajorCool HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x253.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x478.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN424" >4. MajorCool</A ></H1 ><P >MajorCool is a web-based interface to Majordomo allowing users to add and delete themselves from lists and manage lists that they own. The installation is fairly straightforward; all that need be done is to unzip the files, edit one line in the <B CLASS="COMMAND" >Configure</B > script, and execute the script.</P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN428" >4.1. Extracting MajorCool</A ></H2 ><P >The latest files can be downloaded from <A HREF="http://www.conveyanced.com/MajorCool/" TARGET="_top" >Conveyance Digital</A >. <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >[jarchie@kes jarchie]$ </TT ><TT CLASS="USERINPUT" ><B >mkdir majorcool</B ></TT > <TT CLASS="COMPUTEROUTPUT" >[jarchie@kes jarchie]$ </TT ><TT CLASS="USERINPUT" ><B >mv majorcool.tar.gz ./majorcool/</B ></TT > <TT CLASS="COMPUTEROUTPUT" >[jarchie@kes jarchie]$ </TT ><TT CLASS="USERINPUT" ><B >cd majorcool/</B ></TT > <TT CLASS="COMPUTEROUTPUT" >[jarchie@kes majorcool]$ </TT ><TT CLASS="USERINPUT" ><B >tar zxvf majorcool.tar.gz</B ></TT ></PRE ></TD ></TR ></TABLE ></P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN441" >4.2. Edit the <B CLASS="COMMAND" >Configure</B > Script</A ></H2 ><P >Open <B CLASS="COMMAND" >Configure</B > and <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >[jarchie@kes majorcool]$ </TT ><TT CLASS="USERINPUT" ><B >vi Configure</B ></TT ></PRE ></TD ></TR ></TABLE > change the line that reads <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" >PERLBIN="/usr/local/bin/perl" # How to start a perl script</PRE ></TD ></TR ></TABLE > to the proper location of <B CLASS="COMMAND" >perl</B > <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" >PERLBIN="/usr/bin/perl" # How to start a perl script</PRE ></TD ></TR ></TABLE > otherwise, MajorCool will not be installed properly.</P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN452" >4.3. Installing MajorCool</A ></H2 ><P >When running the <B CLASS="COMMAND" >Configure</B > script, if the default choice for an option is okay, simply pressing Enter will accept the default. <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >[root@kes majorcool]# </TT ><TT CLASS="USERINPUT" ><B >./Configure</B ></TT ></PRE ></TD ></TR ></TABLE > The <B CLASS="COMMAND" >Configure</B > script will ask you to hit Enter a few times, and then it will ask for the location of Majordomo and some more questions about the setup of your Web server. <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >What is the installation directory of Majordomo? []: </TT ><TT CLASS="USERINPUT" ><B >/usr/local/majordomo-1.94.5</B ></TT > <TT CLASS="COMPUTEROUTPUT" >Will place the MajorCool programs in /usr/local/majordomo-1.94.5. What is the path to your Majordomo configuration file? [/usr/local/majordomo-1.94.5/majordomo.cf]: Using configuration file name '/usr/local/majordomo-1.94.5/majordomo.cf' Where would you like temp files created when MajorCool runs? [/tmp]: MajorCool needs to install CGI programs, support files, and icons in your Web server directories. What is the root directory for your Web server? []: </TT ><TT CLASS="USERINPUT" ><B >/var/www</B ></TT > <TT CLASS="COMPUTEROUTPUT" >Where is the cgi-bin directory for your Web server? [/var/www/cgi-bin]: Will place the programs in /var/www/cgi-bin. What is your server's URL for '/var/www/cgi-bin'? [/cgi-bin]: Where is the image directory for your Web server? [/var/www/icons]: Will place the icons in /var/www/icons. What is your server's URL for '/var/www/icons'? [/images]: </TT ><TT CLASS="USERINPUT" ><B >/icons</B ></TT > <TT CLASS="COMPUTEROUTPUT" >Where is the root directory for documents on your Web server? []: </TT ><TT CLASS="USERINPUT" ><B >/var/www/html</B ></TT ></PRE ></TD ></TR ></TABLE > The <B CLASS="COMMAND" >Configure</B > script will ask other questions that are less critical. (The defaults are fine, but you might want to change a few settings to fit your preferences. Unlike some of the Web server questions, the meanings should be obvious from the context.) When the configuration file that the script generated from your answers is displayed, you should accept the new version. <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >Accept the new version? [yes|no|list|edit|diff]? </TT ><TT CLASS="USERINPUT" ><B >y</B ></TT ></PRE ></TD ></TR ></TABLE > The installation script will install the MajorCool files and run the <B CLASS="COMMAND" >majordomo</B > cgi script which outputs the html file to the console. Check to see if the installation worked by viewing the <B CLASS="COMMAND" >majordomo</B > cgi script from the web. <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMPUTEROUTPUT" >[jarchie@kes jarchie]$ </TT ><TT CLASS="USERINPUT" ><B >lynx http://localhost/cgi-bin/majordomo</B ></TT ></PRE ></TD ></TR ></TABLE ></P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x253.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x478.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Majordomo</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Frequently Asked Questions</TD ></TR ></TABLE ></DIV ></BODY ></HTML >