Talk:Workstation Setup

From OpenCog

Old instructions for Ubuntu 12.04

  1. Install Ubuntu 12.04 64-bit (http://www.ubuntu.com/download/desktop)
  2. Edit /etc/apt/apt.conf.d/02proxy (only if workstation is at Hong Kong PolyU P507) add line:
    1. Acquire::http { Proxy "http://158.132.219.213:3142"; };
  3. Run ocpkg script
    1. wget https://raw.github.com/opencog/ocpkg/master/ocpkg
    2. chmod ugo+rx ocpkg && sudo ./ocpkg -v
  4. Install distcc server
    1. sudo apt-get install distcc
    2. edit /etc/default/distcc change these lines:
      1. STARTDISTCC="true"
      2. ALLOWEDNETS="158.132.219.0/24"
      3. LISTENER="0.0.0.0"
      4. NICE=10
      5. JOBS=4
      6. ZEROCONF="true"
    3. sudo service distcc start
  5. Setup NFS Backup
    1. sudo apt-get install nfs-kernel-server openssh-server
    2. add this line to /etc/exports:
      1. /home 158.132.219.0/24(ro,sync,no_root_squash,no_subtree_check)
    3. Restart the NFS server
      1. sudo service nfs-kernel-server restart
    4. then ask the sysadmin to add your home folder to the backup