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 [2021/12/23 16:33] – [Mount disk] chkuo | computers:ubuntu_workstation_basic_setup [2024/09/11 12:08] (current) – chkuo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Ubuntu | + | ====== Workstation ====== |
+ | * Ubuntu workstation basic setup | ||
- | + | ===== BIOS ===== | |
- | ==== BIOS ==== | + | |
* before installing Ubuntu, power on the workstation, | * before installing Ubuntu, power on the workstation, | ||
- | ==== Ubuntu | + | ===== Ubuntu |
- | | + | |
- | * Put the Ubuntu14.04 DVD into the DVD-drive. | + | |
- | | + | |
- | * Follow the instruction to install Ubuntu. | + | |
- | * Choose " | + | |
- | | + | |
- | * 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 ===== |
* Install the OpenSSH server | * 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 into this machine (e.g., auto backup from the lab server). Use '' | * The OpenSSH client is installed by default (so you can ssh into other computers). The OpenSSH server is required for connection into this machine (e.g., auto backup from the lab server). Use '' | ||
Line 25: | Line 18: | ||
* Install Fail2ban: '' | * Install Fail2ban: '' | ||
- | + | ===== Network | |
- | + | ||
- | ==== 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 34: | Line 25: | ||
- | ==== Nvidia drivers ==== | + | ===== 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 43: | 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 54: | 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 ===== |
< | < | ||
$ sudo apt-get install icedtea-7-plugin openjdk-7-jre | $ sudo apt-get install icedtea-7-plugin openjdk-7-jre | ||
Line 79: | 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 86: | Line 82: | ||
</ | </ | ||
- | ==== Mount disk ==== | + | ===== Mount disk ===== |
+ | If necessary, create a new partition and format the new disk | ||
+ | < | ||
+ | $ sudo fdisk / | ||
+ | $ lsblk | ||
+ | $ mkfs -t ext4 / | ||
+ | </ | ||
To mount a disk manually | To mount a disk manually | ||
< | < | ||
Line 99: | Line 102: | ||
$ df -h | $ df -h | ||
</ | </ | ||
- | |||
- | # if necessary, format the new disk | ||
- | mkfs -t ext4 / | ||
To mount a disk automatically during start-up, find the UUID using '' | To mount a disk automatically during start-up, find the UUID using '' | ||
< | < | ||
- | $ blkid -s UUID | + | $ sudo blkid -s UUID |
/dev/sda1: UUID=" | /dev/sda1: UUID=" | ||
/dev/sdb1: UUID=" | /dev/sdb1: UUID=" |
computers/ubuntu_workstation_basic_setup.1640248418.txt.gz · Last modified: by chkuo