Desktop Install Notes

Useful Links

Ubuntu Lucid (10.04) 64-bit

Software Sources

  • Open System→Administration→Software Sources
    • Check all package sets on “Ubuntu Software” tab
    • Check “archive.canonical.com” sources on “Third Party Software” tab
  • Get correct local mirror lines from http://helios/local-ubuntu-mirror.html and insert them at the top of /etc/apt/sources.list
  • Update, upgrade and reboot
  • Enable VirtualBox repository (:!: use lucid, not karmic, when it's available!)
    echo "deb http://download.virtualbox.org/virtualbox/debian lucid non-free" | sudo tee /etc/apt/sources.list.d/virtualbox.list
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    sudo aptitude update

System configuration

Initial Package Set

  • Important stuff
    sudo aptitude install smbfs openssh-server
  • Development essentials
    sudo aptitude install vim-gnome build-essential git-core gitk subversion git-svn ipython meld
  • Restricted packages (Flash, media playback, Java)
    sudo aptitude install ubuntu-restricted-extras non-free-codecs libdvdcss2
  • Get rid of the horrible 32-bit flash
    sudo aptitude purge flashplugin-installer flashplugin-nonfree
  • Install 64-bit flash
  • Useful GUI utilities
    sudo aptitude install xbindkeys xclip quick-lounge-applet timer-applet hamster-applet
  • “Productivity”
    sudo aptitude install chromium-browser gnumeric abiword texlive-latex-base texlive-latex-recommended texlive-latex-extra
  • Install Google Picasa from http://picasa.google.com/linux/
  • Development web server
    sudo aptitude install apache2 libapache2-mod-suphp php5-curl php5-gd php5-imagick php5-json \
                          php5-ldap php5-mcrypt php5-mhash php5-pgsql php5-sqlite3 php5-mysql
  • Install VirtualBox (logout and login again for group membership to take effect)
    sudo aptitude install virtualbox-3.1
    sudo gpasswd -a alan vboxusers

Setting up graphical environment

Ubuntu Jaunty (9.04) 64-bit

Software Sources

  • Open System→Administration→Software Sources
    • Check all package sets on “Ubuntu Software” tab
    • Check “archive.canonical.com” sources on “Third Party Software” tab
  • Get correct local mirror lines from http://helios/local-ubuntu-mirror.html and insert them into /etc/apt/sources.list
  • Update, upgrade and reboot
  • Enable Medibuntu
  • Enable VirtualBox repository
    echo "deb http://download.virtualbox.org/virtualbox/debian jaunty non-free" | sudo tee /etc/apt/sources.list.d/virtualbox.list
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    sudo aptitude update

System configuration

  • Use static network configuration to avoid Samba-related pause on shutdown; in /etc/network/interfaces add:
    auto eth0
    iface eth0 inet dhcp
  • Create a Samba credentials file in ~/.samba_credentials:
    username=alan
    password=<password>
    workgroup=WORKGROUP
  • Make sure it's protected!
    chmod 600 ~/.samba_credentials
  • Create Samba mount points:
    sudo mkdir -p /mnt/helios/alan
    sudo mkdir -p /mnt/helios/public
  • Edit /etc/fstab
    • Comment out all lines starting ”/dev/scd” (prevents “do not have permission to mount” errors in nautilus)
    • Add helios samba mounts:
      //helios/alan    /mnt/helios/alan    cifs  noatime,credentials=/home/alan/.samba_credentials,iocharset=utf8  0  0
      //helios/public  /mnt/helios/public  cifs  noatime,credentials=/home/alan/.samba_credentials,iocharset=utf8,uid=alan,gid=alan  0  0
  • Setup HAL policy to remap side button to middle button on mouse
  • Setup system-wide pulseaudio
  • Enable bitmap fonts

Initial Package Set

  • Important stuff
    sudo aptitude install smbfs openssh-server
  • Development essentials
    sudo aptitude install vim-gnome build-essential git-core gitk subversion git-svn ipython meld
  • Restricted packages (Flash, media playback, Java)
    sudo aptitude install ubuntu-restricted-extras
    sudo /usr/share/doc/libdvdread4/install-css.sh
  • Get rid of the horrible 32-bit flash
    sudo aptitude purge flashplugin-installer flashplugin-nonfree
  • Install 64-bit flash
  • Useful GUI utilities
    sudo aptitude install xbindkeys xclip quick-lounge-applet timer-applet hamster-applet
  • MPD
    sudo aptitude install mpd mpc ncmpc sonata
  • “Productivity”
    sudo aptitude install gnumeric abiword texlive-latex-base texlive-latex-recommended texlive-latex-extra skype
  • Development web server
    sudo aptitude install apache2 libapache2-mod-suphp php5-curl php5-gd php5-imagick php5-json \
                          php5-ldap php5-mcrypt php5-mhash php5-pgsql php5-sqlite3 php5-mysql
  • Install Google Picasa from http://picasa.google.com/linux/
  • Install VirtualBox (logout and login again for group membership to take effect)
    sudo aptitude install virtualbox-3.0
    sudo gpasswd -a alan vboxusers

Setting up MPD

  • Edit /etc/mpd.conf:
    • Set audio_buffer_size to 4096 (network latency can cause glitching otherwise)
    • Add audio_output section:
      audio_output {
          type    "pulse"
          name    "MPD"
      }
  • Give mpd user pulseaudio access:
    sudo gpasswd -a mpd pulse
    sudo gpasswd -a mpd pulse-access
    sudo gpasswd -a mpd pulse-rt
  • Make a link to where the music is:
    sudo rm -r /var/lib/mpd/music
    sudo ln -s /mnt/helios/alan/public/Music /var/lib/mpd/music

Setting up development web server

  • Enable some modules
    sudo a2enmod rewrite
    sudo a2enmod userdir
  • Modify suphp configuration /etc/suphp/suphp.conf
    docroot=/
    check_vhost_docroot=false
    errors_to_browser=true
  • Restart Apache
    sudo /etc/init.d/apache2 restart
desktop_install_notes.txt · Last modified: 2010/05/24 14:57 by alan
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki