Difference between revisions of "System Setup"
Dstrodtman (Talk | contribs) |
Dstrodtman (Talk | contribs) (→Mount Drives) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
sudo lshw -C disk | sudo lshw -C disk | ||
This should be /dev/sd'''x''' (replace this x with the letter printed). To format the drive as one partition, | This should be /dev/sd'''x''' (replace this x with the letter printed). To format the drive as one partition, | ||
− | sudo mkfs -t ext4 /dev/ | + | sudo mkfs -t ext4 /dev/sd'''x''' |
==Mount Drives== | ==Mount Drives== | ||
Line 17: | Line 17: | ||
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, | 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 groupadd bde | ||
− | sudo usermod -G bde | + | sudo usermod -G -a bde |
Now, to find the UUID of the drive you are mounting: | Now, to find the UUID of the drive you are mounting: | ||
sudo blkid | sudo blkid |
Latest revision as of 17:24, 27 July 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).
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.
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.