个人工具

“UbuntuHelp:Hula”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(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...)
 
第50行: 第50行:
 
<pre><nowiki>
 
<pre><nowiki>
 
gksudo gedit /etc/apt/sources.list
 
gksudo gedit /etc/apt/sources.list
</nowiki></code>
+
</nowiki></pre>
  
 
You then need to copy and paste this line to the end of the file:
 
You then need to copy and paste this line to the end of the file:
第56行: 第56行:
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://www.eurobob.f2s.com/packages ubuntu-dapper/
 
deb http://www.eurobob.f2s.com/packages ubuntu-dapper/
</nowiki></code>
+
</nowiki></pre>
  
 
Save and close sources.list
 
Save and close sources.list
第64行: 第64行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get update && sudo apt-get install hula hula-dragonfly slapd libapache2-mod-python hula-mta
 
sudo apt-get update && sudo apt-get install hula hula-dragonfly slapd libapache2-mod-python hula-mta
</nowiki></code>
+
</nowiki></pre>
  
 
=== Step 3: Configuring Hula ===
 
=== Step 3: Configuring Hula ===
第77行: 第77行:
 
sudo /etc/init.d/hula start
 
sudo /etc/init.d/hula start
 
sudo /etc/init.d/apache restart
 
sudo /etc/init.d/apache restart
</nowiki></code>
+
</nowiki></pre>
  
 
Example hula-admin line
 
Example hula-admin line
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /usr/sbin/hula-admin --authuser=admin --authpass=hula user-add test --userpass=test --surname=testsurname
 
sudo /usr/sbin/hula-admin --authuser=admin --authpass=hula user-add test --userpass=test --surname=testsurname
</nowiki></code>
+
</nowiki></pre>
  
 
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.
 
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.
第99行: 第99行:
 
<pre><nowiki>
 
<pre><nowiki>
 
gksudo gedit /etc/apt/sources.list
 
gksudo gedit /etc/apt/sources.list
</nowiki></code>
+
</nowiki></pre>
  
 
You then need to copy and paste this line to the end of the file:
 
You then need to copy and paste this line to the end of the file:
第105行: 第105行:
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://www.alcoholicsunanimous.com/hula debs/  
 
deb http://www.alcoholicsunanimous.com/hula debs/  
</nowiki></code>
+
</nowiki></pre>
  
 
Save and close sources.list
 
Save and close sources.list
第114行: 第114行:
 
sudo apt-get update
 
sudo apt-get update
 
sudo apt-get install hula libhula0 hula-cil-agents
 
sudo apt-get install hula libhula0 hula-cil-agents
</nowiki></code>
+
</nowiki></pre>
  
 
=== Step 3: Configuring Hula ===
 
=== Step 3: Configuring Hula ===
第122行: 第122行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo hulasetup --domain=yourdomain.com
 
sudo hulasetup --domain=yourdomain.com
</nowiki></code>
+
</nowiki></pre>
  
 
You need to replace yourdomain.com with your domain name (like ubuntu.com). This must NOT include www. or http://
 
You need to replace yourdomain.com with your domain name (like ubuntu.com). This must NOT include www. or http://
第130行: 第130行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/hula start
 
sudo /etc/init.d/hula start
</nowiki></code>
+
</nowiki></pre>
  
 
And to stop Hula:
 
And to stop Hula:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/hula stop
 
sudo /etc/init.d/hula stop
</nowiki></code>
+
</nowiki></pre>
  
 
'''Note:''' It can often take several minutes for Hula to fully stop running so be patient :)
 
'''Note:''' It can often take several minutes for Hula to fully stop running so be patient :)

2007年5月13日 (日) 12:35的版本


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

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!


CategoryDocumentation CategoryCleanup