Relocate the URL of SVN Repository

Recently, SVN has been installed on a local Debian box at work. This could have been done a bit earlier in my opinion, but well it’s better be a little late than never. The SVN server is accessed via a LAN ip: 192.168.0.126. Because we didn’t setup static IP on the router, the IP of the server keeps changing from time to time. Here’s how one can change or relocate to the new URL. ...

February 6, 2009 · 1 min · 99 words · kenno

HOWTO add user to sudoers list in Debian/Ubuntu

You need to have root access to do that. So the first step to become root with the following command: ken@debian:~$ su<br /> Password:<br /> debian:/home/ken# visudo<br /> Now you can add a username to the list. For example: <br /> ken ALL=(ALL) ALL<br /> Save the file to complete the process. Credit: Ubuntu Forum

January 27, 2009 · 1 min · 55 words · kenno

Backup &#038; Restore MS SQL 2000 Database

This is a short note I used at work to back up and restore the a MS SQL 2000 database. I have a database with the name abcengine running on a local SQL Server. I need to back up this datbase to a file, send it over to a remote SQL Server to restore it. There are two ways, which I’ve known, to back up a database. One of them is to use the Enterprise Manager to virsually back up, and another way is to use the Query Analyzer, writing the T-SQL code and run it. ...

January 15, 2009 · 2 min · 274 words · kenno

Python MySQLdb package for Debian

I try to use MySQLdb module with my Python code for the first time. This is what I see: import MySQLdb Traceback (most recent call last): File "", line 1, in ImportError: No module named MySQLdb your code here For Debian, the package for MySQLdb module is python-mysqldb. # apt-get install python-mysqldb Now, let’s verify if MySQLdb module has been correctly installed: >>> import MySQLdb >>> No more import error message, which means you can start using MySQldb module now.

November 9, 2008 · 1 min · 80 words · kenno

IIS7 - Cannot read configuration file due to insufficient permissions

The last time I intensively used IIS (Internet Information Services) was back in the year 2000 when I hosted a ASP site on the local Windows 2000 server. Since then, Apache has become my only friend in the web server world. Fast forward to present day with the current job where Microsoft technology is heavily based on, it’s time for me to get back on track with “almost-everything” Microsoft. Today, I tried to set up an Asp.net site on my local machine with IIS7, and I got the following error: ...

October 23, 2008 · 1 min · 121 words · kenno