DEC OSF/1 / Digital/Tru64 UNIX installation(Under construction)

PrevUp [ Tru64 UNIX 5.x/4.x | DEC OSF/1 3.x | DEC OSF/1 2.x ]


NOTE: Prior to installation ensure the latest firmware level, depending on the chosen methods one may perform firmware upgrades along with some of the following tasks, e.g. apply firmware upgrade as part of the installation reboot.

Tru64 UNIX 5.x/4.x

From scratch

  1. Update firmware from respective CD set.
  2. To reset the boot device at the console:
    set bootdef_dev ""
  3. boot from CDROM, e.g.
    boot dka400 # SCSI CD-ROM ID=4
    
    Choose System management to partition the system disk, if necessary.
    Choose ADVANCED installation option and proceed. Custom install base OS on suggested disk, e.g. rz0. Use LSM wherever suggested.

Some basic customizations

  1. In /etc/inetd.conf disable all unnecessary services. If the machine should offer boot services, bootps and tftp must be enabled.
  2. chmod o-x /usr/bin/ypcat  # for security
    
  3. SysMan Quick (or Custom) Setup:
    1. NIC:
      • network mask: 255.255.255.0
      • static route: default/gateway 192.168.1.1
      • no DHCP
      • DNS/BIND client: nameserver vigor 192.168.1.1; domain home.de; host name w/o domain
      • resolution order: local hosts, DNS/BIND, NIS
    2. NTP: de.pool.ntp.org
    3. no NIS
    4. NFS: enable automounting, with parameters -v -f /etc/auto.master
    5. skip EMail and printer config
    6. Customize filesystems
      • Tru64 5.x
        Create/mount fileset usr_domain#opt,/opt and set quotas:
        chfsets -b 294912 usr_domain var # a bit more than 256MB to allow for patches
        chfsets -b 262144 usr_domain opt
        
      • Tru64 4.x
        mkfset            usr_domain opt
        chfsets -b 262144 usr_domain opt
        
    7. skip OSF-BASE license
  4. Setup/Import /etc/hosts with local host names
  5. SysMan Configuration Checklist
    lmf to register and load OSF-BASE license
The minimum system will occupy about 400MB in /usr. Netscape 4.76 and ssh2 (Tru64 5.x) are already included.

Additional software (CD)

