This will be a bit of a long blog entry, but this is a demonstration of getting Lotus Quickr 8.5 for Domino up and running on Linux. Lotus recently released this version, and those of us in the community have long awaited a Linux version. Many of our customers who use Quickr are small companies and budget is a concern. A small shop of 10-20 people can get Quickr for less than $800. When you have to fork over money to Microsoft for an OS, it more than doubles the cost. You can install on Linux and avoid additional OS costs or optionally pay for support later when you need it. Linux also is often a more stable and secure platform. I've never had a 'Blue Screen of Death' on Linux.
I am a fan of OpenSuse for most of my development/test/demo environments for IBM software. WebSphere App Server, Team Concert, Quality Manager, Domino, all run perfectly out of the box with only an occasional warning message that the OS is not officially supported (which is fine for a demo environment). For a production environment I recommend going with a full SUSE Linux Enterprise Server (SLES) license. For this experiment, I'll use OpenSuse 11.3.
I'm installing this into a VMWare environment. I created a 30GB virtual disk drive, and most of the basics. For the desktop environment, I chose XFCE rather than Gnome or KDE. XFCE is requires less system resources to run, and less binaries in the file system. Since I'll be managing the server primarily via Domino Administrator, a browser, and putty, I don't need all the visual bling of the other two desktop environments.
After you install and get to the XFCE desktop, you should disable the firewall for the time being (or at least open up the proper ports). Do this in YaST.
Once Linux is up and running, next stop is to download Lotus Domino and Quickr. Domino of course must be installed first as Quickr for Domino runs on top of .... yes ... Domino. Go to Passport Advantage (customers) or IBM Partnerworld (business partners) to download. Note: you do not need to install Java before downloading with OpenSuse 11.3. OpenJDK will launch the Download Director applet fine without it.
Once downloaded, you will have two files:
Untar Domino with the command tar -xvf lotus_domino852_xlinux_en.tar. Then cd into the directory linux/domino/
: I originally wrote this using the Domino 8.5.2, but as LotusRockStar
pointed out in the comments below, Quickr will not
run on Domino 8.5.2. You must use Domino 8.5.1, fix pack 3.
Untar Domino with the command tar -xvf lotus_domino851_xlinux_CZ5WREN.tar. Then cd into the directory linux/domino/
Now switch to root an run the install (su to switch to root). You must first create the user and group for the Domino server to run under. Issue the two following commands (the latter to set the password).
useradd -g notes notes
You can also create the accounts in Yast under 'Users and Groups'. Yast is similar to Control Panel in Windows. Set the password before you go much further also.
Next, you must increase the file handler limit.
ulimit -n 20000
Now, we can install the server. Run the install executable with ./install (note the ./)
This will launch the graphical installer (yes, you can install graphically on Linux .. don't be afraid). Click 'Next' in the next window, and then read and accept the license agreement.
You don't need to worry about partitioning, so click next.
Install the binaries in the default directory (/opt/ibm/lotus). This is analogous to the program files directory on Windoze.
Then, click 'Next' again.
The data directory is where all the information we will create is stored. These will be our blogs, wiki's, and team spaces.
Accept the default user and group names. This is the user that will be executing the binaries. You do NOT want to change this to root. It will cause you nothing but grief later if you do.
On the next screen, select 'Remote Server Setup'. The option for Remote Server Setup is available on all Linux/Unix variants and is used with the Windows based Remote Server Setup tool that comes with the Domino Administrator client.
On the next screen select "Enterprise Server". No, you do not need to purchase a separate Domino Enterprise server license, but you will need the features under Enterprise.
Select Next on the next few screens. You'll get a pop up that says this system is not supported. Don't worry, it will continue installing. Just don't put in a PMR if you need support. Remember, this is a demo. You'll then see the progress bar as it installs the binaries and base files.
Once Domino is installed, you should see the following message:
Now you need to setup the server. You will connect with the Remove Server Setup tool in Windows. Enter the hostname or IP address of the server in the first box. I'm not going to detail the remote server setup here, but if anyone requests it, I can update this blog entry later. For now, its safe to assume I've setup the server as an additional server in my Domino domain. Once you have set the server up, you'll want to shut the Remote server setup down when prompted.
Next install the fixpack. Unless you put the fixpack in another diretory you'll be extracting it into the same Domino directory as the installation. Move it to its own folder.
Untar the fixpack as you did the server tar file:
tar -xvf lotus_domino851FP3_linux_x86.tar
Now, run the fixpack installation with ./install
Follow through the prompts accordingly. Nothing to really note about it, but you do need to install the fixpack before you install Quickr.
You will now need to make some changes to the Domino directory. You must enable the Domino servlet engine:
- From IBM Lotus Notes or the Lotus Domino Administrator, open the Lotus Domino directory (names.nsf) on the server.
- Open the server document in Edit mode.
- Click Internet Protocols -> Domino Web Engine.
- Under Java Servlets, select Domino Servlet Manager in the Java servlet support field.
- Save & Close the document.
While you are in the server, create a Web Single Sign On configuration document. We are going to enable form based authentication.
Click on 'Create Web .. SSO Configuration'. On the Web SSO document, create Domino LTPA keys. Set the domain to your DNS domain (i.e. strongbackconsulting.com). On the Web SSO document, leave the 'Organization' field blank.
Set the Session Authentication to 'Multiple Servers SSO'. NOTE: Single Server is NOT supported for Quickr (school of hard knocks talking here).
Now, its time to install the Quickr binaries on top of Domino. First untar the Quickr binaries:
tar -xvf CZM8JML.tar
Then CD to the server directory and run the install with ./install
Note that you'll need to expand the terminal to full screen first. This install will be text based only.
For the installation, you need to know who your Quickr admin is going to be. You'll set a preliminary ID for that person and with a default password. We will change the directory settings later. During the install, accept the default settings for the program and data directories as well as the Domino user and group names (notes).
On the user admin screen enter your admin name. Note you need to use TAB and ENTER to accept and edit the values.
Once you've answered the basic questionnaire you should see the screen above. Press TAB to start installing all the binaries.
Finally, you should be aware that Domino will not automagically start unless you create your own init script. This is the one note where Windows beats Linux. Follow my advice on my previous blog entry on how to do that.
Another post-install task to do is to set the default homepage to "/LotusQuickr/lotusquicker/main.nsf"
Start your server, and your QuickrD is ready to run. I'll cover setup and features in another blog post, but for now you should have the basics installed on Linux. Hopefully you have a good business partner that you get your software from. They should be able to help you if you get in a pinch. If they can't... well.. perhaps you should do business with someone else?
Labels: linux, Lotus, opensuse, Quickr, vmware