neom
March 10th, 2005, 06:35 AM
I thought I would right a really quick step by step howto on installing hula on an ubuntu box.
For those who don't know, Hula is a calendar and mail server, it runs the novells NetMail backend, it's extremely versatile and fun!
You can find out more information here
http://hula-project.org/Hula_Server
The first thing I would suggest you do if you don’t already have it is get subversion, it is available on the package manager. I went all out and also got python subversion and subversion tools.
This is a terminal heavy install so I would suggest you have it open.
First step is to create a hula directory in your home directory.
mkdir hula
Next, cd into hula and use subversion to acquire it.
cd hula/
svn checkout svn+ssh://anonymous@forgesvn1.novell.com/svn/hula/trunk/hula.
If it asks for a password, it’s anonymous.
The next step is to run the auto generator. The command is as follows:
cd hula/hula/
./autogen.sh
You can use a prefix on this if you so wish, I however would recommend against it as it has to run as root anyway (you can use sudo for this).
It’s also normal to get some errors at this point.
There may be a few dependencies you are missing, they are usually not too hard to find. I found all mine in the package manager.
Now it’s time for make!
make
And make install
sudo make install
You have a bit of a choice now. Do you want to run hula as your main mail system, or do you have something existing you wish to leave in place? I was using it as my main mail system, so left most of the defaults install in tact. However, if you are installing along side something, you should probably add some prefixes to the next part.
You will need to find out what to use for dns, I would suggest you look that up in /etc/resolv.conf
tail /etc/resolv.conf
I used the first nameserver.
For a near default install, use this command:
cd /usr/local/sbin/
./hulasetup --domain=whatever.domain.tld --dns=nameserver
For domain, I was setting it up on my home box, so I used home.neom.ca for the domain, and my dns was 64.84.124.10 so I used that.
If you have other mail things running, you will need to use something like this
cd /usr/local/sbin/
./hulasetup --domain=whatever.domain.tld --ldap=port --http=port --https=port --webadmin=port --webadmins=port --dns=nameserver
If you have something running on port 25, you will probably want to end that, I had postfix, so I just killed it.
Also note, this is an application that will stay running when you launch it, so put it in a terminal you can hide. I have mine skipping the taskbar on desktop 4.
The final step is as follows
sudo /usr/local/sbin/hulamanager
The only error I’ve experience at this point is bind errors, the rest can pretty much be ignored.
Don't forget to fwd your ports on your router.
Then just connect to http://127.1.1.0:8080
And webadmin is at http://127.1.1.0:89
This is only what I have done, and I wouldn't say I'm a hula pro. If you need support I would suggest irc.freenode.net #hula
http://home.neom.ca/hula.png
For those who don't know, Hula is a calendar and mail server, it runs the novells NetMail backend, it's extremely versatile and fun!
You can find out more information here
http://hula-project.org/Hula_Server
The first thing I would suggest you do if you don’t already have it is get subversion, it is available on the package manager. I went all out and also got python subversion and subversion tools.
This is a terminal heavy install so I would suggest you have it open.
First step is to create a hula directory in your home directory.
mkdir hula
Next, cd into hula and use subversion to acquire it.
cd hula/
svn checkout svn+ssh://anonymous@forgesvn1.novell.com/svn/hula/trunk/hula.
If it asks for a password, it’s anonymous.
The next step is to run the auto generator. The command is as follows:
cd hula/hula/
./autogen.sh
You can use a prefix on this if you so wish, I however would recommend against it as it has to run as root anyway (you can use sudo for this).
It’s also normal to get some errors at this point.
There may be a few dependencies you are missing, they are usually not too hard to find. I found all mine in the package manager.
Now it’s time for make!
make
And make install
sudo make install
You have a bit of a choice now. Do you want to run hula as your main mail system, or do you have something existing you wish to leave in place? I was using it as my main mail system, so left most of the defaults install in tact. However, if you are installing along side something, you should probably add some prefixes to the next part.
You will need to find out what to use for dns, I would suggest you look that up in /etc/resolv.conf
tail /etc/resolv.conf
I used the first nameserver.
For a near default install, use this command:
cd /usr/local/sbin/
./hulasetup --domain=whatever.domain.tld --dns=nameserver
For domain, I was setting it up on my home box, so I used home.neom.ca for the domain, and my dns was 64.84.124.10 so I used that.
If you have other mail things running, you will need to use something like this
cd /usr/local/sbin/
./hulasetup --domain=whatever.domain.tld --ldap=port --http=port --https=port --webadmin=port --webadmins=port --dns=nameserver
If you have something running on port 25, you will probably want to end that, I had postfix, so I just killed it.
Also note, this is an application that will stay running when you launch it, so put it in a terminal you can hide. I have mine skipping the taskbar on desktop 4.
The final step is as follows
sudo /usr/local/sbin/hulamanager
The only error I’ve experience at this point is bind errors, the rest can pretty much be ignored.
Don't forget to fwd your ports on your router.
Then just connect to http://127.1.1.0:8080
And webadmin is at http://127.1.1.0:89
This is only what I have done, and I wouldn't say I'm a hula pro. If you need support I would suggest irc.freenode.net #hula
http://home.neom.ca/hula.png