Use SysMan (Tru64 5.x) to select/install additional filesets from CD. Only installable, i.e. not yet installed filesets will be presented.
Alternatively, in text mode (Tru64 4.x) :
mount -r /dev/disk/cdrom0c /cdrom # 5.x 
mount -r /dev/rz4c         /cdrom # 4.x, CD at ID=4
setld -i                          # list of installable software
setld -l /cdrom OSFxxx OSFyyy ... # install packages (OS CD)
cd /cdrom 
setld -l product_directory/kit    # install packages (other CDs)
  1. From OS CD: any useful stuff.
    (+300 MB)
  2. From Associated Products Vol 1 useful stuff e.g.:
    FORTRAN/Pascal/Cobol RTL, Development Enhancement, Java, LDAP, Mozilla, appropriate Multimedia, Sort, appscan
  3. From Associated Products Vol 2 useful stuff e.g.:
    Graphical Progr. Analysis, Motif 2.1.30, Software Manager, Visual Threads, perl 5.8.4, xemacs. TruCluster requires loaded PAKs.
    (+500 MB).
  4. Copy documentation CD, e.g.:
    mount -r /dev/disk/cdrom0c /cdrom # 5.x 
    mount -r /dev/rz4c         /cdrom # 4.x, CD at ID=4
    cp -r -h -p /cdrom /usr/share/doclib/
    mv /usr/share/doclib/cdrom /usr/share/doclib/online.AG-RHB3E-BE
    rm /usr/share/doclib/online
    ln -s /usr/share/doclib/online.AG-RHB3E-BE /usr/share/doclib/online
    
    (+400 MB 5.x, +230 MB 4.x)
  5. From Software Products Library (e.g. Jan-2003):
    C++, FORTRAN, Pascal, Open3D ?. Require PAKs.
    (+200MB).
  6. Patches todo ? (didn't install)
    mount -r -t cdfs /dev/disk/cdrom0c /cdrom
    /cdrom/patch_kit/dupatch
    
    top of the patch distribution is /cdrom/patch_kit
    Patch notes:
    If you delete this patch kit, you MUST run the following script prior to 
    rebooting your system:  /etc/dn_fix_dat.sh
    Prior to setting the executable_data tunable to a non-zero value, you
    must run the following script:
    /usr/sbin/javaexecutedata
    
    After this patch has been installed the following command must be executed:
    
    /usr/sbin/cdsa/mod_install -f -i -s /usr/lib/cdsa/libt64csp.so -d /usr/lib/cdsa/
    
    This patch fixes a potential security vulnerability in IPsec.  If you have one
    or more IPsec connections configured on your system you need to ensure that you
    have restricted access to each IPsec connection based on the identity of
    the remote host(s).  Refer to the Patch Summary and Release Notes document
    for further information.
    
A fully loaded system thus will occupy about 1700 MB (5.x) and 1000 MB (4.x), respectively, in /usr

Additional local software

Local software from the list. Some sources are

Customization


DEC OSF/1 3.x

  1. boot from CDROM, e.g.
    boot dka400
    
  2. Choose System management to partition the system disk, if necessary. After partitioning, restart
    Choose ADVANCED installation option and proceed
  3. After installation:
    init 3  # boot multi-user
    

Some basic customizations

  1. In /etc/inetd.conf disable all unnecessary services. If the machine should offer boot services, bootps and tftp must be enabled.
  2. chmod o-x /usr/bin/ypcat  # for security
    
  3. Setup:
    1. NIC:
      • network mask: 255.255.255.0
      • static route: default/gateway 192.168.1.1
      • no DHCP
      • DNS/BIND client: nameserver 192.168.1.1; domain home.de; host name w/o domain
      • resolution order: local hosts, DNS/BIND, NIS
    2. NTP: de.pool.ntp.org
    3. no NIS
    4. NFS: enable automounting, with parameters -v -f /etc/auto.master
    5. If so desired, enable telnet login as root, similar as for ULTRIX.
    6. skip EMail and printer config
    7. Customize filesystems
      • OSF/1 3.x
        mkfset            usr_domain opt
        chfsets -b 262144 usr_domain opt
        
    8. skip OSF-BASE license
  4. Setup/Import /etc/hosts with local host names
  5. OSF-BASE license:
    lmf register - <pakfile
    lmf load 0 OSF-BASE
    
A minimum system occupies about 300MB in /usr.

Additional software (CD)

mount -r /dev/rz4c         /cdrom # CD at ID=4
setld -i                          # list of installable software
setld -l /cdrom OSFxxx OSFyyy ... # install packages (OS CD)
cd /cdrom 
setld -l product_directory/kit    # install packages (other CDs)
  1. From Complementary Products:
    Polycenter (dxadvfs, DECsafe (asemgr), System V Package (needs PAKs).
    (+100MB)
  2. Install Documentation CD, e.g.:
    mount -r /dev/rz4c         /cdrom # CD at ID=4
    cp -r -h -p /cdrom/DOCUMENTATION /opt
    
    (+170MB in /opt).
    In /usr/lib/dxbook/library.decw_bookshelf append
    shelf\/opt/DOCUMENTATION/BOOKREADER/digital_unix.decw_bookshelf\Digital UNIX 3.2 Online Docs
    shelf\/opt/DOCUMENTATION/BOOKREADER/decosf1.decw_bookshelf\DEC OSF/1 X3.0 Online Docs
    
    for Digitial UNIX 3.2 and OSF/1 3.0, respectively.
  3. From Software Products Library, if available and appropriate:
    C++, FORTRAN, Pascal, Open3D ?. Require PAKs.
    .
  4. Patches todo ?
A fully loaded system thus will occupy about 500 MB in /usr

Customization


DEC OSF/1 2.x

OSF/1 2.x exists for both of DEC's RISC platforms, Mips and Alpha, although the Mips version was not generally available.

Prerequisites

Mips hardware

OSF/1 2.x runs on DECstation 5000 series 100. It does not seem to support graphics cards better than a PMAG-B. That is, one can start booting/installing, but the machine will switch to console mode when the kernel is loaded.
It seems that originally it was intended to live on TK50 media, but DDS-2 or similar will also work. So in any case, an appropriate tape drive is needed.
The OS kit normally comes on 4 tape volumes comprising sets of tarred and compressed files. If the files are distributed as disk resident archives, one has to
generate installation tapes before. Not a big deal for those who grew up with tapes rather than the optical stuff, but keep in mind that blocksizes are significant when files are transferred to tape. This is accounted for in the shell scripts which come with the archives.
The installation seems to require an original DEC harddisk (RZxx, for example an RZ26), others are recognized, but can't be partitioned. This may be due to the /etc/disktab which doesn't list any non-DEC hard disk of that time.
If successful, the full installation takes some 400+xMB disk space.

Alpha hardware(Under construction)

OSF/1 2.x runs on early Alpha (i.e. Turbochannel) machines, such as the DEC 2000/3000/4000/7000/10000 AXP (I used a 3000/300LX). Unlike its Mips brother, 2.x for Alpha comes on CD. A 2GB disk should suffice, and OSF/1 Alpha is less picky about the disk type than the Mips version.

Installation

Mips hardware

Rather straightforward and ULTRIXish, IMHO.
  1. Setup the hardware (tape drive !), insert the boot tape, power on. At the console:
    boot 3/tz6 # assume tape drive SCSI id=6
    
    and answer the questions.
  2. The boot procedure does not offer many choices. At one point one may choose Basic as opposed to Advanced installation. The main visible difference is, that Advanced will also prompt for the second OS tape to install more software. In this case one may install and configure just everything.
  3. Network configuration.
    1. Run netsetup and answer the questions. In most cases the defaults are acceptable.
      1  Configure Network Interfaces   # this configures the hardware
                                        # affects /etc/rc.config, /etc/hosts
                                        # Then select:
      2  Enable/Disable Network Daemons and Add Static Routes
      
      Do you want to add a static route [no]? yes
      Enter the destination name or IP address: default
      The destination is "default".  Is this correct [yes]? 
      Enter the gateway name or IP address: 192.168.1.1
                                        # /etc/routes: default 192.168.1.1
      Do you want netsetup to automatically restart the network
      services on this system [no]? yes
      
    2. Run bindsetup and answer the questions. In most cases the defaults are acceptable. The script also invokes svcsetup to define the order of name resolution.
      Enter the default BIND domain name []: localdomain
      Enter your choice [c]: c
      Enter the host name of a BIND server: vigor
      Enter the Internet address for 192.168.1.1. []: 192.168.1.1
                                        # affected: /etc/rc.config, /etc/hosts
      
      Would you like to run svcsetup now to edit the /etc/svc.conf file (y/n) [y] ? 
      Enter your choice(s).  For example "0 3 5" [no default] : 2
      "hosts" database [2]: 3
                                        # affected: /etc/svc.conf
                                        #           hosts:  local,bind
      
    3. With these settings, however, I found the name resolution still is handled inappropriately, i.e. for outbound connections the default domain name is appended, which doesn't make sense. Therefore I removed it where it appeared (/etc/rc.config,/etc/hosts) and replaced it by a single "." (dot) in /etc/resolv.conf.
    4. Restart all internet services:
      rcinet restart
    5. Run nfssetup and answer the questions. In most cases the defaults are acceptable. Affects /etc/rc.config
  4. If so desired, enable telnet login as root just as for ULTRIX.
  5. A bunch of additional software packages is recommended to be installed locally (on the system disk), as indicated by L in the software list. For convenience I have collected them in an NFS server directory plus an installation shell script.
    mkdir /mnt                      # if not yet existing  
    mount -r rs6kf:/swdepotfs/ /mnt
    
    mkdir /opt                      # if not yet existing  
    cd /opt
    /mnt/DUX/MIPS/20/installopt.sh  # run the install script
    

Alpha hardware(Under construction)

  1. boot from CDROM, e.g.
    boot dka400
    
  2. The BASIC installation only installs a minimum system and offers no control over disk partitioning.
    Choose System management to partition the system disk, if necessary/desired. After partitioning, restart (or press CTRL-D and choose run level S when prompted).
    Choose ADVANCED installation option, answer the questions and proceed. One may install just everything.
  3. After installation:
    init 3  # boot multi-user
    

More customization


Last updated: 26-Sep-2010, M.Kraemer