MBR Align VM – Enabling SSH

I got real sick and tired of the left click getting stuck in my MBR Align guest, midway through a vmdk alignment. While I did see some fixes, all I really needed was SSH enabled so I could run the necessary utilities from the command line.

To enable SSH on the MBR Align Suse VM, do the following:

1. Open the shell
2. Enter the below command:

admin@mbralignvm:/>sudo /etc/rc.d/./sshd start

Thats it; done.

Installing Firefox 5 in Ubuntu 10.04

Image

The process I used to install Firefox 5 in Ubuntu 10.04:

1. Download the source from Firefox

2. Extract the package

cd ~/Downloads
tar xjf firefox-5.0.tar.bz2



Switches:
x : eXtract
j : deal with bzipped file
f : read from a file

3. Move to /opt

sudo mv firefox /opt/firefox



Note: I did not have a previous version installed. If you do you are going to want to move or rename the old version.

4. Setup Symbolic Link
>Rename the old launcher so you can still use if needed<

sudo mv /usr/bin/firefox /usr/bin/firefox-old



>Create new symbolic link<

sudo ln -s /opt/firefox/firefox /usr/bin/firefox


Linux Command Line System Tools

Below is a link to a document that contains some useful Linux system management command line utilities. Note, these may not work on every distribution of Linux but I have currently tested them on a few of my VM based servers which are running Ubuntu Server 10.04 LTS [Lucid Lynx]. I will be updating this document ad-hoc as I find things that are useful.

Linux Management Commands

[Last updated 6/28/11]

Disabling IPv6 In Ubuntu Server 10.04 LTS

Aside

First: run the following command to verify if it is enabled or disabled. 0=enabled & 1=disabled:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

Second: Using ‘ vi‘ add the following lines to “ /etc/sysctl.conf
[the # comment is optional but considered a best practice]

#disable ipv6 
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

vi notes:
i – enters ‘insert’ mode [editing]
esc – exits ‘insert’ mode
followed by x - saves your work and exits

Reboot and run the first command to verify that is has been disabled.