Difference between revisions of "System Setup"

From Brain Development & Education Lab Wiki
Jump to: navigation, search
 
Line 23: Line 23:
 
  sudo mkdir /mnt/scratch
 
  sudo mkdir /mnt/scratch
 
Now we set permissions:
 
Now we set permissions:
  FINISH EDITING THIS SECTION
+
  sudo chown -R userid:bde /mnt/scratch
  
 
==Printer Setup==
 
==Printer Setup==

Revision as of 20:31, 13 June 2016

This page will eventually have a detailed description for a clean install/upgrade of the lab OS. For now, helpful tips will be posted here to make sure somewhat complicated tasks are done correctly. In all examples

userid

should be replaced with the currently active userid (your login).

Mount Drives

If you have installed a new hard drive or have upgraded or changed your OS, you may need to remount your scratch drives and give yourself permissions to access them. Before beginning, you should make sure that you have sudo privileges and membership in the bde group. To check this, in the terminal, type

groups userid

If you are not a member of the group sudo, you will need to request sudo privileges from another member of the lab. If you are not a member of bde,

sudo groupadd bde
sudo usermod -G bde

Now, to find the UUID of the drive you are mounting:

sudo blkid

The desired drive should be listed as /dev/sbd (with a number after it if you have several additional drives installed). Edit the fstab file to specify mount instructions.

sudo gedit /etc/fstab

Copy the following code, replacing the example UUID with that specific to your machine:

# Mount for scratch space
UUID=7fx5ebx6-b1x2-47ce-882b-af780899189a /mnt/scratch    ext4    defaults	  0	  0

Save and exit the file. To mount,

sudo mount -a

If you get an error telling you scratch does not exist,

sudo mkdir /mnt/scratch

Now we set permissions:

sudo chown -R userid:bde /mnt/scratch

Printer Setup

Our mighty printer, Elwha, never jams, and prints duplex and in color.

ping elwha.ilabs.uw.edu

Note the IP address listed.

sudo system-config-printer

Click add, expand the selection for network printer, and find the printer tied to the IP address you got from pinging Elwha (HP Color LaserJet MFP M477fdn). Use the recommended drivers.