Installing Domino on Ubuntu - Phase 2
The next step of rebuilding my SUSE Linux Domino server as a Ubuntu Domino server was installing and setting up Domino. Many of these steps were taken from another web site.
Log on as my main user and create the "notes" user. Note that almost every command listed here needs the "sudo" prefix so it can run as root. To save space, that is removed and just the command is listed.
useradd -d /local/notesdata notes
passwd notes -- then give the "notes" user a password
mkdir /local
mkdir /local/notesdata
chown notes:notes /local/notesdata
Change programs around as instructed:
cd /bin
rm -i sh -- answer "yes" to the prompt
ln -s bash sh
cd /user/bin
ln -s mawk gawk
FTP Domino from the server where I was holding it. I put it into my home "Documents" folder. I also FTP'd the ID files needed to recreate the server to the same directory. Then I needed to unpack the TAR file and install Domino 8.5.3:
tar xvf lotus_domino853_xlinux_en.tar
cd linux/domino
./install -- Enter "Yes" to finish in GUI mode
When the install was finished, copy the server ID file and change the ownership:
cp myServer.id /local/notesdata/server.id
chown notes:notes /local/notesdata/server.id
Once all that is done, shut down and restart. Then log in as the "notes" user and perform the following commands (not under "sudo"):
cd /local/notesdata
/opt/ibm/lotus/bin/server
Go through the GUI to finish setting up Domino. Make sure to use the server ID file that was copied over.
Once Domino is set up, shut down again and reboot (note - you could just log off and log back on, I like the shut down reboot approach)
Log on as your main user. Go to your Documents folder in Terminal and copy the Domino startup script from the web:
wget https://raw.github.com/ddellaquila/dd-repo/master/lotus-domino/domino_rc-script
Use vi to edit that file (:x is "save and exit", :q! is "exit without saving", i is "insert", a is "append"). Make sure all the directories and other stuff is correct. When finished, save the file.
Copy the script over to the /etc/init.d directory and name it "domino": sudo cp domino.rc-script /etc/init.d/domino
sudo chown root:root /etc/init.d/domino
sudo chmod 755 /etc/init.d/domino
Then register the script so it will start when the server starts: sudo update-rc.d domino start 99 2 3 4 5 . stop 01 0 1 6 .
If your Domino server doesn't need a password to start, you still need to create an empty password file for the script to "use": sudo touch /srv/notesdata/.domino.pwd
sudo chown notes:notes /srv/notesdata/.domino.pwd
sudo chmod 400 /srv/notesdata/.domino.pwd
You can then shut down and reboot, and Domino will start with the OS and you can access it from a Notes client.
Log on as my main user and create the "notes" user. Note that almost every command listed here needs the "sudo" prefix so it can run as root. To save space, that is removed and just the command is listed.
useradd -d /local/notesdata notes
passwd notes -- then give the "notes" user a password
mkdir /local
mkdir /local/notesdata
chown notes:notes /local/notesdata
Change programs around as instructed:
cd /bin
rm -i sh -- answer "yes" to the prompt
ln -s bash sh
cd /user/bin
ln -s mawk gawk
FTP Domino from the server where I was holding it. I put it into my home "Documents" folder. I also FTP'd the ID files needed to recreate the server to the same directory. Then I needed to unpack the TAR file and install Domino 8.5.3:
tar xvf lotus_domino853_xlinux_en.tar
cd linux/domino
./install -- Enter "Yes" to finish in GUI mode
When the install was finished, copy the server ID file and change the ownership:
cp myServer.id /local/notesdata/server.id
chown notes:notes /local/notesdata/server.id
Once all that is done, shut down and restart. Then log in as the "notes" user and perform the following commands (not under "sudo"):
cd /local/notesdata
/opt/ibm/lotus/bin/server
Go through the GUI to finish setting up Domino. Make sure to use the server ID file that was copied over.
Once Domino is set up, shut down again and reboot (note - you could just log off and log back on, I like the shut down reboot approach)
Log on as your main user. Go to your Documents folder in Terminal and copy the Domino startup script from the web:
wget https://raw.github.com/ddellaquila/dd-repo/master/lotus-domino/domino_rc-script
Use vi to edit that file (:x is "save and exit", :q! is "exit without saving", i is "insert", a is "append"). Make sure all the directories and other stuff is correct. When finished, save the file.
Copy the script over to the /etc/init.d directory and name it "domino": sudo cp domino.rc-script /etc/init.d/domino
sudo chown root:root /etc/init.d/domino
sudo chmod 755 /etc/init.d/domino
Then register the script so it will start when the server starts: sudo update-rc.d domino start 99 2 3 4 5 . stop 01 0 1 6 .
If your Domino server doesn't need a password to start, you still need to create an empty password file for the script to "use": sudo touch /srv/notesdata/.domino.pwd
sudo chown notes:notes /srv/notesdata/.domino.pwd
sudo chmod 400 /srv/notesdata/.domino.pwd
You can then shut down and reboot, and Domino will start with the OS and you can access it from a Notes client.
Comments
Post a Comment