How to create deb package – part 2

Debian packaging is much more than just adding dependencies. It could be quite complex and challenging to learn but I guarantee that it will be very beneficail.

In this example, I would like to use dh_make to create blank Debian packaging templates. This contains basic template to use pre/post scripts, configuration which is very easy to start. However, this template assumes that you have source to build for the package but the example assumes that there is no source. Continue reading “How to create deb package – part 2”

Dell XPS 600 Motherboard Burned

I got this great machine (Dell XPS 600) in 2005 and have been very happy with it except VT option in BIOS.  I have had it turned on all the time since it was running a VM for serving some web content.  However, a few weeks ago, I heard a small explosion from the inside of the computer and a little bit of smell.  And then it would not boot indicating some POST error from BIOS.

I opened up the case and it was very obviously that its motherboard was burned.  It has been constantly used since it ran as a server and stuff; however, it was never heavily used – I do not play games and did not overclock it (they kind of go together I guess).  I guess it may be affected by Capacitor Plague

Continue reading “Dell XPS 600 Motherboard Burned”

Recommended Apps for Motorola Droid from Verizon – General Apps

I had used Blackberry 8830 World Edition for a couple of years and it had served me very well in terms of emails and voice calls; however, it was quite difficult to say it was a smartphone since the basic functionality, accessing web, was even often very limited and slow.  At the beginning of this year, I was lucky enough to get Motorola Droid from Verizon as a replacement phone and it opened up a whole new lifestyle for me and I have been in love with my Droid now.

Droid almost replaced my laptop and the following is a list of apps that I use the most.  You can download these apps from the Market.

Continue reading “Recommended Apps for Motorola Droid from Verizon – General Apps”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 4

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 4 will focus on setting up a secondary server as a backup server.

Configure MySQL replication
* For detailed information, please refer to MySQL manual
Create a replication user in primary MySQL server

mysql> GRANT REPLICATION SLAVE ON *.* 
TO 'replication'@'%.mydomain.com' IDENTIFIED BY 'password'

Assign Server ID and enable binary log in primary – phpmyadmin DB will not be replicated (you may want to exclude mysql DB depending on your need) Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 4”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 3

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 3 will focus on installing Subversion/Trac and Samba

Install Subversion

aptitude install subversion

Add a group for svn access

addgroup svn

Add users to svn groups

adduser user svn

Create a svn directory and a svn repository

mkdir -p /var/lib/svn/repos
chown user:svn /var/lib/svn/repos
chmod 2775 /var/lib/svn/repos
svnadmin create /var/lib/svn/repos

Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 3”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 2

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 2 will focus on LAMP server installation and configuration

Install Linux Apache MySQL PHP server

tasksel install lamp-server

Add Fully Qualified Domain Name to Apache

echo "ServerName ubuntu.jakeyoon.com" > /etc/apache2/conf.d/fqdn

Restart Apache

/etc/init.d/apache2 restart

Enable remote MySQL connection from other hosts and enable innoDB file per table option
Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 2”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 1

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

I have been in love with Ubuntu Desktop for its polished user friendlyness and it motivated me to take a look at its server edition. I googled a bit about what kind of reviews Ubuntu Server gets nowadays but other than Ubuntu’s breif survey there are only debates about whether Debian is better or Ubuntu is better. I personally do not think there is an absolute answer for this debate because they both have its strengths and weaknesses. Anyhow I thought it would be interesting to try Ubuntu Server myself.

Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 1”

How to install D-Link WUA-2340 USB Wireless Adapter Driver on Ubuntu

This how-to is tested on Ubuntu Jaunty.

Step 1. Login as root or use sudo on each step

su -

Step 2. Install ndiswrapper on Ubuntu

aptitude install ndiswrapper-utils-1.9

Step 3. Download Windows XP driver 1.40 from D-Link ftp.
*ndiswrapper fails in loading 1.50 driver – USE 1.40

wget ftp://ftp.dlink.com/Wireless/wua2340/Drivers/WUA2340_driver_140.zip

Step 4. Unzip downloaded driver

unzip WUA2340_driver_140.zip

Step 5. Install Windows XP driver using ndiswrapper
Continue reading “How to install D-Link WUA-2340 USB Wireless Adapter Driver on Ubuntu”