Difference between revisions of "Client Recipe"
From Nuclear Physics Group Documentation Pages
Jump to navigationJump to searchLine 31: | Line 31: | ||
## If this is an Ubuntu workstation, /etc/openldap is actually /etc/ldap, or something like that. It'll make sense when you see it. | ## If this is an Ubuntu workstation, /etc/openldap is actually /etc/ldap, or something like that. It'll make sense when you see it. | ||
# Disable SELinux | # Disable SELinux | ||
+ | # Install autofs | ||
# Copy the appropriate content into the [[Autofs Configuration Files]] | # Copy the appropriate content into the [[Autofs Configuration Files]] | ||
## If this is an Ubuntu workstation, you most likely need to install the package nfs-common. | ## If this is an Ubuntu workstation, you most likely need to install the package nfs-common. |
Revision as of 18:19, 22 May 2009
A simple n-step process to set up a client lickety-split:
- Install Fedora in the typical fashion, skipping the steps for creating a default user and network authentication
- When configuring network authentication, check LDAP configuration, and download the certificate from nuclear.unh.edu/~maurik/unh_physics_ca.crt
- Log in as root
- Disable NetworkManager if it hasn't already been disabled. (hint: chkconfig)
- Run system-config-network
- If there isn't one already, add an ethernet device on eth0.
- If this client is not in the server room (and therefore not going to use a VLAN), skip to the next full step
- Choose to statically set the IP address to an available local number (10.0.0.*)
- Give the device the alias "farm".
- Make sure it has onboot=yes so that it automatically comes up
- Run
vconfig add eth0 2
to create a virtual device "eth0.2" while the network is up. Might need to runifup eth0
. - Use system-config-network to add an ethernet device to eth0.2
- Alias it "unh"
- Make sure it has onboot=yes in the so that it automatically comes up
- Choose to statically set the IP address to whatever was registered for the client
- Set the gateway to 132.177.88.1
- Under the general network configuration "DNS" tab, put the appropriate IPs of einstein and roentgen for primary and secondary DNS (local for farm as the primary connection, unh for unh as the primary connection)
- Save the changes made with system-config-network
- If a virtual device was added:
- Open /etc/sysconfig/network-scripts/ifcfg-unh in a text editor
- Add the line
VLAN=yes
, and save
- If there are any more devices already present, disable, remove or configure them as well. Whatever you do, don't leave them defaulted to DHCP mode, otherwise their existence will change /etc/resolv.conf !
- Run gtk-authconfig
- Check "Enable LDAP Support" under the "User Information" and "Authentication" tabs
- Click "Configure LDAP..."
- The base DN is dc=physics,dc=unh,dc=edu and the server is einstein.unh.edu.
- "Download CA Certificate" doesn't ever seem to work, so get "unh_physics_ca.crt" from einstein and put it in /etc/openldap/cacerts" (hint:
scp
). - Click OK in LDAP Settings.
- Click OK in authconfig
- If this is an Ubuntu workstation, /etc/openldap is actually /etc/ldap, or something like that. It'll make sense when you see it.
- Disable SELinux
- Install autofs
- Copy the appropriate content into the Autofs Configuration Files
- If this is an Ubuntu workstation, you most likely need to install the package nfs-common.
- Reboot