SLAC CPE Software Engineering Group
 

Build new OPI


SLAC Detailed
SLAC Computing
Software Home
Software Detailed
 

 

This page has notes on how we configured our new OPI's.  Normally we clone our workstations, but if we purchase new equipment we will need to build from scratch.

 

 

              

  1. Install new RHEL OS
  2. Install yum and run yum (How to run yum)
  3. Configure X
    1. Copy over the /etc/X0.hosts file from another OPI
    2. edit the /etc/X11/gdm/gdm.conf
      1. Make sure the X server is listening
        1. ps -ef | grep listen -look for nolisten (This means that the Xserver is not listening)
          1. Change #DisallowTCP=true  to DisallowTCP=false
          2. Restart X (init 3;  init 5)
  4. Copy over the authorized_keys and known_hosts files from another root ssh directory on our OPI's
  5. Install remote desktop on the OPI by command "yum install rdesktop"
  6. Add new host and IP to the /etc/hosts file on mccfs8
  7. Do NOT run /usr/local/admin/scripts/sync_sysconf.sh

    • This is for RHEL5.
    • Need to create new one, but for now use a current RHEL6-64 server for
      • passwd ***
      • shadow ***
      • group ***
      • resolv.conf
      • rsyslog.conf
      • ntp/step-tickers
      • hosts
      • ntp.conf
      • cups/clientd.conf
  8. Download and install new video drivers
    1. /usr/local/admin/nvidia  (How to install nvidia drivers)
  9. Run linux-mirror monthly
    1. cd /etc/cron.monthly
    2. ln -s /usr/local/admin/scripts/linux-mirror
  10. Update /etc/sudoers file (for running the facet archive viewer as fphysics -locally)
    1. physics ALL=(fphysics) NOPASSWD: /home/physics/bin/facet-archview-OPI
  11. Update xorg.conf
    1. Section "Files"
      # RgbPath is the location of the RGB database. Note, this is the name of the
      # file minus the extension (like ".txt" or ".db"). There is normally
      # no need to change the default.
      # Multiple FontPath entries are allowed (they are concatenated together)
      # By default, Red Hat 6.0 and later now use a font server independent of
      # the X server to render fonts.
      # -OLD RgbPath "/usr/X11R6/lib/X11/rgb"
      # RgbPath "/usr/share/X11/rgb"

      FontPath "/usr/share/X11/fonts/misc"
      FontPath "/usr/share/X11/fonts/100dpi"
      FontPath "/usr/share/X11/fonts/100dpi:unscaled"
      FontPath "/usr/share/X11/fonts/75dpi"
      FontPath "/usr/share/X11/fonts/75dpi:unscaled"
      FontPath "/usr/share/X11/fonts/TTF"
      FontPath "unix/:7100"

      EndSection




 



 

 

[SLAC CPE Software Engineering Group][ SLAC Home Page]

 

Author: Ken Brobeck, 14-Jan-2010
Last updated, 05-Aug-2014