User Tools

Site Tools


computers:ubuntu_workstation_basic_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:ubuntu_workstation_basic_setup [2015/03/09 12:29] chkuocomputers:ubuntu_workstation_basic_setup [2024/09/11 12:08] (current) chkuo
Line 1: Line 1:
-===== Ubuntu Workstation Basic Setup =====+=====Workstation =====
 +  * Ubuntu workstation basic setup
  
- +===== BIOS =====
-==== BIOS ====+
   * before installing Ubuntu, power on the workstation, enter the BIOS setting, and update the boot setting. CD/DVD-ROM should be listed as the 1st choice, following by the hard drive for Ubuntu installation   * before installing Ubuntu, power on the workstation, enter the BIOS setting, and update the boot setting. CD/DVD-ROM should be listed as the 1st choice, following by the hard drive for Ubuntu installation
  
-==== Ubuntu v14.04 (2015/01/07) ==== +===== Ubuntu ===== 
-   Basic installation +   Use the latest long-term support (LTS) version 
-     * Put the Ubuntu14.04 DVD into the DVD-drive. +   Install the system on the smaller/faster SSD; use the larger/slower HDD for '/backup' and/or '/scratch'
-     Restart the computer and boot the computer through that DVD. +
-     * Follow the instruction to install Ubuntu. +
-     * hard drive partition: +
-       use the SSD as the primary hard drive +
-         * SWAP >= the size of RAM +
-         * the remaining part could be mounted as root ('/'and used for OS installation +
-       * 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 ''sudo apt-get install openssh-server'' to install.     * 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 ''sudo apt-get install openssh-server'' to install.
Line 25: Line 18:
      * Install Fail2ban: ''sudo apt-get install fail2ban''      * Install Fail2ban: ''sudo apt-get 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 "ifconfig" to get the HWaddr of eth0 (format = XX:XX:XX:XX:XX:XX). Write down this string and send it to the administrator.     * In Terminal, type "ifconfig" to get the HWaddr of eth0 (format = XX:XX:XX:XX:XX:XX). Write down this string and send it to the administrator.
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
 <code> <code>
Line 54: Line 45:
 $ sudo apt-get install nvidia-340 $ sudo apt-get install nvidia-340
 </code> </code>
-Change nvidia settings+ 
 +==== Change nvidia settings ====
   * [[http://manpages.ubuntu.com/manpages/lucid/en/man1/nvidia-xconfig.1.html|nvidia-xconfig]]   * [[http://manpages.ubuntu.com/manpages/lucid/en/man1/nvidia-xconfig.1.html|nvidia-xconfig]]
   * [[http://manpages.ubuntu.com/manpages/precise/en/man1/alt-nvidia-current-settings.1.html|nvidia-settings]]   * [[http://manpages.ubuntu.com/manpages/precise/en/man1/alt-nvidia-current-settings.1.html|nvidia-settings]]
  
-If this message appears "ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at either /usr/share/nvidia/nvidia-application-profiles-337.25-key-documentation or/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot be preopulated or validated, and will not be listed in the help text. Please see the README for possible values and  +
-descriptions." Do the following: +
-<code> +
-$ mkdir -p /etc/nvidia +
-$ cd /etc/nvidia +
-$ ln -s /etc/alternatives/x86_64-linux-gnu_nvidia_app_profile_keys nvidia-application-profiles-340.76-key-documentation +
-$ ln -s /etc/alternatives/x86_64-linux-gnu_nvidia_app_profile nvidia-application-profiles-340.76-rc +
-</code> +
-Note that "-340.76..." may differ, depending on the version of the driver.+
 ===== Java ===== ===== Java =====
 <code> <code>
Line 87: Line 71:
 <code> <code>
 $ java -version $ java -version
 +</code>
 +Check installed java
 +<code>
 +$ update-java-alternatives -l
 </code> </code>
 Switch between Oracle Java 8 and Java 7 Switch between Oracle Java 8 and Java 7
Line 95: Line 83:
  
 ===== Mount disk ===== ===== Mount disk =====
 +If necessary, create a new partition and format the new disk
 +<code>
 +$ sudo fdisk /dev/device_name
 +$ lsblk
 +$ mkfs -t ext4 /dev/device_name
 +</code>
 +
 To mount a disk manually To mount a disk manually
 <code> <code>
Line 110: Line 105:
 To mount a disk automatically during start-up, find the UUID using ''blkid'' and add the disk to ''/etc/fstab'' To mount a disk automatically during start-up, find the UUID using ''blkid'' and add the disk to ''/etc/fstab''
 <code> <code>
-$ blkid -s UUID+sudo blkid -s UUID
 /dev/sda1: UUID="2cf0b317-a030-4cb4-a78a-4f4893ac16d1"  /dev/sda1: UUID="2cf0b317-a030-4cb4-a78a-4f4893ac16d1" 
 /dev/sdb1: UUID="f5d3494d-2d43-485f-97e8-2f9b1b967d90"  /dev/sdb1: UUID="f5d3494d-2d43-485f-97e8-2f9b1b967d90" 
computers/ubuntu_workstation_basic_setup.1425875358.txt.gz · Last modified: by chkuo