Latest news

Feb 6, 2007:
Site update

Jan 27, 2007:
For Sale section added

Jan 4, 2007:
Site update



Recent

Solaris 10 raid
Software mirroring

Solaris 10 zones
Container config

Mod_Auth_XRadius
Apache auth

Read more...

More info

We offer onsite and remote support for most open source solutions. Support contracts are also available.



Links

- Parliament Hill
- WLUG
- Linux.org.uk
- Valid XHTML
- Valid CSS



Link back

Please use this image to link back to this site

Sun Solaris version 7 

Accessing the Configuration repository 

To obtain any configuration files specific to the Solaris platform the configuration repository must first be made available. To do this carry out the following steps 

a) Create a mount point using the command 

“mkdir /export/home/unixcfg” 

b) Add an entry into the file /etc/vfstab as shown below 

mainfileserver.domain.local:/unixcfg - /export/home/unixcfg nfs - yes rw,soft,bg,intr 

c) Issue the command “mount –a” which should mount the new file system entry added in the previous step. You can ignore messages pertaining to filesystems that are already mounted 

d) You should now be able “cd” to the /export/home/unixcfg/ directory to recover any configuration files referenced in the rest of these instructions. 

NIS configuration 

a) Log in to the Solaris 7 system as root and in a terminal window issue the commands in the following steps. 

b) Enter “domainname domain.local” 

c) Edit the file “/etc/hosts” and add an entry for the NIS server cart 

# # Internet host table# 

127.0.0.1 Localhost 

10.133.54.209 sun450 loghost 

10.133.54.186 pdc.domain.local 

d) Enter the command “ypinit –c” and respond as shown in the example below: 

Nameservice switch configuration 

Solaris 7 uses the /etc/nsswitch.conf file to control name service lookups. It is necessary to use a group1 specific version of this file as detailed below. 

c) Copy the name service configuration file (nsswitch.conf) into the /etc directory from the Redhat directory of the configuration file repository 

Set up main file server “/export/home/users” NFS mount 

The /home/users area is an NFS mount which contains the home directory for virtually all users. This is set up as shown below 

a) Create the /export/home/users mountpoint using the command “mkdir /export/home/users” Note that any “local” contents of the directory “/export/home/users” will not be visible once this file system is mounted. Therefore check that “/export/home/users” contains no data at this time. If it does take steps to preserve or delete it. 

b) Add an entry into the file /etc/vfstab as shown below 

mainfileserver.domain.local:/users - /export/home/users nfs - yes rw,soft,bg,intr 

c) Issue the command “mount –a” which should mount the new file system entry added in the previous step. You can ignore messages pertaining to filesystems that are already mounted 

d) You should now be able “cd” to the /export/home/users directory. The individual user directories should be visible 7.8.5 Set up main file server “/export/home/group1” NFS mount Several key directories are mapped to the “U” drive on the NAS server. To enable their use it is necessary to map the NAS server “U” drive to the “/export/home/hg1” NFS mounted filesystem as shown below 

a) Create the /export/home/hg1 mountpoint using the command “mkdir /export/home/hg1” 

b) Add an entry into the file /etc/vfstab as shown below 

mainfileserver.domain.local:/homegroup1 - /home/hg1 nfs - yes rw,soft,bg,intr 

c) Issue the command “mount –a” which should mount the new file system entry added in the previous step. You can ignore messages pertaining to filesystems that are already mounted 

d) Ensure that if the directory “/home/group1” exists that its contents are either unneeded or saved 

e) Create a soft link for /home/group1 pointing to /home/hg1/ using a command of the form shown below 

#ln –s /home/hg1/solaris7 /home/group1 

f) You should now be able “cd” to the /home/group1 directory.

Next (HPUX 10.20)

Back to menu