Chapter 2. Installation

How to get the latest version?

Download a tarball

You can find tarballs on the SourceForge project page of the project.


If you would like to use the latest development version, then you should checkout the source from CVS.

Start in your webroot:

[root@blisk htdocs]# cvs -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail login

Just press ENTER - the password is blank.

[root@blisk htdocs]# cvs -z3 -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail co jaw

Directory jaw will be created and the latest sources will pour into it.

Now, create the directory in which the other applications will live:

[root@blisk htdocs]# cd jaw
[root@blisk jaw]# mkdir apps
[root@blisk jaw]# cd apps

Now checkout the desired applications from CVS:

[root@blisk apps]# cvs -z3 -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail co ab
[root@blisk apps]# cvs -z3 -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail co admin
[root@blisk apps]# cvs -z3 -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail co mail

And be sure to put these lines into your ~/.cvsrc:

cvs -q -z3
update -d -P
checkout -P
diff -u

To keep your checkout up to date, update it like this:

[root@blisk jaw]# cvs update
[root@blisk jaw]# cd apps/mail/
[root@blisk mail]# cvs update

Note: You have to run the update for each application from the base application's directory!

To also install the web-based installer, follow these steps:

Checkout JAWmail 2 installer from CVS into a seperate directory, like /home/user/cvs/jawmail/:

[user@blisk jawmail]# cvs -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail login

Just press ENTER - the password is blank.

[user@blisk jawmail]# cvs -z3 -d:pserver:anonymous@cvs.jawmail.sourceforge.net:/cvsroot/jawmail co jawmail2

Now you'll have to symlink the directories in jawmail2/ into the root of your installation of JAW:

[user@blisk jaw]#  ln -s /home/user/cvs/jawmail/jawmail2/install.php /www/htdocs/jaw/
[user@blisk jaw]#  ln -s /home/user/cvs/jawmail/jawmail2/jawmail/ /www/htdocs/jaw/
[user@blisk jaw]#  ln -s /home/user/cvs/jawmail/jawmail2/themes/ /www/htdocs/jaw/

Now run the script that prepares the configuration files:

[user@blisk jaw]#  bash jawmail/prepare.sh

Install JAWmail as usual. Have fun.

SourceForge Logo