Install Domino 9We recommend that you create a notes user before installation. This user is mainly used as an application when the domino system is started; if you start domino with the system root, there will be problems;
This user is created locally in linux
User gavin
Passwd gavin
Two passwords are prompted:
Configure domino
Modify the maximum number of handles, that is, the number of files that can be opened by domino.
Vi/etc/security/limits. conf
Add two lines at the end
* Soft nofile 30000
* Hard nofile 49152
In the following domino STARTUP script, root starts domino in su mode, so to make the set number of opened files take effect, you need to go to/etc/pam. add:
Session required pam_limits.so
Vi/etc/pam. d/su (open in sudo mode, which means run as Administrator)
To install a linux for domino installation package, you must copy the installation package or attach it to linux to install the package. There are two methods available:
Next, mount the shared domino for linux installation package on windows.
I copied the linux installation package on drive C of 192.168.1100.254.
First, install cifs-utils
Yum install cifs-utils
Then install yum install-y perl
Mount the file through mount after installation.
Mount // 192.168.110.254/c $/mnt/-o user = gavin, dom = gavin.com
Cd/mnt
Cd to the domino installation package path for Installation
./Install
Install Domino 9We recommend that you create a notes user before installation. This user is mainly used as an application when the domino system is started; if you start domino with the system root, there will be problems;
This user is created locally in linux
User gavin
Passwd gavin
Two passwords are prompted:
Configure domino
Modify the maximum number of handles, that is, the number of files that can be opened by domino.
Vi/etc/security/limits. conf
Add two lines at the end
* Soft nofile 30000
* Hard nofile 49152
In the following domino STARTUP script, root starts domino in su mode, so to make the set number of opened files take effect, you need to go to/etc/pam. add:
Session required pam_limits.so
Vi/etc/pam. d/su (open in sudo mode, which means run as Administrator)
To install a linux for domino installation package, you must copy the installation package or attach it to linux to install the package. There are two methods available:
Next, mount the shared domino for linux installation package on windows.
I copied the linux installation package on drive C of 192.168.1100.254.
First, install cifs-utils
Yum install cifs-utils
Then install yum install-y perl
Mount the file through mount after installation.
Mount // 192.168.110.254/c $/mnt/-o user = gavin, dom = gavin.com
Cd/mnt
Cd to the domino installation package path for Installation
./Install
By default, press enter to install
Select the data installation directory:/opt/ibm/domino by default
Because I have attached a disk and partitions in the environment, we store the data in the/opt/domino-data directory.
In user name: gavin
Group name: gavin
Select 2 (remote)
Confirm information Installation
Start Installation
Installation Complete
If the root user is installed during installation, you need to change the owner of the domino installation directory and data directory. If you change username and gourpname to gavin during installation, you do not need to perform the following operations;
Change the directory owner to gavin.
Because I want to create an additional server, create a server id: gavin-mail03.id in advance
Then copy the id file to the linux domino (domino-data) data directory.
Because I am currently in the domino-data directory, it is represented by. (point ).
Changing the gavin-mail03.id owner at the same time
Switch the directory to the domino data DIRECTORY/opt/domino-data
Run:/opt/domino-install // bin/server-listen
Error prompt;
Run the following command:
Su-gavin-c 'CD/opt/domino-data;/opt/domino-install/domino/bin/server-Listen'
Use the domino administrator remote connection tool to connect to domino
Configure the Startup Script
Download the startup script:
Wget vG
Install wget first
Yum install wget
Paste and download the copied connection.
Wget https://raw.github.com/ddellaquila/dd-repo/master/lotus-domino/domino_rc-script
Modify the script as follows,
Change/bin/sh to/bin/bash
Vi domino_rc_script
Modify user-level user groups, installation directories, and Data Directories
Save and exit
Import the script into the/etc/init. d/directory and rename it to domino. Change the owner and owner groups to root and grant 755 permissions.
Cp domino_rc-script/etc/init. d/domino
Chown root. root/etc/init. d/domino
Chmod 775/etc/init. d/domino
And register as a random start
Chkconfig domino on
Create the. domino. pwd File under/opt/domino-data. The content is blank.
Touch/opt/domino-data/. domino. pwd
Chown gavin. gavin/opt/domino-data/. domino. pwd
Chmod 400/opt/domino-data/. domino. pwd
Chmod 755/opt/domino-data
Now the settings are complete.
Restart the server
Reboot
In the vmwarevm, press ctrl + alt and press the space key. Then press F12.
Or run the following command on the console:
Su-gavin-c 'CD/opt/domino-data;/opt/domino-install/domino/bin/Server'
Start the service manually
/Etc/init. d/domino start
Use telnet to test whether ports 25 and 110 of the server are connected.
View the server status of the gavin-mail03 through adminstrator contoso
The registered user is on the gavin-mail03.gavin.com Server
We all know that after the creation, a user. nsf will be generated under the mail file under the domino data directory.
Because my database disk is attached to a separate Disk
/Opt/domino-data/mail/jhx. nsf
Next we will test it through outlook.
Finally, in order to ensure that the domain name can be resolved normally, do not forget to add a resolution record in dns
Use outlook to test server Verification
This article from "Gao Wenlong" blog, please be sure to keep this source http://gaowenlong.blog.51cto.com/451336/1277183