Setting up Ubuntu 14.10 on Jennings

First up, run the Software Center and load Synaptic. Use Synaptic to load these packages:

  • emacs
  • nautilus-dropbox
  • keepassx
  • gkrellm
  • system-config-lvm
  • cifs-utils
  • gnucash

Load Firefox and install Chrome. Sign in to Chrome.

Set up user accounts and groups

  1. As root, edit /etc/passwd and add the other users from Boon’s /etc/passwd
  2. Copy the corresponding lines in Boon’s /etc/shadow for the other users
  3. Edit /etc/group and add the groups for those users and also the ds411p2 group from the same file on Boon

Install NAS credentials

From Boon, copy the NAS authorization file:
/etc/ds411p2pwd

Set up NAS mounts

As root, edit /etc/fstab and add these lines, substituting your username for {me}:

//ds411p2/video /mnt/ds411p2-public-video cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/music /mnt/ds411p2-public-music cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/photo /mnt/ds411p2-public-photo cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0

//ds411p2/home /home/{me}/ds411p2 cifs user,uid={me},gid={me},rw,suid,credentials=/home/{me}/.ds411p2pwd 0 0
//ds411p2/video /home/{me}/ds411p2-public-video cifs user,uid={me},gid={me},rw,suid,credentials=/home/{me}/.ds411p2pwd 0 0

As root, create the above directories in /mnt. You can (as root) mount them now, but don’t mount the home directories yet.

Port user home directories

TAR all the home directories on Boon to a file on the NAS, then extract them to Jennings. (There are other ways to do this, of course):
On Boon:

  1. cd /home
  2. sudo tar cvzf /home/dave/ds411p2/boon-home-all.tgz --one-file-system {myuser} {anotheruser} {theotheruser}

On Jennings, download the TAR file from the NAS through the web console to /home. Write these next steps down, then close all programs except your terminal because we’ll be overwriting the home directories.

  1. cd /home
  2. sudo tar xvzf /boon-home-all.tgz
  3. sudo mount /home/{me}/ds411p2
  4. sudo mount /home/{me}/ds411p2-public-video
  5. Log out and back in again
  6. Dropbox will ask you to sign in again and the Gnome keyring will complain that your password is different. Use the Jennings password to unlock it.
  7. Make sure you can see the NAS files in the /mnt and ~/ds411p2* directories.

Install Java 8

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Install Minecraft for the kids

  1. On Boon: cd /usr/local/games; sudo tar cvf ~{me}/ds411p2/usr-local-games-minecraft.tar *
  2. On Jennings: cd /usr/local/games; sudo tar xvf ~{me}/ds411p2/usr-local-games-minecraft.tar
  3. rm ~{me}/ds411p2/usr-local-games-minecraft.tar