Tag Archives: Linux

Installing Zimbra Collaboration Suite On Ubuntu 12.04

Background
Zimbra Collaboration Suite is a fantastic email and collaboration solution made by VMware.   Zimbra is my email server solution of choice, because it’s very easy to setup, and the features you get are unmatched by other open source email solutions.  Ubuntu 12.04 is the current Ubuntu LTS, which will be supported for servers until 2017, so this is a great time to use it on a server you don’t want to have to take offline for frequent updates, like a mail server.

How is Zimbra different from SquirrelMail or RoundCube?
Popular open source solutions for webmail are SquirrelMail and RoundCube, which interface with an existing IMAP \ SMTP server to provide webmail access.  Zimbra is a fully integrated mail solution, which sets up a POP, IMAP, and SMTP server, and provides HTTP and\or HTTPS webmail out of the box.  Zimbra also provides a desktop AJAX, desktop HTML, and mobile HTML access option set.  No matter what device you’re on, you can access your webmail in a friendly way.

Other Features of Zimbra
Zimbra offers a number of other features, such as:

  • Address Book
  • Calendar
  • Tasks Management
  • File\Document Briefcase
  • File\Document\Folder Sharing
  • Incoming Email Filtering\Antivirus
  • Social Media Integration

You can look at the official list of features, and other information, on Zimbra’s website.  This is their page on the Open Source Edition.

 

Installing Zimbra Collaboration Suite 8.0.2 Open Source Edition on Ubuntu 12.04
If you’ve decided that you’d like to try Zimbra Collaboration Suite, let’s get on to the installation!

Install Dependencies
These packages will be necessary for Zimbra to be installed on your system.

Download Zimbra ZCS
At the time of this writing, you can use the link in the Code box below.  As this tutorial ages, and newer versions of Zimbra are released, you will want to go to the download page and get the latest link.

zcs-wget

Extract The Downloaded Archive

Enter The Folder You Extracted

DNS Configuration
If your DNS was not setup properly, you might get an error like DNS Error resolving yourhostname.com.  There is an error which will follow regarding your MX configuration.  These errors are OK to ignore, as long as you’re not planning on using your hostname to send\receive email.  You can add properly configured domains later.

However, you do want to make sure this domain name can be resolved.  Put it in /etc/hosts for 127.0.0.1 if necessary.  If you do not do this, you will encounter an error during the final setup stage.

Run The Installer

Press Y and hit enter to agree to the license agreement.

ZCS-install-1

 

Now, if you installed all the dependencies at the start of this tutorial, you should have everything you need!

ZCS-Install-2

 

If you aren’t sure what you want to install, then just install the items as suggested.

zimbra-ldap – Yes
zimbra-logger – Yes
zimbra-mta – Yes
zimbra-snmp – Yes
zimbra-store – Yes
zimbra-apache – Yes
zimbra-spell  – Yes
zimbra-memcached – No
zimbra-proxy – No

When asked if you want to continue, press Y and hit enter to proceed with the installation.

ZCS-Install-3

The Zimbra installer will take care of extracting and installing the packages for you.  This part of the process might take some time, depending on the speed of your machine.

 

Configuration Menu
Go through all of the items on the configuration and make sure they are what you want.  I like to make sure these options are set:

Don’t stress out about the domain names too much, you can add additional domains to your email server later, very easily.

  • Common Configuration > Hostname\Ldap Master Host — Should be your server’s main domain, like mydomain.com.
  • Common Configuration > LDAP Admin Password — The administrative password for Zimbra’s LDAP Server.  Make it something you’ll remember if you ever think you’ll want to integrate anything with the built-in LDAP later.
  • LDAP > Domain To Create — Should be your server’s main domain, like mydomain.com.
  • LDAP > LDAP Root\Replication\Postfix\Amavis\Nginx\Bes Searcher Passwords — I like to change these too.
  • Zimbra Store > Admin User\Password — These will be used to login to the Zimbra Admin Area.
  • Zimbra Store > Spell Server URL — Make sure this is a web address that can be accessed, it will be used when people press Spell Check.
  • Zimbra Store > SMTP Host — Should be your server’s main domain, like mydomain.com.
  • Zimbra Store > Version Update Email Addresses — Should be an email address for an administrator.

When you’re satisfied with all of your settings, press “S” and hit enter to write your settings to the configuration file.   The default file location is fine.   Then press “A” and hit enter to apply your settings and start the server!

Zimbra will ask you to confirm the changes to your system.  Type “Yes” and hit enter.

Zimbra will now run through an installation procedure, which may take a few minutes, depending on the speed of your machine.

