computers:ubuntu_workstation_basic_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:ubuntu_workstation_basic_setup [2015/01/12 18:46] – [Mount disk] rubisco0319 | computers:ubuntu_workstation_basic_setup [2024/09/11 12:08] (current) – chkuo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Ubuntu | + | ====== Workstation ====== |
| + | * Ubuntu workstation basic setup | ||
| - | ==== v14.04 (2015/01/ | + | ===== BIOS ===== |
| - | | + | * before installing Ubuntu, power on the workstation, |
| - | | + | |
| - | | + | ===== Ubuntu ===== |
| - | | + | |
| - | * Network | + | |
| + | |||
| + | ===== SSH ===== | ||
| + | * Install the OpenSSH server | ||
| + | * The OpenSSH client is installed by default (so you can ssh into other computers). The OpenSSH server is required for connection | ||
| + | * SSH security | ||
| + | | ||
| + | | ||
| + | * Minimally, update | ||
| + | | ||
| + | |||
| + | ===== Network | ||
| * The system administrator requires the HWaddr of the Network Interface Controller (NIC) to add the new machine to the DHCP server. | * The system administrator requires the HWaddr of the Network Interface Controller (NIC) to add the new machine to the DHCP server. | ||
| * In Terminal, type " | * In Terminal, type " | ||
| Line 12: | Line 24: | ||
| * Note: this only has to be done once (no need for re-installation unless the Network Interface Controller has been changed) | * Note: this only has to be done once (no need for re-installation unless the Network Interface Controller has been changed) | ||
| - | * Additional steps | ||
| - | * Install the OpenSSH server | ||
| - | * The OpenSSH client is installed by default (so you can ssh into other computers). If you want connect to this new machine from other machines (e.g., other workstations, | ||
| - | * sudo apt-get install openssh-server | ||
| ===== Nvidia drivers ===== | ===== Nvidia drivers ===== | ||
| Line 26: | Line 34: | ||
| * Take Quadro 600 for example, the driver version is 340.65 | * Take Quadro 600 for example, the driver version is 340.65 | ||
| - | Remove old version | + | ==== Remove old version |
| * For example, remove version 331 | * For example, remove version 331 | ||
| < | < | ||
| Line 37: | Line 45: | ||
| $ sudo apt-get install nvidia-340 | $ sudo apt-get install nvidia-340 | ||
| </ | </ | ||
| - | Change nvidia settings | + | |
| + | ==== Change nvidia settings | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
| ===== Java ===== | ===== Java ===== | ||
| Line 61: | Line 71: | ||
| < | < | ||
| $ java -version | $ java -version | ||
| + | </ | ||
| + | Check installed java | ||
| + | < | ||
| + | $ update-java-alternatives -l | ||
| </ | </ | ||
| Switch between Oracle Java 8 and Java 7 | Switch between Oracle Java 8 and Java 7 | ||
| Line 69: | Line 83: | ||
| ===== Mount disk ===== | ===== Mount disk ===== | ||
| + | If necessary, create a new partition and format the new disk | ||
| < | < | ||
| - | # Find path to new disk | + | $ sudo fdisk / |
| + | $ lsblk | ||
| + | $ mkfs -t ext4 / | ||
| + | </ | ||
| + | |||
| + | To mount a disk manually | ||
| + | < | ||
| + | # Find path to disk | ||
| $ sudo fdisk -l | $ sudo fdisk -l | ||
| | | ||
| Line 81: | Line 103: | ||
| </ | </ | ||
| - | | + | To mount a disk automatically during start-up, find the UUID using '' |
| + | < | ||
| + | $ sudo blkid -s UUID | ||
| + | /dev/sda1: UUID=" | ||
| + | /dev/sdb1: UUID=" | ||
| + | /dev/sdb2: UUID=" | ||
| + | $ cat / | ||
| + | # /etc/fstab: static file system information. | ||
| + | # | ||
| + | # Use ' | ||
| + | # device; this may be used with UUID= as a more robust way to name devices | ||
| + | # that works even if disks are added and removed. See fstab(5). | ||
| + | # | ||
| + | # <file system> <mount point> | ||
| + | # / was on /dev/sdb2 during installation | ||
| + | UUID=ce1496b4-bb74-4861-b2bb-ef8e6405a905 / | ||
| + | # /backup was on /dev/sda1 during installation | ||
| + | UUID=2cf0b317-a030-4cb4-a78a-4f4893ac16d1 / | ||
| + | # swap was on /dev/sdb1 during installation | ||
| + | UUID=f5d3494d-2d43-485f-97e8-2f9b1b967d90 none swap sw 0 0 | ||
| + | </ | ||
| | | ||
computers/ubuntu_workstation_basic_setup.1421059588.txt.gz · Last modified: by rubisco0319