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:28] chkuocomputers:ubuntu_workstation_basic_setup [2023/03/06 16:50] (current) – [Java] hcyen
Line 5: Line 5:
   * 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 ==== 
-==== Network ==== +   Use the latest long-term support (LTSversion 
-    The system administrator requires the HWaddr of the Network Interface Controller (NIC) to add the new machine to the DHCP server. +   Install the system on the smaller/faster SSD; use the larger/slower HDD for '/backup' and/or '/scratch'
-    * 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. +
-    * 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 (2015/01/07==== +
-   Basic installation +
-     * 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: +
-       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 ====
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 "ifconfig" to get the HWaddr of eth0 (format = XX:XX:XX:XX:XX:XX). Write down this string and send it to the administrator. 
 +    * 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://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: +==== Java ====
-<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 =====+
 <code> <code>
 $ sudo apt-get install icedtea-7-plugin openjdk-7-jre $ sudo apt-get install icedtea-7-plugin openjdk-7-jre
Line 87: Line 72:
 <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 94: Line 83:
 </code>  </code> 
  
-===== Mount disk =====+==== Mount disk ==== 
 +To mount a disk manually
 <code> <code>
-# Find path to new disk+# Find path to disk
 $ sudo fdisk -l $ sudo fdisk -l
    Device Boot      Start         End      Blocks   Id  System    Device Boot      Start         End      Blocks   Id  System
Line 107: Line 97:
 </code> </code>
  
-To mount the disk automatically during start-up, find the UUID using ''blkid'' and add the disk to ''/etc/fstab''+if necessary, format the new disk 
 +<code> 
 +$ mkfs -t ext4 /dev/device_name 
 +</code> 
 + 
 +To mount disk automatically during start-up, find the UUID using ''blkid'' and add the disk to ''/etc/fstab''
 <code> <code>
 $ blkid -s UUID $ blkid -s UUID
computers/ubuntu_workstation_basic_setup.1425875294.txt.gz · Last modified: 2015/03/09 12:28 by chkuo