User:Malcom:zd8000

From SubfireWiki

Jump to: navigation, search

- 12/29/2005

HP Pavilion zd8000 series

I will be putting Ubuntu on it soon; dual boot with Windows XP Pro. I intend to document it all.

  • Finished off the Windows install and registered with HP and MS.
  • Placed a Breezy Badger - Ubuntu 5.10 - install CD into the CDROM
  • Rebooted the machine and the Ubuntu install screen came up.
  • Choose the default install.
  • Selected appropriate lang and what not.
  • Ubuntu install auto-detected the CDROM (DVD) and the network hardware.
  • DHCP initialized successfully.
  • Hostname: malcom-laptop
  • Partitioning:
    • Selected: 'Resize IDE1 master, partition #1 (hda1) and use freed space
    • New partition size: 20.0 GB
    • Answered yes to the "write" the changes and just used the default
  • Ubuntu detected Windows XP Professional; asked if I wanted to install GRUB into the boot record; answered yes.

Contents

XORG

X didn't start. (fatal server error: caught singal 4)

I followed these instructions to get it working.

Post Install

Next I followed the instructions detailed in Ubuntu's wiki: UserDocumentation - for all the goodies I needed.

Note: I haven't tried Automatix, but it looks pretty good and could get around a lot of this manual stuff.

Just to document it ... here's what I had to do:

Apt

Media

sudo apt-get update
sudo apt-get install gstreamer0.8-mad
sudo apt-get install  gstreamer0.8-plugins  gstreamer0.8-plugins-multiverse  gstreamer0.8-ffmpeg
wget ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/w32codecs_20050412-0.0_i386.deb
sudo dpkg -i w32codecs_20050412-0.0_i386.deb
sudo apt-get install flashplayer-mozilla
sudo apt-get install totem-xine

Ripping

gnome-audio-profiles-properties
  • name: mp3
  • desc: MP3
  • pipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc bitrate=160
  • extension: mp3

DVD Viewing

sudo apt-get install libdvdread3
sudo /usr/share/doc/libdvdread3/examples/install-css.sh

I also had to edit /etc/hdparm.conf; by adding this to the end:

/dev/hdb {
        dma = on
}
  • Note: I had to reboot to get this to work.

DVDAuthoring

sudo apt-get install dvdauthor
sudo apt-get install toolame

Java

For a development machine (in general too), don't even bother with the Blackdown stuff. It's a good idea, but it's just not ready for prime time.

sudo apt-get install fakeroot java-package java-common
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
sudo dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb
sudo update-alternatives --config java

Take a look at my Ubuntu Java for more details

Eclipse

Here's my page on Eclipse.

Gaim

gaim should be installed by default, but I like to add these:

sudo apt-get install gaim-guifications gaim-themes

CMS

sudo apt-get install subversion
sudo apt-get install cvs

Open Office

Can't seem to get the thesaurus working at all. Not sure what's up.

sudo apt-get install dict-moby-thesaurus

Nice things

sudo apt-get install gnome-themes gnome-themes-extras
sudo apt-get install gnome-art
sudo apt-get install gnome-backgrounds
sudo apt-get install numlockx
sudo apt-get install seahorse
sudo apt-get install etherape

iptables

Here's some basic iptables commands:

sudo iptables -P INPUT DROP
sudo iptables -P FORWARD DROP
sudo iptables -P OUTPUT ACCEPT

sudo iptables -A INPUT -j ACCEPT -i lo -s 127.0.0.1
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -p tcp -i eth0 --dport 631 -j ACCEPT

Then issue this to make sure things look good:

sudo iptables -L

Note: iptables is not a firewall. You can use iptables-save and then iptables-restore to have your changes persist when you do a reboot.

For real firewall software check out firestarter or gnome-lokkit.

Firestarter

After looking at a couple of options for a 'firewall'; I've decided to try out Firestarter. Looks rather groovey and all.

sudo apt-get install firestarter

VPN

Install:

sudo apt-get install openvpn

Then do something like this:

sudo openvpn --config some-file.ovpn

Browsers

Firefox Icon

So Mozilla is be rather stupid about their 'branding' ... so the firefox icons don't come with the Ubuntu package. Peform these http://ubuntuguide.org/#restoreoriginaliconsfirefox instructions] to get the icons.


I think it's always a good idea to have more than one browser installed.

  • Mozilla:
sudo apt-get install mozilla-browser mozilla-psm
  • Galeon:
sudo apt-get install galeon

Mouse

For the many button mice out there, you can install imwheel:

sudo apt-get install imwheel

I'm not too happy with imwheel, sure it's nice that you have so many options, but it's a little much. All I really want to do is configure my logitech 5 button (left, right, wheel [which is 2 buttons] and then another button). Basically I want to be able to map the 5th button to say ... ctrl-tab and make theat global for all applications. Seems strange that there's nothing out there to do just that. Maybe I'm just not seeing it.

Media Take 2

Also, if you want to actually use your DVD player to play encrypted discs, you'll probably need to configure it to have a region. This is done with the regionset package/program.

Personally I prefer to use one of these two repositories. libdvdcss is in there. The second one has more stuff, like skype and java. Just put these lines at the end of your /etc/apt/sources.list

# ciphperfunk for w32codecs and dvdcss
#deb ftp://cipherfunk.org/pub/packages/ubuntu/ breezy main

## http 100mbit/s mirror provided thanks to OVH http://ovh.com
deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free

Then

sudo apt-get install w32codecs libdvdcss2

You'll defintely want to use

sudo apt-get install totem-xine

instead of mplayer.

  • When you install totem-xine it removes: totem-gstreamer [not sure if that's good or not, we'll see what works better]. This is fine (and desired). In prior releases, it would remove the totem package and ubuntu-desktop, which was not so great. In hoary, they fixed this so you can install totem-xine with out losing the ubuntu-desktop metapackage (which is useful for upgrades). The gstreamer backend is no good for videos (yet). Even with the gstreamer0.8-pitfdll package, which can use the w32codecs to support all media types like totem-xine, simply gstreamer has too much overhead and videos will probably be choppy.

--MichaelHead 20:43, 29 Dec 2005 (EST)

Random Stuff

Personal tools