Howto: Hula compilieren
Grab the sourcecode using one of several available methods.
Configure the build with:
$ ./autogen.sh --prefix=/opt/hula/
Run make which will compile the program for you
Run make install as root which will install Hula into the prefix.
* You may get errors about Python and/or OpenSSL. These issues are addressed in the FAQ: Python error and the open ssl error.
* RHEL users: The version of OpenSSL that comes with RHEL uses Kerberos headers that are outside of the normal Kerberos path. This can be disabled by passing the following command:
$ export LOCALDEFS="-DOPENSSL_NO_KRB5"
or you can tell gcc where to find the Kerberos includes by passing the following command before running autogen.sh:
$ export C_INCLUDE_PATH="/usr/kerberos/include"
* Ubuntu users: If you do not install g++, the autogen script will error out with a message stating that /lib/cpp did not pass a sanity check. Installing g++ fixes this problem. This can be done by using the following command:
$ apt-get install g++
Change to the /opt/hula/sbin/ directory and run:
$ ./hulasetup --domain=your.domain.com --dns=ip.of.dns.server
* If you don't specify the --domain argument, then it will default to localhost.localdomain as your domain.
* Specifying the IP address of your DNS server is useful; hula doesn't pick it up from /etc/resolv.conf. You need to set it in order to send mail out.
* If you already have servers running for services that hula provides, you can change the port hula will use for them with hulamanager too. For example, if you already have an smtp server running on port 25, you can make the hula smtp server use port 26:
$ ./hulasetup --smtp=26
* Parameters for other services are --http --smtps --https, --ldap, --webadmin and --webadmins.
To get your server started, just run:
$ ./hulamanager
* This will output a lot of stuff to your console.
* A lot of bad things will show up, but ignore them (probably).
Open up a browser and navigate to http://your.domain:8080
* You should get a username and password box.
Log in with user admin and password hula
You should see something looking like the following. The main mail interface Enlarge The main mail interface