Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Raw Iron to
Enterprise Server
Devin S. Olson
Installing Domino on Linux
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Raw Iron to Enterprise Server
Installing Domino on Linux
• Linux Operating Systems particularly well suited for Domino
• Many administrators hesitant, unfamiliarity with unknown
• Operational Domino Enterprise Server
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Introduction
• Hands On Session
• Oracle VirtualBox
• Enough room for a 32 Gb VM
• Centos 6 64-bit
• Domino 9 Enterprise Server You MUST have a License!
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Who Am I
• Christian
• Husband
• Father
• Biker
• Brewer
• Friend
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
What to I do?
• Collaborative Solutions Developer at
Czarnowski Display Services
• Notes / Domino consultant since
1995 (that’s R3 for young punks)
• PCLP SA/AD R4.6, R5, R6, R7
(stopped taking tests after that)
• Beer Snob (Anheuser-Busch Certified
Beer Master)
• IBM Champion
• LearningXPages.com
• Installing Domino 9 on Centos
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Enough Talk, Let’s Rock!
Download and install Oracle VirtualBox
Latest versions available at
www.virtualbox.org/wiki/Downloads
Linux Host versions available at
www.virtualbox.org/wiki/Linux_Downloads
VirtualBox
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Why CentOS 6?
• Using CentOS 6, not 7
• Issues with RPM repository availability
• Issues with glibc libraries
• 7 can be made to work, not recommended (yet)
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Enough Talk, Let’s Rock!
Latest versions available at
https://wiki.centos.org/Download
CentOS
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Enough Talk, Let’s Rock!
Domino Enterprise 9
Latest versions available at
IBM Passport Advantage Download Central
You MUST have a current license and valid id.
Domino Enterprise 9
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
VirtualBox Setup
CLASSROOM SETTINGS
Type = Linux
Version = Red Hat (64 bit)
RAM = 2 Gig
Image Type = VDI (Virtual Disk Image)
Image Footprint = Dynamically Allocated
Image Size = 32 Gig
Create VM
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
VirtualBox Configuration
CLASSROOM SETTINGS
• Add a Virtual Optical Disk Drive pointing CentOS iso.
• Enable Network Adapter 1 attached to NAT
• Enable Network Adapter 2 attached to Host-only Adapter
• Set Name to VirtualBox Host-Only Ethernet Adapter
• Verify different MAC addresses (Advanced settings)
• Start VM
Configure VM
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Installation
• Choose Install or Upgrade Existing – Skip Media Test
• Specify Language
• Basic Storage Devices, discard any data
• Set server name and root password “ac16 | password”
• Specify Time Zone
• Use All Space, Write Changes to Disk
• Reboot when prompted
Install CentOS
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Login as root, and check network interface
># ip a
Edit the config files for eth0 and eth1 using vi.
># vi /etc/sysconfig/network-scripts/ifcfg-DEVICENAME
vi commands:
*i <return> to insert text
<esc> to finish inserting text
*:wq <return> to save and quit
Configure Network
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
(DHCP EXAMPLE)
DEVICE=eth0
HWADDR=123456
NM_CONTROLLED=yes
ONBOOT=yes
BOOTPROTO=dhcp
Configure Network
(STATIC EXAMPLE)
DEVICE=eth0
HWADDR=123456
NM_CONTROLLED=yes
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.45
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
Start network when finished
># service network start
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Install Packages
># yum –y install bind-utils file gcc lsof ntp patch rsync perl
sg3_utils sudo traceroute wget yum-utils zip unzip
># yum –y update
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Verify Services and Security
• Verify cron service is running
• ># service crond status
• ># service crond start
• Turn off and disable SELinux (incompatible with Domino)
• Edit /etc/selinux/config and set SELINUX=disabled
• ># setenforce 0
• Enable and activate time service
• ># ntpdate pool.ntp.org
• ># chkconfig ntpd on
• ># service ntpd start
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Configure Firewall 1/4
># chkconfig iptables off
># service iptables stop
># cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bak
># vi /etc/sysconfig/iptables
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Configure Firewall 2/4
Find the lines
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
Change default INPUT / FORWARD policies from ACCEPT to DROP
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Configure Firewall 3/4
Find the line:
-A INPUT -j REJECT --reject-with icmp-host-prohibited
Add the following information immediately prior to the line you just found. If that
line does not exist, add this prior to the COMMIT line.
-A INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 636 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1352 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8585 -j ACCEPT
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Configure Firewall 4/4
Save and close the file. *:wq
Verify changes if needed
># cat /etc/sysconfig/iptables
Enable and Start the firewall
># chkconfig iptables on
># service iptables start
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
User Accounts
Without going into too much unnecessary detail, all Linux user
accounts require a minimum of two things: a username, and a
primary group with which the user account is associated. Your
Domino server will need to run using a Linux account, which
means you need to decide upon a group name and a user name
for your Domino server. This can be as simple as “servergroup”
and “server”, or (if you follow IBM’s documentation), “Notes” and
“Notes”.
NEVER run Domino AS root
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
CentOS Configuration
Create Group and User
Create the Group
># groupadd notesgroup
Add the User
># useradd -gnotesgroup -s/bin/bash -d/home/notes -m notes
Set a password
># passwd notes
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
SSH Service
SSH is used to remotely access and administer our Domino Server.
• Configure and Start the SSH Service
># chkconfig sshd on
># service sshd restart
• Note the IP address of the eth1 (Host-Only adapter) network card
># ip a
• Open an SSH session to the server
• Windows: use Putty and enter ip address, username, and password.
• Mac: Open a command window and enter
• ssh notes@ip address
• Change to Super User (root) and enter password
• >$ su
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Domino Specific Configuration
># service httpd stop
># chkconfig httpd off
># chkconfig httpd --del
># service sendmail stop
># chkconfig sendmail off
># chkconfig sendmail --del
># yum remove sendmail
Remove Conflicting Services
Verify httpd, sendmail, and postfix services are stopped and disabled
># service postfix stop
># chkconfig postfix off
># chkconfig postfix --del
># yum remove postfix
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Domino Specific Configuration
Increase the number of file handles available for use, and
make them permanent for notes.
># ulimit -n 20000
># vi /etc/security/limits.conf
Add the following lines to the end of the file and save it:
notes soft nofile 65535
notes hard nofile 65535
Reboot the server
># reboot now
Set File Handles
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Domino Specific Configuration
After server reboots, reconnect using SSH as notes, then switch to super user.
Use the export command to set operating system variable.
># export DOMINO_LINUX_SET_PARMS=1
Use vi to add the command to the end of bashrc:
># vi /home/notes/.bashrc
Create the directory for your Domino server
># mkdir /local
># mkdir /local/notesdata
Kernel Tuning and Directory
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Domino Specific Configuration
Create the directory from which to install domino.
># mkdir /install
># mkdir /install/domino9
># cd /install/domino9
Copy the domino installation file to the new directory.
Windows:
Use WinSCP (provided on thumb drive) .
Mac:
scp –v filename root@ipaddress: /install/domino9/filename
Install Directory and Get Domino
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Domino Specific Configuration
From your SSH console, use the tar command to check the file.
># tar -tvf filename
Extract the file (assuming no problems with contents)
># tar -xvf Domino_Installation_file
Navigate down through the folders using the ls and cd command as
needed until you find the install file.
Run the file and follow the prompts:
># ./install
Verify, Unpack, Install
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Domino Specific Configuration
Change back to the userid you used to log into the SSH session:
># exit
Change to the /local/notesdata folder:
>$ cd /local/notesdata
Launch the server and put it into listen mode for remote setup:
>$ /opt/ibm/domino/bin/server -listen
Launch the Domino Remote Server Setup Utility and follow prompts to
configure server. Choose yes to shut down server when finished.
Configure Domino Server
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
STICKY BITS - IMPORTANT
Change su, navigate to the domino server program “root” directory, use the find
command to search for the bindsock program file, and change the permissions.
># su
># cd /opt/ibm/domino
># find -name 'bindsock'
># cd filepath
># ls -l bindsock
-r-sr-xr-x 1 root bin 9880 Sep 20 17:15 bindsock
># chmod +s bindsock
># ls -l bindsock
-r-sr-sr-x 1 root bin 9880 Sep 20 17:15 bindsock
Set Sticky-bit on Bindsock
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Launch Domino
Change back to the userid you used to log into the SSH session,
then change to the /local/notesdata folder:
># exit
>$ cd /local/notesdata
Launch the server, only this time do not add any parameters.
>$ /opt/ibm/domino/bin/server
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Celebrate
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Call to Action
• Figure out who you are
• Be the best at what you do
• Mentor, teach, give
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September
Additional Resources
• Daniel Nashed’s Domino on Unix/Linux Start Script:
- http://www.nashcom.de/nshweb/pages/startscript.htm
• Daniel Nashed’s Blog:
- http://blog.nashcom.de/nashcomblog.nsf
• Devin S. Olson's (that's me!) LearningXPages site:
- www.learningxpages.com
• David Leedy's Notes in 9:
- http://notesin9.com
• Open NTF:
- www.openntf.org
• Planet Lotus:
- http://planetlotus.org
Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September
Thank You!
• Devin S. Olson
• devin.olson@azlighthouse.com
• Twitter & Skype: @spanky762
• www.linkedin.com/in/devinolson
• www.facebook.com/default.xsp
• www.learningXPages.com

