UBC Physics & Astronomy
javelin.phas.ubc.ca
142.103.243.222

Purchase Date:

Hardware Specs Linux System Software Installed
  • Motherboard: Intel DH55TC
  • BIOS Version: TCIBX10H.86A.0038.2010.0624.1337
  • Processor: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz
  • Memory: DDR3 1333MHz 8GB (2G x4)
  • Hard Disk: 500GB SATA Blue HDD
  • Video: nVIDIA GeForce 210
  • Network: Intel 82579V Gigabit Network Connection
  • MAC Address: 70:71:bc:1f:ff:b6
  • Optical Drive: none
  • Network Printer:
    Xerox ColorQube 8870 (lp)
    Xerox ColorQube 8870 (lp3)
    Canon iRC 5185 (CanonColourCopier)
  • Ubuntu 13.04
  • installed-software
  • Above installed software list is derived from Hennings 205 Lab by typing the following command:
    dpkg --get-selections > installed-software

  • To install the software on the new computer, type the following command:
    dpkg --set-selections < installed-software
    dselect

 

2013-06-14

Creating Ubuntu 13.04 64bit image

  1. Install Ubuntu 13.04 64bit and Install all the updates and follow instructions from previous document.
    format disk with ext3 partition
    Following instructions in the following link: 
    To Do List after Installing Ubuntu 13.04
  2. Improve Unity Performance, Remove Online Search Lenses:
    sudo apt-get autoremove unity-lens-shopping
  3. Disable overlay scrollbars
    gsettings set com.canonical.desktop.interface scrollbar-mode normal
    
  4. Show username on panel
    gsettings set com.canonical.indicator.session show-real-name-on-panel true
    
  5. Remove dots from login screen
    sudo xhost +SI:localuser:lightdm
    sudo su lightdm -s /bin/bash
    gsettings set com.canonical.unity-greeter draw-grid false
    
  6. Configure CUPS
    vi /etc/cups/client.conf
    ServerName print.phas.ubc.ca/version=1.1
    
  7. Install the following additional packages:

2012-08-31
Add ACL control in the following file

/etc/hosts.allow

# allow ssh from all our servers except hyper
sshd: 142.103.236. EXCEPT 142.103.236.100
# spyder (Ron's workstn)
sshd: 142.103.235.1
# ada (Mary Ann's workstn)
sshd: 142.103.237.132
# glitch (Hongyun's workstn)
sshd: 142.103.237.135
# wraith (Gerry's workstn)
sshd: 142.103.239.1
# allow any access from alpha and kratos
ALL: 142.103.236.32
ALL: 142.103.236.15
# bh0 (Matt Choptuik's workstn) put in for cord only and only temporary
until term starts
#sshd: 142.103.234.164
ALL: localhost
ALL: ALL: DENY
Disable screen lock
sudo chmod 700 /usr/bin/gnome-screensaver

2012-08-24
Install Seamonkey

- Open Ubuntu Software Center
- Go to Edit -> Software Sources
- Click on tab "Other Software"
- Click on Add...
- Enter ppa:joe-nationnet/seamonkey-dev
- Open Terminal
- Type: sudo apt-get update
- Re-open Ubuntu Software Center
- Search for Seamonkey, and then install

2012-08-23
Install nVidia GeForce 210 driver

on login screen press Ctrl-Alt-F1 login through console, then

wget http://us.download.nvidia.com/XFree86/Linux-x86/304.37/NVIDIA-Linux-x86-304.37.run
sudo service lightdm stop
sudo sh NVIDIA-Linux-x86-304.37.run
reboot

2012-07-23
Disable USB mount

sudo chmod 700 /media

