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/03/08 21:03] – [Nvidia drivers] yyhuang | computers:ubuntu_workstation_basic_setup [2023/03/06 16:50] (current) – [Java] hcyen | ||
---|---|---|---|
Line 5: | Line 5: | ||
* before installing Ubuntu, power on the workstation, | * before installing Ubuntu, power on the workstation, | ||
- | + | ==== Ubuntu | |
- | ==== Network | + | |
- | * The system administrator requires | + | |
- | * In Terminal, type " | + | |
- | * After the DHCP server setting has been updated, restart the computer to obtain the correct intranet IP. | + | |
- | * Note: this only has to be done once (no need for re-installation unless the Network Interface Controller has been changed) | + | |
- | + | ||
- | + | ||
- | ==== Ubuntu v14.04 | + | |
- | | + | |
- | * Put the Ubuntu14.04 DVD into the DVD-drive. | + | |
- | * Restart the computer and boot the computer through that DVD. | + | |
- | * Follow the instruction to install Ubuntu. | + | |
- | * hard drive partition: | + | |
- | | + | |
- | * SWAP >= the size of RAM | + | |
- | * the remaining part could be mounted as root ('/' | + | |
- | * the larger/slower hard drive could be mounted as '/backup' | + | |
==== SSH ==== | ==== SSH ==== | ||
Line 34: | Line 19: | ||
- | ===== Nvidia drivers | + | |
+ | ==== Network ==== | ||
+ | * The system administrator requires the HWaddr of the Network Interface Controller (NIC) to add the new machine to the DHCP server. | ||
+ | * In Terminal, type " | ||
+ | * After the DHCP server setting has been updated, restart the computer to obtain the correct intranet IP. | ||
+ | * Note: this only has to be done once (no need for re-installation unless the Network Interface Controller has been changed) | ||
+ | |||
+ | |||
+ | ==== Nvidia drivers ==== | ||
* official drivers of nvidia graphic card (gnu) is required for better performance. | * official drivers of nvidia graphic card (gnu) is required for better performance. | ||
* check nvidia graphic card information | * check nvidia graphic card information | ||
Line 58: | Line 51: | ||
* [[http:// | * [[http:// | ||
- | If this message appears " | + | |
- | descriptions." | + | ==== Java ==== |
- | < | + | |
- | $ mkdir -p / | + | |
- | $ cd / | + | |
- | $ ln -s / | + | |
- | $ ln -s / | + | |
- | </ | + | |
- | Note that " | + | |
- | ===== Java ===== | + | |
< | < | ||
$ sudo apt-get install icedtea-7-plugin openjdk-7-jre | $ sudo apt-get install icedtea-7-plugin openjdk-7-jre | ||
Line 87: | Line 72: | ||
< | < | ||
$ 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 94: | Line 83: | ||
</ | </ | ||
- | ===== Mount disk ===== | + | ==== Mount disk ==== |
+ | To mount a disk manually | ||
< | < | ||
- | # Find path to new disk | + | # Find path to disk |
$ sudo fdisk -l | $ sudo fdisk -l | ||
| | ||
Line 107: | Line 97: | ||
</ | </ | ||
- | | + | if necessary, format the new disk |
+ | < | ||
+ | $ mkfs -t ext4 / | ||
+ | </ | ||
+ | |||
+ | To mount a disk automatically during start-up, find the UUID using '' | ||
+ | < | ||
+ | $ 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.1425819834.txt.gz · Last modified: 2015/03/08 21:03 by yyhuang