Tru64 System Administration DocumentationPlease notify me if anything is unclear or incorrect... Campus ResourcesBasic information for setting up a computer on MITnet Also, once a year, MIT sends us a license PAK script that must be run on your computer in order to be able to use it and various software installed on it. Past experience tells us that you should run the script as root and change the permissions (some computers don't require this... but some do) before executing the script by
Shutdown CommandThe shutdown command has several options, most important are the ones which allow you to turn off the system, and to reboot the system.
Init CommandThe init command allows you to change the run-level of the system.
Swap PartitionMake sure you have 2 times the amount of swap space as physical memory. To check the amount of swap space you currently have allocated:
To increase swap space, first use “diskconfig” to check for an unused disk partition. If none are available… then… you better find one! Once you have an unused partition, change its type to “swap”. Then, to make the additional swap space permanent, you must edit the “vm” section of the /etc/sysconfigtab file to include the new partition:
where in this case /dev/disk/dsk3h is the new partition. The new swap partitions are activated automatically when the system is rebooted, or when you use the command
Filesystem -- AdvFSThe best filesystem to use with Tru64 is AdvFS. By default this is the file system that is created when you first setup the operating system. The file domains that are setup by the system are:
These are listed in the format
You can use “dtadvfs” to add unused disk partitions to these domains and filesets in order to increase their available capacity. The standard in our group is to create the following domains and filesets:
where “fenway” is the name of your machine. Try not to split an individual domain across different disks to avoid losing all files if a disk crashes. Typically, we use the “home” fileset for user files and the “local” fileset for software (Abaqus and Matlab at the very least). Security IssuesTo prevent insecure programs from starting at boot (and prevent IS from turning off your network drop), modify the /etc/inetd.conf file by commenting out (use a # symbol) all lines that begin with:
Also, disable “sendmail” from starting automatically at boot by renaming the file /sbin/init.d/sendmail to something else, such as /sbin/init.d/sendmail.disabled Installing and Removing SoftwareThree of the most widely used methods for installing pre-compiled software on a Tru64 machine are 1) using the “setld” command, 2) using the Redhat Package Manger (RPM), or 3) running a script. The “setld” command is used for most of the packages on the disks supplied by HP
The open source software that you can download from HP is typically installed by running a script after you have installed RPM. SSH The latest binaries can usually be found on HP’s Tru64 web site. Open Source Software HP provides a huge list of Open Source software that is precompiled
for Alphas at
ShellThe preferred shell at MIT is “tcsh” which can be obtained from the HP Open Source Software page. By default, once installed it is located at /usr/local/bin/tcsh Layered ProductsThe following software is available on the Layered Products CD’s and must be installed for ABAQUS to run:
Video Card & OpenGLYou should install both of these items:
To change the display resolution, edit the “/usr/var/X11/Xserver.conf” file. For example, to switch to 1280x1024 at 85Hz:
You then need to restart the X server. When logged in remotely issue the command:
and be patient, cause it’ll take about 30 seconds to take effect. Exporting DirectoriesTo export directories as NFS shares (so they can be accessed from other computers in the group), add them to the /etc/exports file. It is common practice in the M&M group to export the “/usr/local/your_computer” and “/usr/home/your_computer” directories. An example /etc/exports file is:
Mounting DrivesThe commands used to mount and un-mount drives, volumes, and NFS shares are “mount” and “umount”, respectively. If you use the “-a” option with the command, then it mounts/unmounts all of the items listed in the /etc/fstab file. Anything listed in the /etc/fstab file will be mounted at boot, however, the “mount point” (the directory where the mount will be located on the local machine) must exist and be empty prior to issuing the mount command. An example /etc/fstab file is:
Default User FilesTo edit the files that are created for a new user, change the contents of the /usr/skel directory. In the M&M group, the contents should typically be: The operating system will probably change the contents of this directory if you perform an upgrade or apply patches. Also, if the .login or .profile files are present, then the user environment may not get setup properly. A default .cshrc file need only contain the line The administrator can then change the /etc/cshrc.global file in order to change settings for all users at once. The last line of /etc/cshrc.global file sources the user’s “.cshrc.mine” file, therefore, the user should place customized preference in that file. A typical /etc/cshrc.global file is
Creating User AccountsThe easiest way to create new users is to use the “dxaccounts” utility. Things to keep in mind:
Message of the Day (motd)To change the information that is displayed when you ssh to a machine, edit the /etc/motd file on that machine. |