More Related Content

PDF
66_pfSenseTutorial
PDF
Free radius billing server with practical vpn exmaple
DOC
Modul quick debserver
DOCX
Kickstat File_Draft_ESXI5.1_Template
PPTX
Installing and running Postfix within a docker container from the command line
ODP
RPM: Speed up your deploy
PDF
Configuration Management with Saltstack
PDF
Passwordless login with unix auth_socket
66_pfSenseTutorial
Free radius billing server with practical vpn exmaple
Modul quick debserver
Kickstat File_Draft_ESXI5.1_Template
Installing and running Postfix within a docker container from the command line
RPM: Speed up your deploy
Configuration Management with Saltstack
Passwordless login with unix auth_socket

What's hot (18)

PDF
Dns configuration on rhel 5
PDF
Less passwords, more security: unix socket authentication and other MariaDB h...
PDF
在Oel5上安装配置oracle gird control 10.2.0.5
PPTX
Dockerizing WordPress
PDF
DebConf16 BoF on MariaDB/MySQL packaging
PPT
Slim Server Practical
PDF
Tópicos - LVS Instalacao Slack11
PDF
Rac on NFS
PDF
Bundling Packages and Deploying Applications with RPM
DOCX
Pxe boot configuration in rhel5
PDF
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
PDF
Pf sense 2.0
PDF
Software Packaging with RPM
PDF
Configure Proxy and Firewall (Iptables)
PPTX
Presentation Linux Server setup Advance Networking
PPTX
Workshop Raspberry Pi NAS with Windows Share
PPTX
Security context on asa firewall
Dns configuration on rhel 5
Less passwords, more security: unix socket authentication and other MariaDB h...
在Oel5上安装配置oracle gird control 10.2.0.5
Dockerizing WordPress
DebConf16 BoF on MariaDB/MySQL packaging
Slim Server Practical
Tópicos - LVS Instalacao Slack11
Rac on NFS
Bundling Packages and Deploying Applications with RPM
Pxe boot configuration in rhel5
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
Pf sense 2.0
Software Packaging with RPM
Configure Proxy and Firewall (Iptables)
Presentation Linux Server setup Advance Networking
Workshop Raspberry Pi NAS with Windows Share
Security context on asa firewall
Ad

