Table of Contents

TI lab setup

The computers in TI lab will be setup as follows.

Users

Administrators

Bringing up a new machine for Debian/Lenny 64 bit hardware

Basic Installation Procedure:

    Partitions: On a 160 GB HDD : 
    16 GB for /
    71 GB for /cad
    51 GB for /data
   (no more than) 2 GB for swap 
    remaining for /opt        
           Option      "NoAccel"           "True"

Setting up Repositories & Installation of basic packages:

Other settings

Setting up LDAP:

ldap server : ldap://10.7.51.101 or ldap://10.7.0.2 (NOTE IT SHOULD BE ldap: NOT ldapi:)

     Search base : dc=ee,dc=iitm,dc=ac,dc=in
     Make local root Database admin: No
     Does the LDAP database require login: No
     Services to be used : group,password,shadow   
     File name - common-account
        account    sufficient      pam_ldap.so
        account    required        pam_unix.so  
     File name - common-auth
        auth    sufficient      pam_ldap.so 
        auth    required        pam_unix.so use_first_pass
     File name - common-session
        session    required        pam_unix.so 
        session    optional        pam_ldap.so 
     File name - common-password
        password   sufficient   pam_unix.so nullok obscure md5
        password   required   pam_ldap.so

Setting up Automount for /data directories:

For e.g. /data 10.7.51.0/255.255.255.0(rw,sync) shares(with write access) the folder /data in this machine to other machines in the network with Internet address 10.7.51.0. These are controlled appropriately through the subnet mask. Google for more information

      /host	/etc/auto.host
      ∗    &:/data 

To make Cadence and Matlab work properly

Setting Correct access permissions for Audio, CDrom, Flash player

Wheezy Installation

Basic Packages to be installed:

LDAP Setting

Package installation

   account sufficient pam_unix.so
   account required pam_ldap.so
   auth sufficient pam_unix.so nullok_secure
   auth required pam_ldap.so use_first_pass
   password sufficient pam_unix.so nullok obscure min=4 max=8 md5
   password required pam_ldap.so use_first_pass

edit /etc/nsswitch

passwd: compat ldap group: compat ldap shadow: compat ldap

Edit /etc/ldap/ldap.conf

Comment all the lines and add the following lines.

URI ldap://10.7.0.2:389
BASE dc=ee,dc=iitm,dc=ac,dc=in

To install 32 bit libraries

dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386
apt-get install ia32-libs

Hosts list

# DCF Related
10.7.0.1        athreya.ee.iitm.ac.in   athreya
10.7.0.2        volt.ee.iitm.ac.in      volt
10.7.0.3        agasthya.ee.iitm.ac.in  agasthya proxy
# NFS Servers
10.7.7.43       server3
# License servers
10.7.9.36       server6
10.7.9.34       server1
10.7.9.35       server5
10.7.7.42       server2
10.65.0.45      moon

Mounting /home

server3:/home    /home     nfs     rw,rsize=8192,wsize=8192,timeo=14,intr,bg,soft 0 0