Task:
Install Sametime Console on Ubuntu 16.04 on a VM.
Install Sametime 9 Limited Edition on Ubuntu 16.04 on a VM.
Warning:
Ubuntu is NOT yet a supported platform for the Lotus Domino 9 server. I have used it for "non critical" boxes (e.g. SameTime, Traveler) since 8.5.
I recommend using the LTS releases when possible.
________________________
IBM Sametime 9 Community Server Installation:
OS Setup:
Install Ubuntu 16.04 64-bit server minimal install.
Install SSH server when given server options to install.
After login, bring packages up-to-date:
$ sudo apt-get update
$ sudo apt-get upgrade
Give the server it's IP:
$ sudo vi /etc/network/interfaces
Make updates similar to the following:
auto ens160
iface ens160 inet static
address 10.0.118.100
netmask 255.255.255.0
network 10.0.118.0
broadcast 10.0.118.255
gateway 10.0.118.1
dns-nameservers 10.0.118.1 10.0.118.254
Save the file and exit. <esc> :wq.
7c. Restart the network and verify it restarts okay.
$ sudo service networking restart
Update the /etc/hosts file with the IP address and name of the server.
$ sudo vi /etc/hosts
Make edits similar to the following under the localhost line:
10.0.118.100 myserver.mindwatering.net myserver
Save the file and exit. <esc> :wq.
Open some ports w/ UFW (e.g.)
$ sudo ufw enable
$ sudo ufw allow proto tcp to any port 1352
$ sudo ufw allow proto tcp to any port 22 from 10.0.118.0/24
$ sudo ufw allow proto tcp to any port 443
$ sudo ufw allow proto tcp to any port 80
$ sudo ufw allow proto tcp to any port 8080
Note: To install the 32-bit libraries, you can do:
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libc6:i386 libstdc++6:i386
Install prerequisites:
$ sudo apt-get install libstdc++5
$ sudo apt-get install libstdc++6
$ sudo apt-get install lib32ncurses5 lib32z1 libc6-i386 (Note: These are the compat-x equivalents on CentOS, replaces ia32-libs in earlier Ubuntu )
$ sudo apt-get install libxmu6
$ sudo apt-get install libxtst6
$ sudo apt-get install bc
$ sudo apt-get install gawk
$ sudo apt-get install gtk2
$ sudo apt-get install gtk2-engines
$ sudo apt-get install elfutils
$ sudo apt-get install ksh
$ sudo apt-get install libc6
$ sudo apt-get install gcc-4.8-base libgcc-4.8-dev
For the libX packages, you need to enable the precise-security package
$ sudo vi /etc/apt/sources.list
Add the following to the end of file:
# following custom line for Sametime:
deb http://security.ubuntu.com/ubuntu precise-security main
Save the file and exit. <esc> :wq.
$ sudo apt update
$ sudo apt install libxp6 libxtst6 libxi6
Edit /etc/security/limits.conf using sudo and add or modify the lines:
(where notes is / will be the o/s username for the server. )
$ sudo vi /etc/security/limits.conf
Add / modify the following lines:
notes soft nofile 20000
notes hard nofile 65535
Save the file and exit. <esc> :wq.
Create the notes user:
$ useradd -d /home/notes -m notes -s /bin/bash
(or you can use the target home as -d /local/notesdata )
$ sudo passwd notes
Make the Domino data location:
Note: If you are swinging a /local/ disk to a new VM, don't issue the second command below.
$ sudo mkdir /local/
$ sudo mkdir /local/notesdata/
Tangent . . .
.............................................................................................................................................
If you have a previous domino server you are swinging to this new VM, you can add it via fstab and then install overtop of Domino the same release or higher. If you do higher, make sure you do the full product (e.g. Domino 9.0.1), and the fix pack (e.g. 9.0.1 FP 7 ) installed.
Use the sudo lshw -C disk command to confirm what device logical name the second disk was given. (typically /dev/sdb). In this example, we have a disk mounted to /local/
$ sudo mkdir /local/
$ sudo vi /etc/fstab
Add the following line:
/dev/sdb1 /local ext3 defaults 0 2
Save the file and exit. <esc> :wq.
Activate:
$ sudo mount -a
Update the /local/notesdata ownership just in-case...
$ chown -R notes:notes /local/notesdata
.............................................................................................................................................
Install Domino 9.0.1 and FP7 32-bit
(last FP w/32-bit support)
Using FileZilla or some other method, copy the install files for 9.0.1 and FP7 to the server (e.g. \home\myadminid\tmp)
For the server:
$ cd /home/myadminid/tmp/
$ sudo tar -xvf DOMINO_SERVER_9.0.1_LINUX_XS_32_EN.tar
$ cd linux/domino/
$ sudo su (or better, $ sudo -s, with the -s for a "real" shell. )
# ./install
. . . follow the prompts.
If you want to save the install temp directory for the main 9.0.1 installation:
# cd /home/myadminid/tmp/
# mv linux/ to linux901/
Install FP7:
# tar -xvf domino901FP7_linux32_x86.tar
$ cd linux/domino/
# NUI_NOTESDIR=/opt/ibm/domino/
# export NUI_NOTESDIR
# ./install
Start the server. If you need to do the First Server set-up, see the Admin Client help; this is well documented.
$ cd /local/notesdata
$ su - notes
<enter password>
$ /opt/ibm/domino/bin/server
Watch the server startup and verify the version loading, wait a few minutes to watch for any errors. After the few minutes, shut it down and install Sametime.
For the ST install, perform the following before running the install, either:
- Change /etc/redhat-version
“Red Hat Enterprise Linux Server release 6.4 (Santiago)”
or
- Set the skip checks ST install flag:
# export STSkipOSCheck=true
./setuplinux.bin -console
_________________________________________________________________
Sametime (ST) Console
IMPORTANT: This is a 64-bit server, and separate from the ST Community Server.
1. Install Ubuntu 16.04 64-bit server.
(We do minimal install w/ssh server.)
2. Setup the network and hosts file like on the community server.
3. Install open-ssh server if not selected during install.
$ sudo apt-get install openssh-server
4. Install the desktop so that using the IBM Installation Manager can be used.
$ sudo apt-get install --no-install-recommends ubuntu-desktop
5. Install gnome-terminal and other utilities
$ sudo apt-get install gnome-terminal
$ sudo apt-get install indicator-session
$ sudo apt-get install unity-lens-applications
$ sudo apt-get install unity-lens-files
$ sudo apt-get install gufw
$ sudo apt-get install synaptic gdebi
$ sudo apt-get install gksu
6. Install IBM Install Manager prerequisites (some were already installed)
$ sudo apt-get install expat gettext glib2.0 gtk2.0 libatk3.0 fontconfig libjpeg-dev libpng-dev libtiff-dev zlib1g-dev libpixman-1-dev libxcursor-dev
7a. Download IBM installation Manager and prep program.
We downloaded from IBM Passport and used FileZilla to transfer to a tmp folder.
$ cd tmp/
$ sudo unzip IBM_INSTALL_MGR_....zip
Note: If you run the ./install in a remote terminal, you will get a SWTError.
7b. Login to the actual Gnome desktop.
7c. Start Terminal.
7d. Navigate to the tmp folder and run the install program.
$ cd tmp/
$ sudo ./install
In the installation wizard, the IBM Installation Manager Version 1.x.x will already be highlighted, click Next.
Choose the default location in /opt/ continue to install and Finish.
8. Perform Firewall Updates
$ sudo ufw enable
$ sudo ufw allow proto tcp to any port 50000
$ sudo ufw allow proto tcp to any port 22 from 10.0.118.0/24
$ sudo ufw allow proto tcp to any port 8600
$ sudo ufw allow proto tcp to any port 8700
$ sudo ufw allow proto tcp to any port 9060
$ sudo ufw allow proto tcp to any port 9043
$ sudo ufw allow proto tcp to any port 8701
$ sudo ufw allow proto tcp to any port 9080
$ sudo ufw allow proto tcp to any port 9443
Note: You could use the GUI gnome tool, if desired.
9. Update IBM Installation Manager
a. Start IBM Installation Manager using the Unity Dash (Start) button. Enter your sudo password.
b. Under File, choose Preferences.
- Within the Passport Advantage tab, click the checkbox to use your Passport account.
- Within the Updates tab, click the checkbox for IBM Installation Manager to look for its own updates.
- Click Apply and OK to close the Preferences dialog window.
c. Click the Update button and follow prompts to upgrade the IBM Installation Manager.
10. Preparation for DB2 installation.
Transfer the DB2 Limited Edition to the server, and expand it.
$ sudo mkdir dtmp
$ sudo mv IBM_DB2*.gz dtmp/
$ sudo tar -zxvf IBM_DB2*.gz
$ cd dtmp/wser/
Install 32-bit prerequisites. (Our Ubuntu server already had most of them.)
$ sudo dpkg –add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libaio1 libstdc++6:i386 libpam0g:i386
$ sudo apt-get install rpm
11. Install DB2 64-bit Limited Ed.
We have to be root for this.
$ sudo su
# ./db2setup
<The DB2 Setup Launchpad window is loaded)
Click the Install a Product menu option on the left.
Under DB2 Workgroup Server Edition Version 10.1, click Install Now.
<The DB2 Setup - DB2 Workgroup Server Edition window is launched>
Click Next.
Select to accept the license terms, and click Next.
Select Typical, if not already selected, click Next.
Select Install DB2 Workgroup Server Edition on this computer (first option), click Next.
Confirm the install location, click Next.
Keep the selection to create a New user, dasusr1, enter a Password for dasusr1, Confirm Password, click Next.
(Note: If you want the default for SSC, use db2admin instead and use this ID in step 15 below.)
Keep the selection to create a New user, db2inst1, enter a Password for db2inst1, Confirm Password, click Next.
Keep the selection to create a New user, db2fenc1, enter a Password for db2fenc1, Confirm Password, click Next.
On the Set up Notifications screen, under Set up your DB2 server to send notifications, enter your Notification SMTP server's address, click Next.
On the Specify a contact for health monitor notification page, enter your admin monitoring e-mail address, click Next.
On the Start copying files page, review the selections and click Finish to install.
Wait while the Installing DB2 Workgroup Server Edition window is installing DB2, review the user connection info when presented, click Finish.
12. Post DB2 Install Tasks
a. Set DB2 to start with system.
# su - db2inst1
# cd /opt/ibm/db2/V10.5/bin/
# ./db2iauto -on 'db2inst1'
# db2start
# exit
(end root)
13. Installed WAS 8.5.xcp - from Passport via Install Manager.
- Choose the WAS WAS ND option (eAssembly). If you do not choose the ND package, then the STC install will fail with error status=17.
- Follow Prompts
- Include JDK
- Choose to support Java 1.6 or not.
- Skip profile create wizard at the end.
13. Preparation for Sametime Console installation.
a. Prep the zip file for installation:
$ cd /home/myid/Downloads
$ mkdir sttmp
$ mv ST_Console*.zip /sttmp
$ unzip ST_Console9_Win_x86_AIX_IBMi.zip
b. Add local repository.
Applications --> IBM Installation Manager --> IBM Installation Manager
File --> Preferences
Select the WAS install repository. Click Remove Repository.
Click Add Repository, click Browse.
Browse to the Downloads w/sttmp folder and select the repository.config document within the SSC folder. Click Apply / OK.
( e.g. /home/myid/Downloads/sttmp/SametimeSystemConsole/SCC/ )
c. Create the ST database.
Move the SametimeSystemConsole extracted files to a place where db2inst1 user can access them.
$ cd /home/myid/Downloads/sttmp/
$ sudo cp -R SametimeSystemConsole/ /home/db2inst1/Downloads/
$ sudo chown -R db2inst1 /home/db2inst1/Downloads/SametimeSystemConsole/
$ sudo chmod -R u+rwx /home/db2inst1/Downloads/SametimeSystemConsole/
Log out. Log back into the server as db2inst1.
Start a terminal window: Applications --> Utilities --> Terminal.
(Alternately, you can issue a su db2inst1 command)
$ cd /home/db2inst1/Downloads/SametimeSystemConsole/DatabaseScripts/SystemConsole/
$ ./createSCDb.sh STSC db2admin (or dasusr1 depending on DB2 install above)
<wait - typically takes a few minutes>
$ exit
Log out db2inst1.
14. Install the Sametime Console (SSC).
Log back into the machine as the admin or root user.
Start the Installation Manager: Applications --> IBM Installation Manager --> IBM Installation Manager
Back at the main menu, click the Install option.
Select IBM Sametime System Console server and click Next.
Select any fixes available, click Next.
Accept the license terms, click Next.
Verify the install by clicking the Validate button. When successful, the button will change to Validated, click Next.
Verify the WAS location, click Next.
On the WAS Configuration tab, confirm the Cell, Node, and FQDN / Host Name are correct, scroll down.
example:
Cell: mwstSSCCell
Node: mwstSSCNode
Host Name: mwstc.mindwatering.com
Under Create the administrative ID and password ... heading, leave the ID as wasadmin, and enter a password, and confirm the password.
Click Next.
On the Configure DB2 tab, enter the FQDN of the DB2 server (this server), leave the ID as db2admin, and enter its password, and confirm the password.
Host Name: mwstc.mindwatering.com
Port: 50000
Database Name: STSC
Application user ID: db2admin
Click Validate at the bottom of the page. When successful, the button will change to Validated, click Next.
<wait for the Progress Information window to complete - it is downloading updates>
Click Install.
Click Finish at the end of the install.
previous page
|