Similar to Raw Iron to Enterprise Server: Installing Domino on Linux (20)

PDF
Installing & Configuring IBM Domino 9 on CentOS
PDF
Domino9on centos6
PDF
dachnug51 - Whats new in domino 14 .pdf
PDF
Installing and Configuring Domino 10 on CentOS 7
PDF
Setting Up a Cloud Server - Part 1 - Transcript.pdf
PPTX
Step by step installation domino on docker
PDF
Connect2016 - 1172 Shipping domino
PDF
Connect2016 Shipping Domino
PDF
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
PDF
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
PPTX
Domino on docker version 1
PPTX
LinuxTraining_3.pptx
PDF
linux installation.pdf
PDF
Deploying to Ubuntu on Linode
PDF
Lamp Server With Drupal Installation
PDF
Setting Up a Cloud Server - Part 2 - Transcript.pdf
PPTX
6 - Package Management in Red Hat
PDF
i212764_CLC_A1_Report.docx.pdf
PPTX
Domino on docker version 2
PDF
Deployment of WebObjects applications on CentOS Linux
Installing & Configuring IBM Domino 9 on CentOS
Domino9on centos6
dachnug51 - Whats new in domino 14 .pdf
Installing and Configuring Domino 10 on CentOS 7
Setting Up a Cloud Server - Part 1 - Transcript.pdf
Step by step installation domino on docker
Connect2016 - 1172 Shipping domino
Connect2016 Shipping Domino
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Domino on docker version 1
LinuxTraining_3.pptx
linux installation.pdf
Deploying to Ubuntu on Linode
Lamp Server With Drupal Installation
Setting Up a Cloud Server - Part 2 - Transcript.pdf
6 - Package Management in Red Hat
i212764_CLC_A1_Report.docx.pdf
Domino on docker version 2
Deployment of WebObjects applications on CentOS Linux
Ad

