User Tools

Site Tools


computers:ubuntu_workstation_basic_setup

This is an old revision of the document!


Ubuntu Workstation Basic Setup

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 insatll Ubuntu.
  • 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)
  • 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, lab server, home computer), the OpenSSH server package is required.
      • sudo apt-get install openssh-server

Nvidia drivers

  • official drivers of nvidia graphic card (gnu) is required for better performance.
  • check nvidia graphic card information
$ lspci -vnn | grep -i VGA -A 12
  • nvidia: find driver version
  • Take Quadro 600 for example, the driver version is 340.65

Remove old version

  • For example, remove version 331
$ sudo apt-get remove nvidia-331 && sudo apt-get autoremove

Install driver

$ sudo add-apt-repository ppa:xorg-edgers/ppa -y
$ sudo apt-get update
$ sudo apt-get install nvidia-340

Change nvidia settings

Java

$ sudo apt-get install icedtea-7-plugin openjdk-7-jre

Optional

$ sudo apt-get install openjdk-7-jdk

For Oracle Java

Java 7
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
Java 8
$ sudo apt-get install oracle-java8-installer

Check version

$ java -version

Switch between Oracle Java 8 and Java 7

$ sudo update-java-alternatives -s java-7-oracle
$ sudo update-java-alternatives -s java-8-oracle

Mount disk

Find path to new disk

$ sudo fdisk -l
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   *      501758   976771071   488134657    5  Extended
/dev/sdb5          501760   976771071   488134656   8e  Linux LVM
$ sudo mkdir -p /backup
$ sudo mount /dev/sdb5 /backup/
$ df -h
computers/ubuntu_workstation_basic_setup.1421059458.txt.gz · Last modified: 2015/01/12 18:44 by rubisco0319