I tried putting Domino11 in CentOS7

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

  1. Install OS
  2. Stopping / disabling unnecessary (obstructive) services
  3. Domino installation (setup is omitted)
  4. About automatic start of Domino

1. Install OS

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.

2. Stopping / disabling unnecessary (obstructive) services, etc.

2-1. Unnecessary services include the following.

・ 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

2-2. Firewall settings

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.

3. Domino installation

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

3-1. Deploying the Domino installation 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

`` `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

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.

3-6. Application of FP1

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

I tried putting Domino11 in CentOS7
I tried putting XcodeGen + SwiftPM
I tried metaprogramming in Java
I tried using JWT in Java
I tried installing CentOS 8 on ESXi 6.7
I tried using Elasticsearch API in Java
I tried a calendar problem in Ruby
I tried the new era in Java
Microservices 101-I tried putting Docker on Ubuntu-
I tried the AutoValue library in Intellij
I tried to build AdoptOpenjdk 11 on CentOS 7
I tried embedding a formula in Javadoc
I tried Spring.
I tried tomcat
I tried youtubeDataApi.
I tried refactoring ①
I tried FizzBuzz.
I tried JHipster 5.1
[For beginners] I tried using DBUnit in Eclipse
I tried putting Java on my Mac easily
I tried to implement polymorphic related in Nogizaka.
[For beginners] I tried using JUnit 5 in Eclipse
I tried to organize the session in Rails
I tried to implement deep learning in Java
I tried OmniSci on CentOS 7 + GeForce RTX 2080 Ti.
I tried to output multiplication table in Java
I tried to build Micra mackerel in 1 hour!
I tried to develop an application in 2 languages
I tried to create Alexa skill in Java
I tried Firebase Local Emulator Suite in Flutter
I tried to easily put CentOS-7 in a PC that I no longer need
I tried using a database connection in Android development
I tried Mastodon's Toot and Streaming API in Java
[I tried] Spring tutorial
Put java8 in centos7
I tried to organize the cases used in programming
I tried to implement Firebase push notification in Java
I tried using Gson
# 2 [Note] I tried to calculate multiplication tables in Java.
I tried QUARKUS immediately
I tried to create a Clova skill in Java
Disable IPv6 in CentOS8
I tried to make a login function in Java
I tried installing the Docker Integration plugin in IntelliJ
I tried using TestNG
I tried Spring Batch
I tried using Galasa
I tried node-jt400 (Programs)
I tried using an extended for statement in Java
I tried node-jt400 (execute)
I tried passing Java Silver in 2 weeks without knowing Java
I tried to implement the Euclidean algorithm in Java
~ I tried to learn functional programming in Java now ~
I tried node-jt400 (Transactions)
I tried to find out what changed in Java 9
I installed Squid on CentOS in my local environment
I tried to make an application in 3 months from inexperienced
Object-oriented child !? I tried Deep Learning in Java (trial edition)
I tried to convert a string to a LocalDate type in Java
I tried using Dapr in Java to facilitate microservice development
I tried to implement a buggy web application in Kotlin