If all went well, Zimbra is now installed on your server.  If it didn’t, you will be given a log file location, where you can look and see what might have gone wrong.

 

Firewall Rules
Hopefully your server has, or is at least behind, a firewall solution.  If so, these are the ports you should definitely be unblocking for the proper use of your server.  These ports are assuming you’re running a default configuration, and you did not change your ports during the setup procedure.

Webmail: 80/tcp for standard access, 443/tcp for encrypted access.
Administration Console: 7071/tcp (can be blocked in the firewall if you only plan to do administration over VPN, locally, etc)
Aspell: 7780/tcp (Zimbra runs a spell check server on this custom port, which users will access when they press the Spell Check button on the web interface)
SMTP: 25/tcp for standard access, 465/tcp for encrypted access.
POP: 110/tcp for standard access, 995/tcp for encrypted access.
IMAP: 143/tcp for standard access, 993/tcp for encrypted access.

 

Accessing Your Zimbra Server
You can login to your Zimbra accounts for webmail access at your Zimbra server’s IP or DNS on the standard https port 443.  You can access your Administration Console over HTTPS using port 7071.

Point your web browser to http://your.zimbra.server.ip:7071/

Zimbra Admin Console

Once you’re logged in, your admin interface will look something like this.

Zimbra Admin 2

The Zimbra setup procedures in the web interface are very straightforward, and are up to you to play with on your own now that Zimbra is installed and working!

Installing Dragon Naturally Speaking 12 on Ubuntu 12.04 (Using PlayOnLinux)

After having very much difficulty installing Dragon Naturally Speaking 12 on Ubuntu 12.04 with the latest version of WINE (WINE 1.5.20) I decided to look again at the AppDB.  I found that Dragon Naturally Speaking had a Platinum rating for WINE 1.4, so I decided to give that version of WINE a try with PlayOnLinux, which I believe is a very effective tool for managing different WINE versions and profiles.

Obviously, PlayOnLinux is not a requirement for having WINE 1.4 installed on your machine.  You could install WINE yourself and obtain this version, but for the scope of this tutorial, we will be using PlayOnLinux to manage the installation.

Install PlayOnLinux
It will be to your benefit to grab the latest version of PlayOnLinux from their repository, as this will probably be more recent than the version in your distro’s repository.  This step is optional, but if you ignore it, you might not get the version of PlayOnLinux described in this procedure, and you might be missing new bugfixes and improvements.

Now, let’s install PlayOnLinux!

Install WINE 1.4 Inside PlayOnLinux
Go to the Tools menu, and select Manage WINE Versions.

1-PlayOnLinux

Select WINE 1.4, and press the Right Arrow to install the version.

2-PlayOnLinux

PlayOnLinux will download and install WINE 1.4 for you.

3-PlayOnLinux

Once it’s installed, it will appear to the right.

4-PlayOnLinux

 

Close out of the WINE installation screen.  Next, you’ll want to press the Install button in the PlayOnLinux window, to start installing a new Windows program.

5-PlayOnLinux

Select “Install a new program in a new virtual drive.”

6-PlayOnLinux

You can name your drive whatever you want.  I called mine “DragonNaturallySpeaking12”.

7-PlayOnLinux

Go ahead and check “Use another version of WINE” and hit Next.  This will allow us to manually select which version of WINE we want to use.

8-PlayOnLinux

If you have used PlayOnLinux for other things, you may have more than one version of WINE installed, and that’s OK.  We want to select 1.4.  If you don’t have this option, please go back to the beginning of the tutorial and make sure you’ve installed WINE 1.4 using the “Manage WINE Versions” option on the Tools menu.

9-PlayOnLinux

Now, PlayOnLinux will set up your virtual drive for you.

10-PlayOnLinux

Assuming you have the Dragon Naturally Speaking 12 DVD, which I did, you want to select “CD-ROM” as the place to install your program from.  As shown here.  Then, hit Next.

11-PlayOnLinux

PlayOnLinux will do some steps to prepare for the installation.

12-PlayOnLinux

After a moment or two, the Dragon Naturally Speaking installer will start.  As with any normal installer, click Next to begin.

13-PlayOnLinux

Read the license agreement.  (Hah!)  Then check “I accept the terms in the license agreement” and press Next.

14-PlayOnLinux

In the next window, you’ll want to substitute my filler information with your own.  The serial number for my Dragon Naturally Speaking 12 installation was on the back of the paper DVD holder that contained my installation disk.  Yours will probably be there as well.  Once you’ve filled in your information, go ahead and hit Next.

15-PlayOnLinux

