个人工具

UbuntuHelp:Hula

来自Ubuntu中文

跳转至: 导航, 搜索

What is Hula?

IconsPage?action=AttachFile&do=get&target=IconNote.png Hula is no longer supported and is only available in Ubuntu 6.06 LTS "Dapper Drake." According to the Hula Wiki: Hula is a calendar and mail server whose goal is to be fun and easy to use, while scaling effortlessly from small groups to large organizations with thousands of members. Hula is an open source project led by Novell (http://www.novell.com). In simple terms:

  • Hula is Mail, Calendaring and Address Book server
  • Hula is now licensed under the GPL (previously, it was available under the MGPL and LGPL)
  • Hula is a working server which is used in production envrionments
  • Hula is very easy to use for anyone - from System Administrators to Normal Users
  • Hula works very well under Ubuntu

Packages or Source?

Some people are stuck on whether to build Hula from source or install from packages. There are advantages to both:

Install from Packages

  • + Easy to install
  • + Upgrade tools included
  • + Code is tested and tried
  • - Not the latest code
  • - Code is modified from original code base
  • - Some features disable by default

Install from Source

  • + Latest code with new features and fixes
  • + No changes - original code straight from developers
  • + Better for hacking Hula code
  • - Upgrading can be difficult
  • - Building takes longer
  • - Unneccessary code on hard drive

See: BuildingHula If you are running a Hula server, it is probably better to use packages but if you are testing or hacking on Hula, it is better to run from source code.

Installing Hula in Ubuntu 6.06 (Dapper Drake)

Step 1: Adding APT Repo

You need to add a repository to your /etc/apt/sources.list file. You can do this by opening up a terminal and running:

gksudo gedit /etc/apt/sources.list

You then need to copy and paste this line to the end of the file:

deb http://www.eurobob.f2s.com/packages ubuntu-dapper/

Save and close sources.list

Step 2: Downloading Hula

In the same terminal window as above, run these commands to downloading and install Hula.

sudo apt-get update && sudo apt-get install hula hula-dragonfly slapd libapache2-mod-python hula-mta

Step 3: Configuring Hula

All this is adapted from http://hula-project.org/Getting_Started Run these commands from a terminal to run the initial setup and start hula

sudo ln -s /etc/ldap /etc/openldap
#if you're running edgy, do this
sudo cp /etc/openldap/schema/* /etc/openldap
sudo /usr/sbin/hula-setup
sudo /etc/init.d/hula start
sudo /etc/init.d/apache restart

Example hula-admin line

sudo /usr/sbin/hula-admin --authuser=admin --authpass=hula user-add test --userpass=test --surname=testsurname

For being able to login with a webbrowser you need to take a look at the file in /etc/hula/apache.conf. Read the instructions and put the file in /etc/apache2/sites-available. Default username and password for http://yourserver Username: admin Password: hula

Step 4: Running Hula

There is an init.d script included with Hula. So, to start Hula, you just run (in a terminal):

sudo /etc/init.d/hula start

And to stop Hula:

sudo /etc/init.d/hula stop

Note: It can often take several minutes for Hula to fully stop running so be patient :)

Aditional Notes

  • Hula WebAdmin runs on port 89. You can log on with the username admin and password hula
  • Hula WebUI runs on port 8080. You can log on with the accounts set up in WebAdmin