Before you begin pre installation tasks

First off, you need to make certain you have a Linux user account, as well as a group, under which to run Domino. After booting the system, enter root for the username then the root password you entered during installation. Depending on whether you elected to have X-Windows launch automatically, you will be at the command line prompt or an X-Windows prompt. From the command line, log in as root then type startx to begin an X-Windows session. Otherwise, log in as root and the graphical desktop environment of your choice, ours is KDE, will load

The bottom of a typical KDE or GNOME desktop has a task bar. Locate the shell icon, which in KDE is a monitor with a sea shell superimposed, and click the icon once.

Figure 2-1 The Shell Konsole in KDE

Tip: If you are accustomed to double-clicking icons in order to launch applications, you can change the default behavior of KDE via the Control Center. Click the Start Applications icon (first icon starting from the left of the task bar), click Control Center, and go to Peripherals - Mouse.

1. Check that the notes account exists

Once you have the shell running, you can check for the existence of the notes account. One way to check is shown in Figure 2-2 on page 99. The tail command shows you the last x number of lines for a file as specified by the command line parameter. We used tail -20 /etc/passwd to view the last 20 lines of the passwd file. The names of user accounts are kept in this file and located in the first position of each line; you can see our account, itsodom6, listed at the very bottom.

na Shell - Konsole

Session Edit View Settings Help itsosuse:™ # itsosuse:™ # tail -20 /etc/passud f tp :x : 40 :2 :FTP account:/usr/local/ftp:/bin/bash firewall :x :41:31 :Fireuall account: /var/lib/fireuiall: /bin/false named:x:44:44:Nameserver daemon:/var/named:/bin/bash fnet:x:49:14:FidoNet account:/var/spool/fnet:/bin/bash gdm :x:50:15 :Gnome Display Manager daemon:/var/lib/gdm:/bin/bash postfix:x:51:51:Postfix daemon: / var/spool/postfix :/bin/false cyrus: x :96:12 :IMAP daemon: /usr/lib/cyrus: /bin/bash oracle:x:59:54:0racle database admin:/opt/oracle:/bin/bash mysql: x :60 :2 : MySQL database admin:/var/lib/mysql:/bin/false dpbox: x:61:56:DpBox account: /var/spool/dpbox: /bin/false ingres :x :62 :3 :Ingres database admin :/opt/tngfu/ingres :/bin/bash zope :x :64:2:Zope daemon:/var/lib/zope:/bin/false vscan: x:65:65534:Vscan account: /var/spool/vscan: /bin/false wnn :x : 66 :100 : Mnn system account:/var/lib/unn : /bin/f alse pop :x:67:100:POP admin: / var/lib/pop: /bin/false perforce :x :68 :60 :Perfoce admin : /var/lib/perforce : /bin/false sapdb:x:69:61 :SAPDB demo account:/var/opt/sapdb:/bin/bash db4uieb:x:70:100:DB4Heb account:/opt/db4ueb:/bin/bash nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash itsodom6:x:500:100:ITS0 Domino:/home/itsodom6:/bin/bash itsosuse:™ # |

P] New Shell

Figure 2-2 Portion of the passwd file

Those new to Linux will notice quite a few differences. Unlike a graphical user interface, the command line interface allows you to work 'more closely' with the system. In addition to seeing the data, you see exactly how it is structured. While it is both a strength and a weakness of the command line that it lacks the ease of a GUI, the beauty of Linux is that you get the best of both: you can use the command line when you wish and otherwise use the numerous GUI programs available in a graphical desktop environment, such as KDE.

2. Check that the user group for Domino exists

Next, we need to ensure that we created a user group for Domino and that our account, itsodom6, is a member of that group. Those familiar with Lotus Notes will understand the use of users and groups - the main difference is that in Linux you cannot nest a group within another group.

To check for the group, we launch KATE by navigating to Start Application -Office - Editors - KATE (SuSE) or Start Application - Editors - KATE

(RedHat). KATE is a simple GUI text editor suitable for use in viewing the /etc/group file. You can see that the group, notes, is listed at the bottom and that our itsodom6 account is a member.

|Eile Edit Go lools Settings Help

Figure 2-3 The contents of the /etc/group file.

If you look at the user file, you will notice the number 500 on the itsodom6 line and again on the notes group line. Just as DNS is a human-friendly version of numerical IPs, Linux associates the names of user and groups with unique numbers so we can refer to them by name instead of number.

In our example, we created the appropriate user account and group during installation. If you did so as well, you can skip ahead to Step 6 on page 103.

3. Create the Linux user group to run Domino

|Eile Edit Go lools Settings Help

If the user and group do not exist, you need to launch a user manager program. From the command line, you can run useradd, userdel, or usermod and groupadd, groupdel, or groupmod depending on whether you want to add, delete, or modify a user or group. With a graphical desktop environment, you have Red Hat User Manager and SuSE's YAST2, as well as KDE User Manager.

We are going to use the KDE User Manager because it is easy to use and is common to both distros. From KDE for Red Hat 7.2, navigate to Start Application - System - User Manager and from SuSE 8.0 navigate to Start Application - System - Configuration - KUser. The Start Application button is the far left button on the KDE task bar (refer to Figure 2-1 on page 98 for a view of the KDE desktop).

First, we create the notes group before adding the user. This will make the notes group an available selection for the user account we will create next.

Figure 2-4 Add Group with KDE User Manager a. Click the Groups tab.

b. Click the second ADD button.

c. Enter the Group name - notes in this case.

Accept the default Group number.

Figure 2-4 Add Group with KDE User Manager

4. Create a Linux user account to run Domino

Now that you have created the group, you can switch back to the Users tab to create the account that will run the Domino server. When you click the first ADD button, you will be prompted to enter the Username.

-a. Click the Users tab.

Figure 2-5 Add User with KDE User Manager

Figure 2-5 Add User with KDE User Manager

-a. Click the Users tab.

b. Click the first ADD button.

.c. Enter a user name with which to run the Domino 6 Server. For security reasons, you might want to enter a different name than notes. See Figure 2-21 on page 114 for further discussion.

Click OK to submit the name; this will bring up the User Properties window shown in Figure 2-6 on page 102.

Figure 2-6 User Properties a. Click Set Password to enter a password.

Enter a descriptive name.

Select the default BASH shell.

Enter the directory in which you will install the Domino Data files. While not required, it eases administration.

Figure 2-6 User Properties

If you take a look at the Login Shell drop-down in Step c on page 102, you will see a lot of options. The shell you select is a matter of personal preference. Common shells are BASH, tcsh, and ksh. For the instructions and tips in this chapter, we will assume you selected the default BASH shell as your login shell.

5. Make the user part of the group

When you are finished with this tab, click the Groups tab. Scroll down the list of groups until you see the notes group we created earlier. Click the check box to make the new user a member of that group. You can then click OK to save your changes and exit the KDE User Manager.

6. Check the available diskspace

Having checked that both the user and group exist and that they are correctly associated, the next step is to double-check the available disk space. The command df -k, and the human-readable df -h, show the devices on the system and usage statistics. As you can see in Figure 2-7 on page 103, we have enough space to install Domino into /opt/lotus since the / mount point has nearly 1 gig free. Since we are going to install the Domino 6 program files to the same mount point as the rest of the OS (this is equivalent to installing to the c: drive on an NT system), you should have at least 500 megs free. Please refer to the Lotus Domino 6 documentation for the exact disk space requirements. If you do not have enough disk space, the Domino installation program will detect this condition and abort with an error message.

IEHE

Session Edit View Settings Help itsosuse:™ #

Filesystem

/dev/sdal

/dev/sdcl

/dev/sdbl

/dev/sda5

Filesystem

/dev/sdal

/dev/sdcl

/dev/sdbl

/dev/sda5

shmf s itsosuse# |

lk-blocks

Used

Available

Use%

Mounted on

3099260

1985968

955860

68%

/

78440040

335584

74119936

1%

/local

4127076

32828

3884604

1%

/translogs

497829

38958

433169

9%

/var

127732

0

127732

0%

/dev/shm

Size

Used

fivail Use% Mounted

on

3.0G

1.9G

933M 68% /

75G

328H

70G

1% /local

3.9G

33M

3.7G

1% /translogs

486M

39M

423M

9% /var

125H

0

124M

0% /dev/shm

Figure 2-7 Two different ways to display disk usage

KDiskFree is a graphic tool to show free disk space Start - System - File System Tools - KDiskFree on SuSE and Start - System - KDiskFree (View Disk Usage) on RedHat (see Figure 2-8 on page 104)

[J

KDiskFree

■ □ X

File Options Help

Icon

Device

Type

Size

Mount point

Free

Full %

Usage

®

/dev/cdrom

auto

W/A

/media/cdrorn

0 B

N/A

/dev/dvd

auto

N/A

/media/dvd

0 B

N/A

/dev/fdO

auto

N/A

/media/floppy

0 B

N/A

SU

/dev/sda1

ext3

3.0 GB

/

94.9 MB

96.9%

1 Í

Q

/dev/sda3

ext3

436.Z MB

/var

404.1 MB16.9%

!■ 1

§§

/dev/sdbl

extZ

1,007.9 MB

/translog

956.7 MB5.1 %

Il 1

m

/dev/sdcl

ext3

3.9 GB

/local

3.3 GB

15.4%

!■ 1

shnifs

?

69.6 MB

/dev/shm

69.6 MB

0.0%

1 1

Figure 2-8 KDiskFree, Graphical disk usage tool

Figure 2-8 KDiskFree, Graphical disk usage tool

Was this article helpful?

0 0

Post a comment