[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Mailman Installation on a Raq4



We worked on getting Mailman to install on our Raq4 last night. Was bit
tricky considering how the Raq servers are setup. I also noticed that the
Mailman mailing list had a few Cobalt users trying and not getting where
they wanted. So to help out those that have asked about how to install
Mailman I thought I would post our How To. I did my best to get every detail
right.

Have fun, it's a bit long. Watch for line wraps.


## Disclaimer ##

This worked for me, may not for you. You can't hold me or my decedents
responsible for losing any socks or underwear in the installation of these
files/products.

I would like to thank Gerald Waugh for putting up with some late night past
bedtime questions, Thom for saying I should do a How To and my Mother for
putting up with me while I acted like I was growing up:)

## End of Disclaimer ##

Installing Mailman-2.0.13 and Python-2.2.1 on a Raq4 Server.  (May work on a
Raq3 with minor changes)

### WARNING ### This HOW TO will disable your GUI/Majordomo ### WARNING ###

Python Web Site    
http://www.python.org/
Mailman GNU        
http://www.gnu.org/software/mailman/mailman.html
Mailman Downloads  
 http://ftp.gnu.org/gnu/mailman/
Mailman Information Site
http://www.gnu.org/software/mailman/index.html
Mailman Install Instructions
http://www.gnu.org/software/mailman/install-start.html

You will need to grab the following files from Python and Mailman.
The reason I grabbed python was to have a separate install of the latest
version. Soon Mailman will require version 2. and above.

Login to your server and su to root

cd /usr/local/src

wget http://www.python.org/ftp/python/2.2.1/Python-2.2.1.tgz
wget http://ftp.gnu.org/gnu/mailman/mailman-2.0.13.tgz

untar the files for the fun stuff:)

tar -zxvf Python-2.2.1.tgz
rm Python-2.2.1.tgz
tar -zxvf mailman-2.0.13.tgz
rm mailman-2.0.13.tgz

Next we will install python onto the box. I went with the standard install.

to install python:

cd Python-2.2.1
./configure
make
make install

You should have a python install now located at /usr/local/lib/python2.2. as
well as /usr/local/include/python2.2 and your /usr/local/bin/python2.2 which
is your Python Interpreter.

Now you are all done with python. Next we will install mailman. This is much
more involving but if you take you time and follow the mailman instructions,
or this how to, you should be fine.

First you need to create a mailman account. I didn't want him on the gui so
I manually created a user named mailman (thanks Gerald for the adduser
commands)

cd to /usr/sbin and issue:

./adduser mailman -M -s/bin/bash -p password (select a password)

Next cd to home/ and create a directory named mailman

cd /home/
mkdir mailman
cd mailman/
chgrp mailman .
chmod a+rx,g+ws .

This will set the permissions on the mailman directory for mailman.

Now we want to change user to mailman to do the install of mailman.

su - mailman

Now cd to the mailman source dir

cd /usr/local/src/mailman-2.0.13/

We will now configure mailman. You will need to set some prefix options to
get mailman to run properly. Mailman will default install to /home/mailman/