个人工具

UbuntuHelp:Hula

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 11:25的版本 (New page: {{From|https://help.ubuntu.com/community/Hula}} {{Languages|php5}} == What is Hula? == According to the [http://www.hula-project.org Hula Wiki]: ''Hula is a calendar and mail server who...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


What is Hula?

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


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
</code>

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

<pre>
deb http://www.eurobob.f2s.com/packages ubuntu-dapper/
</code>

Save and close sources.list

=== Step 2: Downloading Hula ===
In the same terminal window as above, run these commands to downloading and install Hula.
<pre>
sudo apt-get update && sudo apt-get install hula hula-dragonfly slapd libapache2-mod-python hula-mta
</code>

=== 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
<pre>
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
</code>

Example hula-admin line
<pre>
sudo /usr/sbin/hula-admin --authuser=admin --authpass=hula user-add test --userpass=test --surname=testsurname
</code>

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:

<pre>
gksudo gedit /etc/apt/sources.list
</code>

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

<pre>
deb http://www.alcoholicsunanimous.com/hula debs/ 
</code>

Save and close sources.list

=== Step 2: Downloading Hula ===
In the same terminal window as above, run these commands to downloading and install Hula.
<pre>
sudo apt-get update
sudo apt-get install hula libhula0 hula-cil-agents
</code>

=== 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.

<pre>
sudo hulasetup --domain=yourdomain.com
</code>

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):
<pre>
sudo /etc/init.d/hula start
</code>

And to stop Hula:
<pre>
sudo /etc/init.d/hula stop
</code>

'''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!
----
CategoryDocumentation CategoryCleanup

[[category:UbuntuHelp]]