I installed Domino 11 in CentOS 7. Keep the procedure as a memorandum.
Precautions It is not written for those who are new to Linux. Also, the particle size of the description is not constant. Please forgive me because the commands are written on the assumption that they can be used as a matter of course.
The rough procedure is as follows
Simply insert the OS installation media into your DVD drive, turn it on and follow the instructions. I won't touch on it here. If you usually use Windows, it may be easier to install the GUI as well.
When using in a proxy environment, please support proxy after installing the OS. After installing the GUI, select "Terminal"-> "New Window" on the toolbar. Alternatively, right-click on the desktop and click "Open Terminal" to launch "Terminal". I think it is better to do it with root privileges, so get a password with root privileges. Please refer to the following. https://qiita.com/29_nickey/items/0bd2b213c6042485bb50 I think profile and yum are enough.
・ SELinux · Httpd.service (Domino and port conflict) -Postfix.service (Domino and port conflict)
・ SELinux It's a function like UAC in Windows, but it's unnecessary, so disable it. status check getenforce status confirmation command returns Effective with Enforcing Disabled is invalid To disable it, change the configuration file. Make the changes as the root user. (* I think the sudo command is better, but I'm operating as root.) vi /etc/selinux/config Please refer to the following for the settings. After setting, restart. https://qiita.com/mattsun/items/470581ff34f87c7eb21d
After restarting, stop other services as well. The order doesn't matter, but do it all. · Httpd.service (Domino and port conflict) systemctl status httpd Service startup status check systemctl stop httpd service stop systemctl disable httpd service autostart disable
-Postfix.service (Domino and port conflict) systemctl status postfix Service startup status check systemctl stop postfix service stop systemctl disable postfix Disable postfix service autostart
Of course, the 1352 port used by Domino is necessary for access from clients such as SSH and FTP. Please open the port as well.
When you're ready, install Domino. Introducing the Domino11, FP1, and Language packs. Obtain the module in advance and place it in the / tmp directory of the Linux server. Please bring it somehow, such as using a USB memory, downloading, or ftp. The rough procedure is as follows 3-1. Deploying the Domino installation module 3-2. Domino installation 3-3. Deployment of Language pack module 3-4. Installation of Language pack 3-5. Deployment of FP1 module 3-6. Application of FP1 module
The installation modules used this time are the following three. *Domino_1101_Linux_English.tar *Domino_1101FP1_Linux.tar *Domino_1101_SLP_Japanese.tar
Each module is located in "/ tmp".
cd /tmp mkdir ./dominomv Domino_1101_Linux_English.tar ./domino cd domino tar -xvf Domino_1101_Linux_English.tar
The domino directory was created to distinguish it. I think I used to create a domino directory when I unpacked it....Check the extracted files.
###3-2.Domino installation Before installation, create a user and group to run the Domino server.
`` `Language: Create notes group, user, password groupadd notes useradd notes -g notes passwd notes
For the password, set the password arbitrarily according to the conditions such as the number of digits according to the OS settings.
To perform the installation, run the "install" program located in the linux64 directory.
./install
Domino10 is in GUI mode/I was able to select CUI mode, but from Domino 11 it seems that only CUI is available. I think most items are usually fine by default. Please see the flow in the screenshot below. If you have experience installing Domino, you shouldn't be particularly careful. Now select Manual installation. Select an installation set. Select Enterprise to test emails. This is the end of installation.###3-3.Deployment of Language pack modules
Check the installation procedure. It is important to check the Readme. >```language:Readme.Confirmation of txt cat Readme.txt ###3-4.Language pack installation Readme.If you look at the txt, you will find the installation command for Linux. ```language pack installation ./LNXDomLP1100 -i console``` If the Domino Server installation location is different from the default, enter it manually. Specifies the language pack installation set. This time I chose to replace. This is the end of installation. ###3-5.Deployment of FP1 module Create a directory for the FP1 module in the same way, and extract and install it. > `` `Language: FP1 module deployment cd /tmp ll D* mkdir dominofp1 mv Domino_1101FP1_Linux.tar ./dominofp1 cd dominofp1 ll tar -xvf Domino_1101FP1_Linux.tar The installation program is extracted to the "linux64 / domino" directory. Again, check the README.`` `Language: Language Pack Module Deployment cd /tmp mkdir ./dominolp mv Domino_1101_SLP_Japanese.tar ./domino cd domino tar -xvf Domino_1101_SLP_Japanese.tar
cd /tmp/dominofp1/linux64/domino ./install
The operation is different from before, and the screen will be refreshed. Use the "TAB" key to proceed. By the way, to exit, press "e" to change the screen, change No to Yes on the space bar, and then press the "TAB" key to exit. Since it is any key that transitions from the license agreement, I proceeded with Enter. I will omit it because it is long. eh? what...Well, it's progressing so I left it as it is. It is finished safely.
####Domino setup Now that the installation is complete, let's set up Domino. I set it up using Remote Server Setup. I will omit the setup, but Please note that you need to start the Domino server in listening mode.
`` `Language: Start the Domino server in listening mode (Domino server should be started as the notes user) su notes cd /local/notesdata /opt/hcl/domino/bin/server -l
The Domino server will now start in listening mode. Remote Server Setup installed on the client To set up. After the setup is complete, let's start the Domino server. Don't forget to start as notes user
su notes cd /local/notesdata /opt/hcl/domino/bin/server
##4.About automatic startup of Domino Since CentOS7, it has been changed to use the systemctl command. Make settings so that Domino can be started automatically when the OS starts. ###4-1.Create start / stop script Create a script to start, stop, and kill. Create each script in the Domino server's program directory. In this case,/opt/hcl/domino/bin (default installation destination)
`` `Language: Start script (ex.DOM_start) !/bin/bash cd /local/notesdata /opt/hcl/domino/bin/server > /dev/null 2>&1
#### **`Stop script(ex.DOM_stop)`**
```language
!/bin/bash
cd /local/notesdata
/opt/hcl/domino/bin/server -q > /dev/null 2>&1
exit 0
kill script(ex.DOM_kill)
!/bin/bash
cd /local/notesdata
/opt/hcl/domino/bin/server -kill > /dev/null 2>&1
I think that there is no problem if you have execute permission. Check if each script works properly. Switch to the notes user and run the command from any directory.
`` `Language: Start Domino server /opt/hcl/domino/bin/DOM_start
Check the connection from the notes client.
In addition, open the server console from the Administrator client and check the operation of the Domino server.
###4-2.Creating a systemd service unit
System service unit for Domino/etc/systemd/Create it in the "system" folder.
> `` `Language: Service Unit (ex.DOMINO.service)
[Unit]
Description=HCL Domino Server
After=syslog.target network.target
>
[Service]
Type=simple
User=notes
Group=notes
LimitNOFILE=60000
WorkingDirectory=/local/notesdata
ExecStart=/opt/hcl/domino/bin/DOM_start
ExecStop=/opt/hcl/domino/bin/DOM_stop
ExecStopPost=/opt/hcl/domino/bin/DOM_kill
TimeoutStopSec=300
KillMode=process
RemainAfterExit=yes
>
[Install]
WantedBy=multi-user.target
The contents of the service unit are as follows. [Unit]section After=Line Executed after these are executed. [Service]section Type=simple: ExecStart command is the main process as it is User=/Group=: Specify the user and group to execute ExecStart=: Script executed by start command ExecStop=: Script executed by stop command ExecStopPost=: Command to be executed after the service is stopped [Install]section WantedBy=Of this unit when enabled.Create a link in the wants directory
###4-3.Operation check systemctlTry starting and stopping using commands.
`` `: Start Domino server systemctl start DOMINO
> `` `: Domino server status check
systemctl status DOMINO
Domino server stopped
systemctl stop DOMINO
If there is no problem, register the service. By doing this, the Domino server will start automatically even when the OS is restarted.
`` `: Enable service systemctl enable DOMINO
Recommended Posts