outsource from india chennai india programmers freelance php coder freelance outsource scripts programming complicated perl patterns php module installation
outsource from india perl installation and configuration php installation linux system administration US$15,US$19,US$11,US$10 cheap programmer
india outsource outsource india chennai india programmers php perl mysql freelance freelance programmer
SHOWCASE of php and perl scripts CONTACT US for php custom perl scripts
HOME
 
Next Previous Contents

5. Configuration files

There are various configuration files that need some adjustment or have to be created.

5.1 apache

In my setup, I created a virtual host to handle all MMBase request, but using a few Alias directors it cannot be too hard to include MMBase somewhere in your normal web tree.

That was for my last setup (HOWTO version 0.1 covering MMBase 1.4).

Using the newest version of Tomcat and Apache, I have troubles getting the two working together. As soon as I find out how to use libapache-mod-webapp or libapache-mod-jk with tomcat4, I will update this HOWTO.

One posible solution is compiling mod-webapp yourself, because the version that comes with Debian seems to be non-standard. This is beyond the scope and intention of this HOWTO.

This also means that by default MMBase will run on port 8180 (directly from the stand-alone Tomcat server. You can change this port in /etc/tomcat4/server.xml

5.2 MMBase

Although many things have to be configured on MMBase itself, I have added a few subjects to this mini-HOWTO.

The database access should be set in WEB-INF/config/modules/jdbc.xml :

        <property name="url">jdbc:mysql://$HOST:$PORT/$DBM?user=mmbaseuser&password=secret<//property>
        <property name="user">url<//property>
        <property name="password">url<//property>
        <property name="database">MMBase<//property>
        <property name="driver">org.gjt.mm.mysql.Driver<//property>

And one more line to change to get the mysql connection working. In WEB-INF/config/modules/mmbaseroot.xml make sure you have this setting:

        <property name="database">mysql<//property>

The builder for images contains a path to convert that is not Debian-compliant. Change WEB-INF/config/builders/images.xml

        <properties>
                <property name="ImageConvert.ConverterCommand">bin/convert</property>
                <property name="ImageConvert.ConverterRoot">/usr/</property>
                <property name="ImageConvertClass">org.mmbase.module.builders.ConvertImageMagick</property>
        </properties>


Next Previous Contents
Linux HOWTO full list
   This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed