特殊:Badtitle/NS100:Hula

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 12:17的版本
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#ifexist: :Hula/zh | | {{#ifexist: Hula/zh | | {{#ifeq: {{#titleparts:Hula|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Hula|1|-1|}} | zh | | }}

What is Hula?

According to the [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

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) & Ubuntu 6.10 (Edgy Eft)

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

Installing Hula in Ubuntu 5.10 (Breezy Badger)

Step 1: Adding APT Repo

Although there are Ubuntu packages in Universe, it is not recommended you use them as they are vastly out of date. Instead, Alex Hudson provides some excellent packages which are known to work on both Hoary and Breezy. First, you need to add his APT source 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.alcoholicsunanimous.com/hula debs/ 

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 libhula0 hula-cil-agents

Step 3: Configuring Hula

Before you can start using Hula, you need to configure Hula with the information for your domain. You can do this using the hulasetup command.

sudo hulasetup --domain=yourdomain.com

You need to replace yourdomain.com with your domain name (like ubuntu.com). This must NOT include www. or http://

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

Step 5: Problems?

Come onto #hula on irc.freenode.net. I'm usually on there as spayne if you get stuck!