Domino 8.5 Setup / Install on Ubuntu 9 (Jaunty Jackalope)

Mindwatering Incorporated

Author: Tripp W Black

Created: 07/11/2009 at 01:16 PM

 

Category:
Ubuntu
Domino

Domino 8.5 on Ubuntu 9.x (Jaunty Jackalope)

Notes:
Ubuntu is NOT yet a supported platform for the Lotus Domino 8.5 server. I have high hopes it will be as there are a bunch of us that prefer Ubuntu over SUSE and REDHAT. However, it IS supported for the Lotus 8 and Lotus 8.5 Clients!

Ubuntu is still not supported on Lucid Lynx. These instructions worked except some of the packages could not be downloaded. However, if you don't mind just running without the GUI, you can get away with install console (text) mode with just the GAWK package and the LIBXP. (They were the ones available.)

I performed the Ubuntu server distro installation and selected NONE of the server software to install. This way I don't have to worry about port conflicts w/Postfix or Courier-IMAP, etc.


Create new user & home folder:
$sudo useradd -m notes
or
$sudo useradd -d /home/notes -m notes

Group command may be not needed on Ubuntu, seems to be already be created as part of home command above. Leaving as historical note. System returns "group exists" if entered.
$sudo groupadd notes

Give the new notes user a password. After enter, enter your password and then notes user password twice.
$sudo passwd notes


Update and upgrade the system:
$sudo apt-get update ' update what's available
$sudo apt-get upgrade ' upgrade currently installed packages

Install needed libraries:
$ sudo apt-get install libstdc++5 ' jaunty already had this one
$ sudo apt-get install libxmu6
$ sudo apt-get install libxp6 ' jaunty already had this one
$ sudo apt-get install libxp-java
$ sudo apt-get install libxtst6 ' jaunty already had this one
$ sudo apt-get install gawk


Replace / relink sh:
(server script uses /bin/sh, we do this to ensure we are using bash, not dash)
$sudo mv /bin/sh /bin/sh-old ' you could be more clean and delete (rm)
$sudo ln -s /bin/bash /bin/sh


Make the server data folder and change ownership:
(Note: we will leave the /opt/ibm owned by root after the install.)
$sudo mkdir /local/notesdata
$sudo chown -R notes /local/notesdata
$sudo chgrp -R notes /local/notesdata


Unpack the server tar file:
$sudo mount /dev/cdrom /media/cdrom ' my install file is on a backup cd (I had to create the cdrom folder on Lucid Lynx.)
$sudo mkdir /tmp/deleteme
$cd /tmp/deleteme
$sudo cp /media/cdrom/*.tar /tmp/deleteme
$sudo tar -xvf *.tar


Install Domino:
Note: you cannot sudo ./install, it will fail, we need to switch to root.

$cd linux/domino/
$sudo su (or better, $ sudo -s)
#./install
- install program will tell you that installs are set in graphic mode. Answer yes, the default, to continue in graphic mode. I like No, so I install in console mode instead.
- click 1 (or <enter>) for next to continue
- click <enter> for license reading
- click <enter> multiple times to read all the license or skip it and click 1 for next
- click 0 assuming no data partition upgrade -- we are doing new install
- click 1 to continue
- click <enter> to take the default install path (/opt/ibm/lotus)
- click <enter> to take the default that we are not doing partitioned server
- click 1 to continue
- click <enter> to take the default data folder install path (/local/notesdata)
- click 1 to continue
- enter the domino user added way above - e.g. notes (or you can take the root default, which I've never done.)
- enter the domino group added way above - e.g. notes (or you can take the root default, which I've never done.)
- click 1 to continue
- click <enter> to take default for manual setup
- click <enter> to take default of Domino Enterprise license (change if that's not your license type)
- click 1 to continue
- click <enter> to confirm choices
- click 1 to continue (install will now happen)
- click 3 to finish and exit.
The install is done, now you need to do the setup.

I typically wait to remove the install until after I've done the setup.
(e.g. sudo rm -R /tmp/deleteme )


Verify that the Domino user owns the Domino data directory:
In our case the install did set permissions okay.
Otherwise do:
$sudo chown -R notes /local/notesdata
$sudo chgrp -R notes /local/notesdata


Add a startup script to the /etc/init.d folder so Domino can be started/stopped as a service:
Add a script to auto start and stop Domino to init.d so that Domino becomes a service.
A R6 redbook on Domino w/Linux had a nice domino start/stop/restart which we customized for our service.
(You can search this support database for startup scripts, too.)
(e.g. wget://url.to.file.com/folder/domino)
$sudo chmod +x domino
$sudo update-rc.d domino defaults


Perform the server setup:
Do the setup now, I tend to do a manual one, otherwise, start Domino in service mode.
(See the Admin Client help, this is well documented.)
$cd /local/notesdata
$su notes
<enter password>
$/opt/ibm/lotus/bin/server


Other Notes:
To confirm the server is running:
ps a | grep server

To test access - is firewall running and ports opened?:
1. Use your Notes Client
(User Preferences --> Ports --> Trace)
2. Use Telnet
(telnet myserver.local 1352)









previous page

×