User Tools

Site Tools


comp_setup

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).

Static IP Address

You will automatically pull an IP address from the network when you plug in, but in order to be able to ssh into your machine remotely and communicate on the cluster, you will need a static IP address set. This can be done through the network connections setting in the GUI (lower right in Mint). Click network connections, select your currently active connection, click the IPv4 Settings tab, select 'Manual' from the drop down Method: list. Fill out the information found under 'Networking' in the lab handbook.

New Hard Drive

If you installed a new hard drive on your machine, first find out where it is located. Take note of the logical name printed out by the following:

sudo lshw -C disk

This should be /dev/sdX (replace this x with the letter printed). To format the drive as one partition,

sudo mkfs -t ext4 /dev/sdX

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 -a 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.

IP address: 128.95.148.194
HP Color LaserJet MFP M477fdn

Use the recommended drivers.

comp_setup.txt · Last modified: 2019/03/29 20:18 by pdonnelly