More from Devin Olson (17)

PDF
Paired with an Idiot: Things that sabotage success
PDF
Resolving Cached Design Element Corruption Issues in the IBM Notes Client
PDF
Do you have a website? Do you want to get sued?
PDF
IBM Traveler and Verse: Device Security and Administration Overview
PDF
Website Accessibility Workshop
PDF
Curing the Headaches: How to Deal with Bad Developers
PDF
Accessibility for the Visually Impaired with IBM Lotus Domino
PDF
Countdown to Domino 10
PDF
Pink Slip Time: Turning a Job Loss into a Career Win
PDF
XPages Development 2
PDF
XPages Development 1
PDF
Countdown to Domino 2025
PDF
Big Data with Graph, IBM Domino, and the OpenNTF API
PDF
Customer Story: Next Level Coding
PDF
Countdown to Domino 2025 - Preparing for the NOW
PDF
Extreme Development: Pair Programming
PDF
Ad104 build a bean workshop
Paired with an Idiot: Things that sabotage success
Resolving Cached Design Element Corruption Issues in the IBM Notes Client
Do you have a website? Do you want to get sued?
IBM Traveler and Verse: Device Security and Administration Overview
Website Accessibility Workshop
Curing the Headaches: How to Deal with Bad Developers
Accessibility for the Visually Impaired with IBM Lotus Domino
Countdown to Domino 10
Pink Slip Time: Turning a Job Loss into a Career Win
XPages Development 2
XPages Development 1
Countdown to Domino 2025
Big Data with Graph, IBM Domino, and the OpenNTF API
Customer Story: Next Level Coding
Countdown to Domino 2025 - Preparing for the NOW
Extreme Development: Pair Programming
Ad104 build a bean workshop

Recently uploaded (20)

PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
International_Financial_Reporting_Standa.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
20th Century Theater, Methods, History.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Empowerment Technology for Senior High School Guide
Practical Manual AGRO-233 Principles and Practices of Natural Farming
TNA_Presentation-1-Final(SAVE)) (1).pptx
FORM 1 BIOLOGY MIND MAPS and their schemes
International_Financial_Reporting_Standa.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
My India Quiz Book_20210205121199924.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
What if we spent less time fighting change, and more time building what’s rig...
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
20th Century Theater, Methods, History.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Chinmaya Tiranga quiz Grand Finale.pdf
A powerpoint presentation on the Revised K-10 Science Shaping Paper
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Introduction to pro and eukaryotes and differences.pptx
Empowerment Technology for Senior High School Guide

