Install Lotus Domino 7 on White Box Linux 4.0 (Manifestdestiny)


1. Create Notes user and group -  home directory for notes user should be set to /local/notesdata
 
2. Ensure that Apache and Sendmail are stopped and disabled - sendmail starts by default in WBEL 4.0.  They will conflict with Domino and the webserver and SMTP will not work.
 
3. As root, do the following:

Open the file /etc/security/limits.conf and add the following lines (where "notes" is the Notes user):

notes soft nofile 20000
notes hard nofile 49152

In order to be able to start Domino correctly via an ssh login, add the following line to /etc/pam.d/sshd:

session     required      /lib/security/pam_limits.so

These actions allow Domino to have 20000 file handles when it is started from a login session.  Now logout as root and login as the Notes user - this will activate the changes.

(Please note: 3.  above applies to Release 6.5 on Linux also)

4. Now login as root, and install Domino according to the instructions in the RedBook: the program directory should be /opt/ibm/lotus/bin and the data directory /local/notesdata.

5. Log in as the notes user, open a text editor and type the following:
 
export PATH=$PATH:/opt/ibm/lotus/bin:/./:/local/notesdata
 
Save the file in notes' home directory (/local/notesdata if you have set it as above) as .bash_profile.
 
6. Log out and in again as notes user.
 
7. Logged in as the notes user, in a terminal, type /opt/ibm/lotus/bin/server and the server should run.  Let it configure itself.  When it has finished, stop it and then type in a terminal:  
 
server -jc &
 
This should start the server in the Java Console.
 
8. When you have had enough, stop the server.  Next, download Mike Glanders RedHat 9 script from Double 6 http://www.double6.co.uk   Check that it matches your system setup - you will have to change $DOM_HOME to /local/notesdata if you have installed as above. Also change $DOM_PROG to DOM_PROG=/opt/ibm/lotus/bin.  You must also add the line:

ulimit -n 20000

to the "start" section of the script.  (Note: This applies to Release 6.5 on Linux also)
 
9. Log in as root.  Copy the script into /etc/init.d.  Check the permissions are 755 and make it executable: chmod a+x domino.
 
10.    In a terminal type chkconfig --add domino. Now call up Server Settings/Services from the Gnome menu. You should find domino listed as a service with a tick against it, but it will say "server is stopped".
 
11.    Reboot the machine.  Log in as as your notes user. Then type jconsole and the Java Console will load.  Connect to your server using the Administrator name and password you created during setup - or click on the picture of a computer at top left, this connects to the "local server".
 
12.   Load up a terminal and type ulimit -n.  This should return 20000.  If so the settings are correct.
 
Screenshot

If you upgrade to Dom 7.0.1 from Dom 7.0 you need this in root's .bash_profile:

NUI_NOTESDIR=/opt/ibm/lotus
export NUI_NOTESDIR

You can copy this from the Domino install screen and paste it in but remember to change the path to /opt/ibm/lotus if that is how your Domino is installed.


Domino Console command to upgrade Mail Database Templates from R5/6 to R7:

load convert -u mail/filename.nsf * mail7.ntf  (where filename is the name of the user's mail database).

Type this at a Live Console screen and hit enter.

Sometimes after an upgrade the Notes client will show all emails as Replication/Save conflict.  If this happens, close Notes and reopen it.  If the problem still exists, rename the file Cache.NDK in  lotus/Notes/Data to Cache.old and restart Notes.  This should solve it.

You can then delete the old Cache.NDK file if you want.


Return to Page 1