Fresh build 8.04 Hardy - Build log

June 8, 2009

From scratch, I’m going to log everything I do here for a fresh 8.04 Hardy build. This follows from a couple of earlier posts I did, and I’m doing this during about my 3rd rebuild this week (so I should be getting to the point where I’m getting it right!)

This is for my reference, but if someone gets some useful info out of it, then it’ll be worth sticking up here!

Couple of things:
- I assume that you’re in as su, so I won’t put “sudo” in front of every command
- A lot of the specifics of this stuff are in other parts of my blog, often with links to originating pages/forum posts. So you may need to do a little searching.
- This is specific to me and my machine. Some of this stuff may be no use to you.
- Reboot as required - there will be a couple of things you’ll need to reboot for.

1. Install from CD - I’ll assume you know how to do this!
2. System > Administration > Software Sources. Change “Download From” to iiNet (my ISP)
3. Click on the Restricted Drivers pop-up that comes up near the clock. Enable the NVIDIA driver. Restart when done.
4. Open the Volume Control, and select the Switches tab. Uncheck “Audigy Analog/Digital Output Jack”
5. apt-get update then apt-get upgrade
6. Open System > Administration > Printing. Add new printer, follow the prompts (this bit’s easy)
7. Install MS Core fonts.
apt-get install msttcorefonts
and then
fc-cache -fv
8. Add WINS support:
edit /etc/nsswitch.conf
change the line that says
hosts: files dns (and maybe some other stuff)
to have wins in the line as well.
Then apt-get install winbind

9. Change to static IP.
System> Administration > Network.
Change to Static and setup.
/etc/init.d/networking restart
10. Setup my file share, which happens to be on a Windoze box (at the moment). From here: http://industriousone.com/mounting-windows-shares-ubuntu
First off, make sure you can browse to the Windows share and connect to it (Places, Connect to Server)
And I’m putting this into /media, so it shows in Places.
apt-get install smbfs

mkdir /media/fileshare

Add to /etc/fstab
//server/share /media/fileshare cifs exec,credentials=/etc/cifspw 0 0

create a file /etc/cifspw, and enter the following (and save it)
username=bigtrev
password=YouGottaBeKidding

Then run:
chmod 600 /etc/cifspw

and then
mount -a
11. Install SBackup
apt-get install sbackup
Open it - Simple Backup Config in System>Administration
I set it to backup to my local file server.
Good idea to kick off a backup now, and before you do some of the other steps coming up.
12. Setup Real Player
Download RealPlayer from http://www.real.com/linux. You want the .bin file, save it to the Desktop
Open a terminal, cd to the Desktop
chmod 770 RealPlayer11GOLD.bin
./RealPlayer11GOLD.bin

The installer will run, just leave everything on defaults
Then:
cd /usr/lib/firefox-addons/plugins
ln -s /opt/real/RealPlayer/mozilla/nphelix.xpt nphelix.xpt
ln -s /opt/real/RealPlayer/mozilla/nphelix.so nphelix.so
mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.

In Firefox address bar, type about:config (you’ll need to agree to the scary warning)
Type: plugin.expose_full_path in the “Filter” (search) box
Double-click the entry for plugin.expose_full_path to set to True
Open up about:plugins in the address bar
Scroll to Helix DNA Plugin: RealPlayer G2 Plug-In Compatible, and the path should show as /opt/real/RealPlayer/mozilla/nphelix.so
And RealPlayer should work!

13. Medibuntu
Setup the medibuntu repos (for media and stuff)
Open up /etc/apt/sources.list in a text editor
add this line to the file:
deb http://packages.medibuntu.org/ hardy free non-free #Medibuntu - Ubuntu 8.04 LTS “hardy heron”
Then run:
apt-get update && apt-get install medibuntu-keyring && apt-get update
and for the Windows codecs and stuff
apt-get install w32codecs

14. Installing Flash
Now, given the problems I’ve been having with Flash - TAKE A BACKUP NOW! Before you do anything.

I’ve had heaps of hassles with Flash 10, so I’m going to try Flash 9. It was a bugger to find, but I done found it! http://kb2.adobe.com/cps/406/kb406791.html
Direct link here: http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz
Save the file to your desktop.
Right-click, and Extract Here

cd to your desktop and cd into the extracted folder, and run
./flashplayer-installer
Installation path for my browser was /usr/lib/firefox-3.0.10, you’ll need to locate yours and type it in.

I’ve tried it out on Youtube - it seems to still run really crap, but better than 10 did.

15. Install OpenSSH
apt-get install openssh-server


That’s about it for the moment. If I do anything else major, I’ll add it to this.

NVIDIA settings - Ubuntu

I’ve been tinkering with compiz to do some fancy desktop effects and stuff. Should have left it the hell alone, because now my fonts onscreen are looking all blurry and crappy.

Anyhoo, I’m having a go at seeing if it’s something to do with the video card driver. I’m running an NVIDIA card, and to get the settings for it, run:
apt-get install nvidia-settings

It should install in System > Administration > NVIDIA X Server Settings.

(Update) - Nope, still looks ‘orrible. Back to the drawing board, or maybe just a rebuild.