Raw Iron to Enterprise Server: Installing Domino on Linux

  • 1. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Raw Iron to Enterprise Server Devin S. Olson Installing Domino on Linux
  • 2. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Raw Iron to Enterprise Server Installing Domino on Linux • Linux Operating Systems particularly well suited for Domino • Many administrators hesitant, unfamiliarity with unknown • Operational Domino Enterprise Server
  • 3. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Introduction • Hands On Session • Oracle VirtualBox • Enough room for a 32 Gb VM • Centos 6 64-bit • Domino 9 Enterprise Server You MUST have a License!
  • 4. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Who Am I • Christian • Husband • Father • Biker • Brewer • Friend
  • 5. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September What to I do? • Collaborative Solutions Developer at Czarnowski Display Services • Notes / Domino consultant since 1995 (that’s R3 for young punks) • PCLP SA/AD R4.6, R5, R6, R7 (stopped taking tests after that) • Beer Snob (Anheuser-Busch Certified Beer Master) • IBM Champion • LearningXPages.com • Installing Domino 9 on Centos
  • 6. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Enough Talk, Let’s Rock! Download and install Oracle VirtualBox Latest versions available at www.virtualbox.org/wiki/Downloads Linux Host versions available at www.virtualbox.org/wiki/Linux_Downloads VirtualBox
  • 7. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Why CentOS 6? • Using CentOS 6, not 7 • Issues with RPM repository availability • Issues with glibc libraries • 7 can be made to work, not recommended (yet)
  • 8. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Enough Talk, Let’s Rock! Latest versions available at https://wiki.centos.org/Download CentOS
  • 9. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Enough Talk, Let’s Rock! Domino Enterprise 9 Latest versions available at IBM Passport Advantage Download Central You MUST have a current license and valid id. Domino Enterprise 9
  • 10. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September VirtualBox Setup CLASSROOM SETTINGS Type = Linux Version = Red Hat (64 bit) RAM = 2 Gig Image Type = VDI (Virtual Disk Image) Image Footprint = Dynamically Allocated Image Size = 32 Gig Create VM
  • 11. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September VirtualBox Configuration CLASSROOM SETTINGS • Add a Virtual Optical Disk Drive pointing CentOS iso. • Enable Network Adapter 1 attached to NAT • Enable Network Adapter 2 attached to Host-only Adapter • Set Name to VirtualBox Host-Only Ethernet Adapter • Verify different MAC addresses (Advanced settings) • Start VM Configure VM
  • 12. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Installation • Choose Install or Upgrade Existing – Skip Media Test • Specify Language • Basic Storage Devices, discard any data • Set server name and root password “ac16 | password” • Specify Time Zone • Use All Space, Write Changes to Disk • Reboot when prompted Install CentOS
  • 13. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Login as root, and check network interface ># ip a Edit the config files for eth0 and eth1 using vi. ># vi /etc/sysconfig/network-scripts/ifcfg-DEVICENAME vi commands: *i <return> to insert text <esc> to finish inserting text *:wq <return> to save and quit Configure Network
  • 14. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration (DHCP EXAMPLE) DEVICE=eth0 HWADDR=123456 NM_CONTROLLED=yes ONBOOT=yes BOOTPROTO=dhcp Configure Network (STATIC EXAMPLE) DEVICE=eth0 HWADDR=123456 NM_CONTROLLED=yes ONBOOT=yes BOOTPROTO=static IPADDR=192.168.0.45 NETMASK=255.255.255.0 GATEWAY=192.168.0.1 Start network when finished ># service network start
  • 15. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Install Packages ># yum –y install bind-utils file gcc lsof ntp patch rsync perl sg3_utils sudo traceroute wget yum-utils zip unzip ># yum –y update
  • 16. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Verify Services and Security • Verify cron service is running • ># service crond status • ># service crond start • Turn off and disable SELinux (incompatible with Domino) • Edit /etc/selinux/config and set SELINUX=disabled • ># setenforce 0 • Enable and activate time service • ># ntpdate pool.ntp.org • ># chkconfig ntpd on • ># service ntpd start
  • 17. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Configure Firewall 1/4 ># chkconfig iptables off ># service iptables stop ># cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bak ># vi /etc/sysconfig/iptables
  • 18. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Configure Firewall 2/4 Find the lines *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] Change default INPUT / FORWARD policies from ACCEPT to DROP :INPUT DROP [0:0] :FORWARD DROP [0:0]
  • 19. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Configure Firewall 3/4 Find the line: -A INPUT -j REJECT --reject-with icmp-host-prohibited Add the following information immediately prior to the line you just found. If that line does not exist, add this prior to the COMMIT line. -A INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 636 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 1352 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 8585 -j ACCEPT
  • 20. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Configure Firewall 4/4 Save and close the file. *:wq Verify changes if needed ># cat /etc/sysconfig/iptables Enable and Start the firewall ># chkconfig iptables on ># service iptables start
  • 21. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September User Accounts Without going into too much unnecessary detail, all Linux user accounts require a minimum of two things: a username, and a primary group with which the user account is associated. Your Domino server will need to run using a Linux account, which means you need to decide upon a group name and a user name for your Domino server. This can be as simple as “servergroup” and “server”, or (if you follow IBM’s documentation), “Notes” and “Notes”. NEVER run Domino AS root
  • 22. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September CentOS Configuration Create Group and User Create the Group ># groupadd notesgroup Add the User ># useradd -gnotesgroup -s/bin/bash -d/home/notes -m notes Set a password ># passwd notes
  • 23. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September SSH Service SSH is used to remotely access and administer our Domino Server. • Configure and Start the SSH Service ># chkconfig sshd on ># service sshd restart • Note the IP address of the eth1 (Host-Only adapter) network card ># ip a • Open an SSH session to the server • Windows: use Putty and enter ip address, username, and password. • Mac: Open a command window and enter • ssh notes@ip address • Change to Super User (root) and enter password • >$ su
  • 24. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Domino Specific Configuration ># service httpd stop ># chkconfig httpd off ># chkconfig httpd --del ># service sendmail stop ># chkconfig sendmail off ># chkconfig sendmail --del ># yum remove sendmail Remove Conflicting Services Verify httpd, sendmail, and postfix services are stopped and disabled ># service postfix stop ># chkconfig postfix off ># chkconfig postfix --del ># yum remove postfix
  • 25. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Domino Specific Configuration Increase the number of file handles available for use, and make them permanent for notes. ># ulimit -n 20000 ># vi /etc/security/limits.conf Add the following lines to the end of the file and save it: notes soft nofile 65535 notes hard nofile 65535 Reboot the server ># reboot now Set File Handles
  • 26. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Domino Specific Configuration After server reboots, reconnect using SSH as notes, then switch to super user. Use the export command to set operating system variable. ># export DOMINO_LINUX_SET_PARMS=1 Use vi to add the command to the end of bashrc: ># vi /home/notes/.bashrc Create the directory for your Domino server ># mkdir /local ># mkdir /local/notesdata Kernel Tuning and Directory
  • 27. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Domino Specific Configuration Create the directory from which to install domino. ># mkdir /install ># mkdir /install/domino9 ># cd /install/domino9 Copy the domino installation file to the new directory. Windows: Use WinSCP (provided on thumb drive) . Mac: scp –v filename root@ipaddress: /install/domino9/filename Install Directory and Get Domino
  • 28. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Domino Specific Configuration From your SSH console, use the tar command to check the file. ># tar -tvf filename Extract the file (assuming no problems with contents) ># tar -xvf Domino_Installation_file Navigate down through the folders using the ls and cd command as needed until you find the install file. Run the file and follow the prompts: ># ./install Verify, Unpack, Install
  • 29. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Domino Specific Configuration Change back to the userid you used to log into the SSH session: ># exit Change to the /local/notesdata folder: >$ cd /local/notesdata Launch the server and put it into listen mode for remote setup: >$ /opt/ibm/domino/bin/server -listen Launch the Domino Remote Server Setup Utility and follow prompts to configure server. Choose yes to shut down server when finished. Configure Domino Server
  • 30. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September STICKY BITS - IMPORTANT Change su, navigate to the domino server program “root” directory, use the find command to search for the bindsock program file, and change the permissions. ># su ># cd /opt/ibm/domino ># find -name 'bindsock' ># cd filepath ># ls -l bindsock -r-sr-xr-x 1 root bin 9880 Sep 20 17:15 bindsock ># chmod +s bindsock ># ls -l bindsock -r-sr-sr-x 1 root bin 9880 Sep 20 17:15 bindsock Set Sticky-bit on Bindsock
  • 31. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Launch Domino Change back to the userid you used to log into the SSH session, then change to the /local/notesdata folder: ># exit >$ cd /local/notesdata Launch the server, only this time do not add any parameters. >$ /opt/ibm/domino/bin/server
  • 32. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Celebrate
  • 33. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Call to Action • Figure out who you are • Be the best at what you do • Mentor, teach, give
  • 34. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19.-21 September Additional Resources • Daniel Nashed’s Domino on Unix/Linux Start Script: - http://www.nashcom.de/nshweb/pages/startscript.htm • Daniel Nashed’s Blog: - http://blog.nashcom.de/nashcomblog.nsf • Devin S. Olson's (that's me!) LearningXPages site: - www.learningxpages.com • David Leedy's Notes in 9: - http://notesin9.com • Open NTF: - www.openntf.org • Planet Lotus: - http://planetlotus.org
  • 35. Notes & Domino mit Verse und On-PremisesAdminCamp 2016 – 19. – 21. September Thank You! • Devin S. Olson • devin.olson@azlighthouse.com • Twitter & Skype: @spanky762 • www.linkedin.com/in/devinolson • www.facebook.com/default.xsp • www.learningXPages.com