I chose to do a Typical/Complete installation.  I chose to leave the default location.  The location will not interfere with any other WINE programs, unless you didn’t create a brand new virtual drive.  If you did, then the default location should work just fine for you.  If you have no idea, just leave this screen how it is, and press Next.  (That will be fine for most cases.)

17-PlayOnLinux

The installer will now copy some files.

I got this error message.  I ignored it and pressed OK.

18-PlayOnLinux(Error)

 

I decided I didn’t want to have Dragon Naturally Speaking check for updates on its own, as I have no idea how those will be installed… and I am using my Dragon Naturally Speaking in a professional installation where I will not be the user.  I don’t want to put my end-user through a hostile upgrade experience later, I just assume update it myself down the road if necessary.

Once you’ve decided whether you want to risk the automated updates, hit Finish.

19-PlayOnLinux(Finished)

The installer created a .lnk file on my Ubuntu desktop, but I found that shortcut did not work, so I deleted it.  I created my shortcut using the PlayOnLinux shortcut maker.  You can find this by pressing the Configure button on top of your PlayOnLinux screen.

Select your virtual drive, and click the “Make a new shortcut from this virtual drive” button.

1-Shortcut-FromVdrive

Find “natspeak.exe” and press Next.

2-Shortcut-NatSpeak.exe

Obviously, you can name your shortcut whatever you want.   I chose to name mine “Dragon Naturally Speaking 12”.

3-Shortcut-TypeName

Close out of the shortcut maker when it’s finished, and you should now have a shortcut on your desktop to launch Dragon Naturally Speaking.  Go ahead and launch it.

On first run, I had to activate Dragon Naturally Speaking.  This process worked fine for me, so just press Activate Now.

 

 

1-Dragon-1strun-activation

 

Then, Dragon Naturally Speaking will fire up.  Everything looks like it’s working well so far.

2-Dragon-1strun-Splash

 

I did encounter some minor issues with Dragon Naturally Speaking, but all in all, it worked well enough that I am comfortable deploying it.

 

Some Issues I Had:

The Sidebar.  I disabled the sidebar, because it seemed like every other time it launched, it caused the application to crash.

Where You Can Dictate.  It seemed like dictation into Linux programs didn’t work.  I could only dictate into DragonPad and Dragon Naturally Speaking itself.  Even other WINE programs, like Notepad, seemed out of reach of Dragon’s dictation power.

 

I was quite surprised that some of the features like “Search Google for ____” actually worked, and actually launched my native Mozilla Firefox application.   I did not have a huge amount of time to test the installation, but it will be going into production, so I’m sure if there are any other issues, I will find out about them.  If anyone has any questions, please feel free to ask in the comments, and I will answer what I can.  Keep in mind, I did not install Dragon Naturally Speaking on my own laptop, and my work only had a single license.

The reason I created this tutorial was not as a comprehensive guide, but so that someone who is searching Google for these instructions can find something.  I was very disappointed at how little information I found on Dragon Naturally Speaking 12 with WINE.   I am by no means an expert, just someone who spent a little too much time trying to get this working (see my other two blog posts here and here)… I hope someone found this useful and that I saved someone some time!

Installing Dragon Naturally Speaking 12 Does Not Work With WINE 1.5.20

NOTE: This is NOT a how-to.  This was an effort to document the problems I ran into during installation.  This blog post did not end in a successful installation of Dragon Naturally Speaking 12 in WINE 1.5.20.

This post, like my previous one, also started as a How-to, until it didn’t work…  I did eventually get Dragon Naturally Speaking working, and that post will be coming shortly.  This post does not have instructions which work, but I will publish it anyway in the hopes that someone will find it on Google, and something I’ve written will be useful.

My Installation Experiences

After failing to get Dragon Naturally Speaking 12 working on Ubuntu 10.04, I decided to try it in Ubuntu 12.04 where I would have access to a more recent version of WINE.  I decided to grab the latest version of WINE from the PPA.

Install WINE 1.5 from the PPA

Install Microsoft .NET Framework 4.0 (Winetricks)

I was asked to download a file from Mediafire and put it in a location. Follow all on-screen instructions.

Dragon - 3 - Dotnet Error

The .NET Framework installer failed and produced error code HRESULT 0x80070643.  I found this bug report which led me to these other Winetricks.

When installing the other Winetricks, pay attention to their instructions, as some of them will have you download and run other scripts.  This is supposed to satisfy the missing .NET Framework requirements.

Create a 32-bit WINE Prefix As described from this thread, I followed these steps.

Run Dragon Naturally Speaking Installer

Dragon - 1 - Install Starting

Dragon - 2 - License Agreement

 

I still got an error when executing the MSI installer…

