Lovelace

From Earlham CS Department
Revision as of 08:23, 1 August 2018 by Craigje (talk | contribs) (Created page with "Named for the first programmer, [https://en.wikipedia.org/wiki/Ada_Lovelace Ada Lovelace]. The computers in the Lovelace computer lab on the second floor of CST mount their s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Named for the first programmer, Ada Lovelace.

The computers in the Lovelace computer lab on the second floor of CST mount their software from the /mnt/lovelace/software directory on the tools server. This page explains how to set those up, and should be useful as a recipe if future admins want to do this again.

Exporting the software directory

The tools server contains the actual software directory. We export these directories via NFS. This allows user access to them on a large group of computers without requiring us to install, configure, and maintain them on each computer.

To access the tools software from Lovelace, edit /etc/exports on tools as follows:

/mnt/lovelace/software 159.28.22.0/24(rw,no_root_squash) 192.168.0.0/16(rw,no_root_squash) 10.10.10.0/24(rw,no_root_squash)

This tells NFS to export the Lovelace software directory to each listed subnet, granting read-write to each and allowing users on each to use root as they normally would.

Then run exportfs -ra.

Mounting the software directory on Lovelace

Edit /etc/fstab as follows:

tools.cs.earlham.edu:/mnt/lovelace/software /mnt/lovelace/software nfs rw,rsize=8192,wsize=8192,hard,intr 0 0

This mounts the directory at the corresponding mount point via NFS.

Now run mount -a.