个人工具

“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...)
 
 
(未显示2个用户的6个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Hula}}
 
{{From|https://help.ubuntu.com/community/Hula}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:Hula}}
 
+
 
== What is Hula? ==
 
== What is Hula? ==
 
+
https://help.ubuntu.com/community/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 [http://www.hula-project.org Hula Wiki]:
 
According to the [http://www.hula-project.org 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). ''
 
''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:
 
In simple terms:
 
 
* Hula is Mail, Calendaring and Address Book server
 
* 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 now licensed under the GPL (previously, it was available under the MGPL and LGPL)
第15行: 第11行:
 
* Hula is very easy to use for anyone - from System Administrators to Normal Users
 
* Hula is very easy to use for anyone - from System Administrators to Normal Users
 
* Hula works very well under Ubuntu
 
* Hula works very well under Ubuntu
 
 
=== Packages or Source? ===
 
=== Packages or Source? ===
 
 
Some people are stuck on whether to build Hula from source or install from packages. There are advantages to both:
 
Some people are stuck on whether to build Hula from source or install from packages. There are advantages to both:
 
 
==== Install from Packages ====
 
==== Install from Packages ====
 
 
* + Easy to install
 
* + Easy to install
 
* + Upgrade tools included
 
* + Upgrade tools included
第28行: 第20行:
 
* - Code is modified from original code base
 
* - Code is modified from original code base
 
* - Some features disable by default
 
* - Some features disable by default
 
 
 
==== Install from Source ====
 
==== Install from Source ====
 
 
* + Latest code with new features and fixes
 
* + Latest code with new features and fixes
 
* + No changes - original code straight from developers
 
* + No changes - original code straight from developers
第38行: 第27行:
 
* - Building takes longer
 
* - Building takes longer
 
* - Unneccessary code on hard drive
 
* - Unneccessary code on hard drive
 
+
See: [[UbuntuHelp:BuildingHula|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.
 
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) ==
== Installing Hula in Ubuntu 6.06 (Dapper Drake) & Ubuntu 6.10 (Edgy Eft) ==
+
 
+
 
=== Step 1: Adding APT Repo ===
 
=== 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:
 
You need to add a repository to your /etc/apt/sources.list file. You can do this by opening up a terminal and running:
 
 
<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:
 
 
<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
 
 
=== Step 2: Downloading Hula ===
 
=== Step 2: Downloading Hula ===
 
In the same terminal window as above, run these commands to downloading and install Hula.
 
In the same terminal window as above, run these commands to downloading and install Hula.
 
<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 ===
 
All this is adapted from http://hula-project.org/Getting_Started
 
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
 
Run these commands from a terminal to run the initial setup and start hula
 
<pre><nowiki>
 
<pre><nowiki>
第77行: 第55行:
 
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.
 
 
Default username and password for http://yourserver
 
Default username and password for http://yourserver
 
Username: admin
 
Username: admin
 
Password: hula
 
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><nowiki>
 
gksudo gedit /etc/apt/sources.list
 
</nowiki></code>
 
 
You then need to copy and paste this line to the end of the file:
 
 
<pre><nowiki>
 
deb http://www.alcoholicsunanimous.com/hula debs/
 
</nowiki></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><nowiki>
 
sudo apt-get update
 
sudo apt-get install hula libhula0 hula-cil-agents
 
</nowiki></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><nowiki>
 
sudo hulasetup --domain=yourdomain.com
 
</nowiki></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 ===
 
=== Step 4: Running Hula ===
 
There is an init.d script included with Hula. So, to start Hula, you just run (in a terminal):
 
There is an init.d script included with Hula. So, to start Hula, you just run (in a terminal):
 
<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 :)
 
 
=== Aditional Notes ===
 
=== Aditional Notes ===
 
 
* Hula WebAdmin runs on port 89. You can log on with the username admin and password hula
 
* 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
 
* 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:CategoryOffice]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 17:19的最新版本

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