Domino 9.0 Setup / Install on Ubuntu Precise

Mindwatering Incorporated

Author: Tripp W Black

Created: 06/21/2013 at 04:53 PM

 

Category:
Ubuntu
Domino

Install Domino 9.0 on Ubuntu Precise

There is an updated instruction set for Ubuntu 14.04 and 16.04.

Notes:
Ubuntu is NOT yet a supported platform for the Lotus Domino 9 server. I have used it for "non critical" boxes (e.g. SameTime, Traveler) since 8.5.

I created a VM with 2.5 to 4 GB ram, and separate disks for the OS (1st disk for: /, /boot, swap, etc), and another for the Lotus Domino data directory (/local --> /local/notesdata). I've also made 3 disks/drives so that /opt/ is separate from the OS drive, as well. I gave the VM two NICs. The 1st is a VMXNET2 adapter (or VMXNET3 if vSphere 5), and the second is an E1000 for compatibility during the install. I removed the 2nd NIC after the reboot of the the open-vm-tools install.

Performed the Ubuntu server distro installation and selected OpenSSH option of the server software to install. I've done 32bit Ubuntu with 32bit Domino, 64bit Ubuntu with 32bit Domino, and now 64bit Ubuntu with 64bit Domino.

Confirmed that sendmail and postfix were NOT installed.

Confirmed selinux not enabled/installed.

Installed and configured the Open-VM-Tools (see another doc in this repository for steps).
$ sudo apt-get install open-vm-tools

Set NTP to time servers:
$ touch /etc/cron.daily/ntpdate
$ vi /etc/cron.daily/ntpdate
Add the following line and save: ntpdate ntp.ubuntu.com
$ sudo chmod 755 /etc/cron.daily/ntpdate


Domino 9 Prerequisites:

Increase file-handles for Domino:
Edit /etc/security/limits.conf using root and add or modify the lines:
notes soft nofile 20000
notes hard nofile 49152
or
notes hard nofile 65535
(where notes is / will be the o/s username for the server. Use 49152 for 32 bit Linux and use 66635 for 64 bit Linux)

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

Add firewall rules for common Domino ports:
$ sudo ufw allow proto tcp to any port 22 from 192.168.n.0/24
$ sudo ufw allow proto tcp to any port 25 from 192.168.n.0/24 ' if SMTP routing in local intranet
$ sudo ufw allow proto tcp to any port 1352
$ sudo ufw allow proto tcp to any port 80
$ sudo ufw allow proto tcp to any port 443

If server is also an IBM Sametime server:
$ sudo ufw allow proto tcp to any port 544
$ sudo ufw allow proto tcp to any port 9092
$ sudo ufw allow proto tcp to any port 9094
$ sudo ufw allow proto tcp to any port 8088
$ sudo ufw allow proto tcp to any port 1533
$ sudo ufw allow proto tcp to any port 1516
$ sudo ufw allow proto tcp to any port 8082
$ sudo ufw allow proto tcp to any port 8081
$ sudo ufw allow proto tcp to any port 1503
$ sudo ufw allow 1:65535/udp


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
$ sudo apt-get install libxmu6
$ sudo apt-get install libxp6
$ sudo apt-get install libxp-java
$ sudo apt-get install libxtst6
$ sudo apt-get install gawk
Confirm you have both the 32 bit and 64 bit installed, especially if you are installing the 32 bit version of Domino.

If the install just disappears as you are tabbing the screens(value is actually "1", to just do next screen), you might also be missing the following:
$ sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree
(Note: the RedHat and CentOS libraries are glibc (which is in the IBM list, and compat-libstdc++-33, which is NOT in the IBM list.)

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
$ sudo mkdir /home/sysadmin/tmp
$ cd /home/sysadmin/tmp/
$ sudo cp /media/cdrom/*.tar
$ sudo tar -xvf *.tar


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

$ cd linux/domino/ (for 64bit Domino, $ cd /linux64/domino )
$ sudo su (or better, $ sudo -s, with the -s for a "real" shell. )
#./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 /home/sysadmin/tmp )


Verify that the Domino user owns the Domino data directory:
(Should not be needed since R5.)
$ sudo chown -R notes /local/notesdata
$ sudo chgrp -R notes /local/notesdata


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
or
$ /opt/ibm/domino/bin/server
(path may be different depending on upgrade vs new R9 install)

We do the setup before adding/enabling running as a service. Watch the first run after setup or upgrade for any issues.
Click "Y" to upgrade the Domino Directory when prompted.

Add a startup script to the /etc/init.d folder so Domino can be started/stopped as a 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


___________________________

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