Common Post-Install

From WilliamsNet Wiki
Revision as of 12:53, 25 November 2021 by DrEdWilliams (talk | contribs) (→‎Configure shared filesystem access)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configure shared filesystem access

There are three shared filesystems available depending on the needs of the system:

  • /files - the main administrative and media file share
  • /backup - backup location for all systems & data
  • /work - technical working space

To access these fulesystems, add the appropriate lines to the bottom of /etc/fstab

storage1:/files	/files nfs4 soft 0 0
storage1:/backup/systems/<hostname>/current	/backup	nfs4	soft 0 0
pro6:/work    /work nfs4 soft 0 0

make the mount points:

mkdir /files
mkdir /backup
mkdir /work

mount the filesystems:

mount /files
mount /backup
mount /work

Final Configuration

The only remaining task is to load the ssh credentials for root and any user accounts. This is done by running the following command from each user account (assuming aslan is the reference source):

scp -r aslan:.ssh $HOME

This can also be pushed from aslan to the new system for each account:

scp -r ~/.ssh <new_host>:

Passwords will be required for this action, but (if the copy is successful) no further passwords will be needed by ssh.