2012-05-25
Install Ubuntu 12.04

  1. Install Ubuntu 12.04 and all updates on primary ext3 partition
  2. Reboot the computer, open Terminal, make the following changes:
    Change host name
    sudo vi /etc/hostname
    Stop screensaver from running on startup and disable screen lock
    sudo rm /etc/xdg/autostart/gnome-screensaver.desktop
    sudo chmod 700 /usr/bin/gnome-screensaver
    Disable Guest account
    sudo cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.orig
    sudo vi /etc/lightdm/lightdm.conf

    Modify the file as following:

    [SeatDefaults]
    user-session=ubuntu-2d
    greeter-session=unity-greeter
    allow-guest=false
    greeter-show-manual-login=true
    greeter-hide-users=true
    greeter-show-remote-login=false 	###for Ubuntu 13.04 only
    
    Enable ssh
    sudo apt-get install openssh-server
    Configure CUPS
    sudo vi /etc/cups/client.conf
    Make sure the following line is in the file:
    ServerName print.phas.ubc.ca
    Enable root login
    sudo passwd root
    Modify /etc/fstab
    Remove UUID line and replace it with /dev/sda#
    Add the following lines
    #
    filesvr.phas.ubc.ca:/home           	/home             nfs     rw,rsize=32768,wsize=32768,hard,intr,bg      0 0
    filesvr.phas.ubc.ca:/home2	  	/home2            nfs     rw,rsize=32768,wsize=32768,hard,intr,bg      0 0
    filesvr.phas.ubc.ca:/ahome	  	/ahome            nfs     rw,rsize=32768,wsize=32768,hard,intr,bg      0 0
    
    # phys210 mount
    142.103.234.164:/home/phys210   /phys210        nfs     rw,rsize=32768,wsize=32768,hard,intr,bg 0 0
    
    Reboot the computer and login as root
    Move local home directory
    mv /home /lhome
    mkdir /home
    mkdir /home2
    mkdir /ahome
    vi /etc/passwd
    

    Change home in the passwd file to lhome

    Install nfs-common
    sudo apt-get install nfs-common
    Mount network drives
    mount -a
    Configure LDAP
    sudo apt-get install ldap-auth-client nscd
      host: ldap.phas.ubc.ca
      base: dc=phas,dc=ubc,dc=ca
      uri: ldap://ldap.phas.ubc.ca/
      ldap_version: 3
    sudo auth-client-config -t nss -p lac_ldap
    pam-auth-update
    
    mkdir /etc/ldap/cacerts
    scp root@ldap:/etc/ldap/certs/cacert.asc /etc/ldap/cacerts/cacert.asc
    vi /etc/ldap.conf
       make sure turn on ssl start_tls
    vi /etc/ldap/ldap.conf
       BASE dc=phas,dc=ubc,dc=ca
       URI  ldap://ldap.phas.ubc.ca
       ldap_version 3
       TLS_CACERT /etc/ldap/cacerts/cacert.asc
       TLS_REQCERT allow
       bind_timelimit 10
       bind_policy soft
    
    /etc/init.d/nscd restart
    Test ldap working or not
       getent passwd
       id username
    
    Install grub-legacy
    apt-get install grub
    grub-install /dev/sda
    vi /boot/grub/menu.lst
       timeout 0
       title GNU/Linux Ubuntu 12.04 LTS
       root (hd0,0)
       kernel /boot/vmlinuz-3.2.0-24-generic-pae root=/dev/sda1 ro quiet splash
       initrd /boot/initrd.img-3.2.0-24-generic-pae
       
       quiet
       savedefault
       boot
    
    Customize default launcher for user first time login
    To make appear applications pinned in launcher for newly created users you can change default settings schema by setting up a new override:
    Create file /usr/share/glib-2.0/schemas/10_local-unity-launcher.gschema.override and insert the following code
    (.desktop files are stored under /usr/share/applications/):
    
    [com.canonical.Unity.Launcher]
    favorites=['nautilus-home.desktop', 'firefox.desktop', 'google-chrome.desktop', 'libreoffice-writer.desktop',
    'libreoffice-calc.desktop', 'libreoffice-impress.desktop', 'gnome-terminal.desktop', 'acroread.desktop']
    
    You have to insert all pinned applications.
    See /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.xml for default values by searching settings schema and key:
        <schema path="/desktop/unity/launcher/" id="com.canonical.Unity.Launcher" gettext-domain="unity">
        <key type="as" name="favorites">
          <default>DEFAULT_VALUES</default>
    
    Then recompile schemas file /usr/share/glib-2.0/schemas/gschemas.compiled (which is used by gsettings):
    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
    
    Disable root login
    sudo passwd -l root



For more assistance contact Ron Parachoniak, rap@phas.ubc.ca
 
webmaster@phas.ubc.ca [Dept. Home Page] Last updated: