Logical Solutions SCS-R 7.10 NFS, NIS Make file, NIS Configuration File, Remote NFS Directory

Models: SCS

1 90
Download 90 pages 9.07 Kb
Page 64
Image 64
7.9.6 NIS Make file

System Administration

7.9.6 NIS Make file

The file Makefile.nis.portAccess is used to create the lsi port database. To build the database, the above files (listed in Section 7.9, NIS and User Port Permis-

sions, on page 61) need to be loaded on the NIS server. The system has been tested on a linux machine running RedHat 8.0. The files were placed in the /var/yp directory. After the make file executed, the lsi database file was placed in the NIS host directory.

7.9.7 NIS Configuration File

The NIS configuration file (located at /etc/nsswitch.conf) must be edited by the user to support your NIS server. To do this:

1.Open the file /etc/nsswitch.conf using your editor.

2.Edit (add or modify) a line to your config file that supports local files for local users, and if not assigned locally, refers to the NIS database. The line should read:

port_access : files nis

3.Save your updated nsswitch.conf file.

7.10 NFS

NFS information can be obtained from the MAN pages. Refer to the following man pages: nfs, mount, fstab.

This section is an overview of setup information for an NFS application, as it per- tains to the SCS.

7.10.1 Remote NFS Directory

To mount a remote directory onto the SCS, you must start the portmap service and the nfslock service.

To manually start these services (portmap and nfslock):

service portmap start service nfslock start

You may have these services start automatically at power on. To do so, enter the commands:

chkconfig portmap on chkconfig nfslock on

Determine which local directory name you will use to refer to the remote directory. The standard name used is /mnt. If you need more than one remote directory

SCS160 / SCS320 / SCS480

Page 64

www.thinklogical.com

SCS160R / SCS320R

 

 

Page 64
Image 64
Logical Solutions SCS-R manual 7.10 NFS, NIS Make file, NIS Configuration File, Remote NFS Directory, System Administration