ubuntu changing dash to bash

$ sudo update-alternatives --install /bin/sh sh /bin/bash 100
update-alternatives: using /bin/bash to provide /bin/sh (sh) in auto mode.

$ sudo update-alternatives --install /bin/sh sh /bin/dash 200
update-alternatives: using /bin/dash to provide /bin/sh (sh) in auto mode.

$ sudo update-alternatives --config sh
There are 2 choices for the alternative sh (providing /bin/sh).

Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/dash 2 auto mode
1 /bin/bash 1 manual mode
2 /bin/dash 2 manual mode

Press enter to keep the current choice[*], or type selection number: 1
update-alternatives: using /bin/bash to provide /bin/sh (sh) in manual mode.

DB2 V9.5 Fedora 16 x86_64

Fedora 16
# yum install libaio* libaio*.i686 compat* compat*.i686 nfs-utils

Ubuntu 12.04
# sudo apt-get install ia32-libs libaio-dev libaio1 nfs-common

# groupadd -g 2000 db2iadm1
# groupadd -g 2001 db2fadm1
# groupadd -g 2002 dasadm1

# useradd -u 2001 -g db2iadm1 -m -d /db2home/db2inst1 db2inst1
# useradd -u 2002 -g db2fadm1 -m -d /db2home/db2fenc1 db2fenc1
# useradd -u 2003 -g dasadm1 -m -d /home/dasusr1 dasusr1

# passwd db2inst1
# passwd db2fenc1
# passwd dasusr1

Ubuntu 11.10 try out

So I’m bored, I’ve been playing with openSUSE 12.1 on my macbook pro and a desktop and it keeps feeling slow and just want a change. I haven’t ran Ubuntu in a couple years because I didn’t care for the direction they were going. Anywho, Fedora 16 is a pain to install on a macbook and I’m rambling on because it is 3am so the install should be done and so am I…..

Ubuntu and Tor updated.

This should work on 10.04 and 10.11

Add the repository and update.


gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade

Install tor and privoxy.


sudo apt-get install tor privoxy

If you want a gui install vidalia


sudo apt-get install vidalia
sudo update-rc.d -f tor remove
sudo update-rc.d -f privoxy remove

Edit privoxy


sudo vi /etc/privoxy/config

Add this line:

forward-socks4a / localhost:9050 .

To be truly anonymous, you may want to turn off local logging for all your GET/POST/CONNECT request in privoxy’s config file.

# debug 1 # show each GET/POST/CONNECT request

All of this can be found here: