Install subversion

September 24th, 2007

In order to check out source code I need to install subversion, this is done by

apt-get install subversion

Follow instruction in here to check out the latest revision.

Running MySQL server

September 24th, 2007

I thought I have my MySQL server installed by Synaptic Package Manager but in fact I haven’t.   I was trying to log into the sever via phpmyadmin but couldn’t.  Tried again via command line using

/etc/init.d/mysql start

but failed.   Decided to install it again by command line

apt-get install mysql-server mysql-client php5-mysql

Bingo, I got it finally I could login by username = ‘root’ and password = ‘nothing’.

Wubi - Easiest Way

September 24th, 2007

I have a Toshiba R100 notebook which doesn’t have CDROM drive.   It’ll be troublesome to try Ubuntu in it using methods in Pendrivelinux via USB thumb drive so I might try Wubi which is called Easiest Way to Linux.

Wubi enables you to install and try Ubuntu like a typical Application in Windows, i.e. you can see it in Add/Remove program in Windows Control Panel.   If I’m happy it then I could transfer the installation using LVPM thereby without the use of a CDROM drive.

Problem with switching display

September 21st, 2007

I took the PC home and connected it up to my new ViewSonic 19″ widescreen which requires best resolution at 1440×900.   Too bad I don’t have that choice so it was looking bad.

I then switched back to another even older CRT EIZO F35 at home.   I could get 1024×768 so that is barely OK for my eyes.

I just don’t understand why every time I switched display the set of resolution choices will change.    The may be due to the autodetect feature of xserver which doesn’t offer choices if the display doesn’t support it.

Updates are now done, am now wondering if I should upgrade to 7.04 Feisty Fawn.   Next step would be enabling mod_rewrite at the apache and making sure if I have the PHP PDO driver (according to this article I should have it already) for mysql before I attempt installing WordPress and Habari.

I got Ubuntu Running at last

September 20th, 2007

Tried the FixVideoResolutionHowto, run the Autodetect script again by below lines

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
sudo sh -c 'md5sum /etc/X11/xorg.conf
/var/lib/x11/xorg.conf.md5sum'
sudo dpkg-reconfigure xserver-xorg


didn’t work even made things worse GNOME can’t even show.   I have a black screen.   Tried also restarting xserver by pressing CTRL-ALT-Backspace, didn’t work either.

Found that my display card is VIA/S3G with 64M and it’s not too old.

At the end I loaded the LiveCD again and found that it could detect the correct display resolution for the LCD HP L1706 I used.   May be the SONY Multiscan E200 is really too old.

I have now reinstalled Ubuntu on the same partition, for the 2nd time, and got Apache2, mysql-server and phpmyadmin etc installed using Synaptic Package Manager.   The server is running fine.   I took awhile to locate the document root as it isn’t under the apache2 folder.    It was a bit difficult to locate it under /var/www/

Now I have trouble downloading 184 updates, I see what I can do next.