Linux

Installing VMware on Ubuntu 6.06 LTS (or similar)

1) Required packages

libx11-6
libx11-dev
libxtst6
xlibs-dev
xinetd

linux-headers (for currently installed kernel)
build-essential

gcc
binutils-doc
cpp-doc
make
manpages-dev
autoconf
automake1.9
libtool
flex
bison
gdb
gcc-doc
gcc-4.0-doc
libc6-dev-amd64
lib64gcc1

(also perl, if not already on the system).

2) apt-get commands to install required packages

# apt-get install libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget

# apt-get install linux-headers-`uname -r` build-essential

# apt-get install gcc binutils-doc cpp-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.0-doc libc6-dev-amd64 lib64gcc1

VMware: Adding vxn0 nic driver for FreeBSD guest in Linux host

You must find the *.vmx file (ex: FreeBSD.vmx)

Add this into the file:

ethernet0.virtualDev = "vmxnet"

Extra: Might as well add the gigabit interface instead and configure accordingly.

ethernet0.virtualDev = "e1000"

Upgrading Ubuntu from CD or ISO

Upgrading from a physical CD

sudo apt-cdrom add
sudo apt-get update && sudo apt-get dist-upgrade

Upgrading from an ISO image

sudo mount -t iso9660 ubuntu-6.10-alternative-i386.iso /cdrom -o -loop

sudo apt-cdrom -m add
sudo apt-get update && sudo apt-get dist-upgrade
sudo umount /cdrom

** must use full path for the ISO image
** may also need "-y" and "--force-yes" options

HowTo: Reset the admin password for Gallery

1) Go into the "albums/.users" directory

2) Edit the file that has a number for its filename
example: 1055879304:298113996

$ vi 1055879304:298113996

3) Change the password string to another md5 string

4) To get another md5 string, run this command

$ md5 -s newpass
MD5 ("newpass") = e6053eb8d35e02ae40beeeacef203c1a

HowTo: change permissions on a symbolic link

To make a change to the permissions of a symlink (and not the actual file or directory), use the "-h" option.

chmod -h a+w mysymlink


Copyright © 1999-2008 Damond Choi. All rights reserved.
Syndicate content