Dragon Naturally Speaking 12 Does Not Work On Ubuntu 10.04

NOTE: This is NOT a how-to.  This was an effort to document the problems I ran into during installation.  This blog post did not end in a successful installation of Dragon Naturally Speaking 12 on Ubuntu 10.04.

In spite of being a failure, this post may be useful to save someone else some time if they find it on Google.

I was recently asked to get Dragon Naturally Speaking (version 12) running on a Ubuntu 10.04 laptop at work.  I thought I would write up on this for my own consultation, and at the same time, I figured it would be worthwhile to publish it, in case this helps anyone else.  I realize Ubuntu 10.04 is on its way out, but nevertheless, this might be helpful to someone.  This article started as a how-to, until I realized that it wasn’t worth getting working with these software versions.

Tested Software Versions:
Ubuntu Linux 10.04, WINE 1.2.2, Dragon Naturally Speaking 12.

My Installation Experiences: (WINE 1.2.2) (Did not successfully install.)
Because I am dealing with some very old hardware (a laptop that lacks a DVD drive), I copied the contents of the DVD to a folder on the hard drive, using the network.

Since the application already had a rather high rating (Silver\Platinum) on the WINE database, I attempted an installation using WINE.

I started the Setup.exe program in WINE, and everything looked like it was going well.

Dragon Naturally Speaking informed me that it would require additional dependencies, but it started their installers for me automatically.

Dragon - 1 - Install .NET Framework 4.0

Dragon - 2 - MSXML 4.0 Parser Setup

The MSXML 4.0 setup program ran and successfully installed.  Then, it tried to install .NET Framework 4.0.

Dragon - 3 - Program Error

The .NET Framework 4.0 installer failed…

Dragon - 4 - .NET Failed To Install

So, I used Winetricks to install the Microsoft .NET Framework 4.0.   At the time of this writing, you can get Winetricks here.

While following the instructions to install .NET Framework 4.0, I was asked to download a file (gacutil-net40.tar.bz2) from MediaFire and put it in my home folder in the .cache/winetricks/dotnet40 folder.

After downloading and placing this file in that location, I ran the Winetricks .NET Framework 4.0 installer command again.

The installation took a few minutes, and I got an error message…

Dragon - 5 - Program Error Again (.NET Framework)

I decided I would use the WINE PPA and get a more recent version of WINE installed.

Installing WINE 1.4 from the PPA

Installing on WINE 1.4 (Also did not successfully install.)

I went right ahead and tried using Winetricks to install the .NET Framework 4.0, anticipating that this would be a problem.

The installation ran for a few minutes, but this time it did not crash.  The upgrade to WINE 1.4 must have resolved the issue with the .NET Framework 4.0 installer.

Dragon - 6 - .NET Framework Installer Working 1

I thought it was interesting that my download size would be 0MB, but maybe it still had some files it had downloaded on my previous attempt…

I decided Microsoft didn’t need to know about my setup experiences.

Dragon - 7 - .NET Framework Installer Working 2

It looked like it was going to work, until it failed.

Dragon - 8 - .NET Framework Failed To Install

As suggested by the setup wizard, I took a look at the log file.

After I pressed “Finish”, more terminal output occurred, and it looked like the setup was continuing to make registry entries.

I decided to give the installer a shot anyway, since it looks like part of the .NET Framework 4.0 installation might have succeeded.  It got further than before.

Dragon - 9 - Dragon Setup Partially Working

But it threw some errors, and failed…

Dragon - 10 - Error 1

Dragon - 11 - Error 2

Dragon - 12 - Failed To Install DNS

I did some Googling, and I came across this bug and this bug.  Based upon that, I decided to install a few more Winetricks to see if that would help.

I had some difficulties installing MFC42 because of a 404 error within Winetricks… but it looked like this Winetrick might fix the missing files.

After running these Winetricks and going through their installers, I tried the setup again.  I had the same results.

I looked for dd10hook.dll, and I found it in the correct location on the hard drive.  So, this seems to be an issue only with using\running the DLL.  The file is where it’s supposed to be.

I decided I would need to consult the forums on this one, so I turned on some WINE debugging options.

This was my debug output when running the installer.

I will attempt the installation on a newer version of Ubuntu with a more recent version of WINE, because it sounds like Dragon Naturally Speaking 12 might work in WINE 1.5 based on this bug report.

I will keep everyone apprised on my progress!

Newly found DVD limit…

Apparently DVD’s hold insane amounts of storage now. While burning a typical linux distro DVD, I may have found a glitch…

Screenshot - 11282012 - 06:30:54 PM

My DVD burner can now burn 18.4 EB DVD’s.