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”

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 Monitor Disk IO Access in Debian/Ubuntu

I alway use top in order to monitor how much resource is used for what process.  And there is iftop for network traffic monitor.  They give enough information to nail down and troubleshoot many different issues.  However, one thing that I have alway had issues with is disk IO monitoring.  I had to use iostat but it does not give information per process so I had to additional analysis to figure out exactly why.

For anyone who experiences similar difficulty with monitoring disk IO, iotop became available recently in Debian/Ubuntu distro.  It requires a newer kernel since it needs support from kernel; however, this is a tool that I have been waiting for a long time.  It give disk access info in real time per process and it is an excellent troubleshooting tool.

Continue reading “How to Monitor Disk IO Access in Debian/Ubuntu”

VirtualBox 3.0.0 BETA2 Improvements

VirtualBox has been my favorite desktop virtualization tool for a couple years now.  I love it so much because it supports variety of host and client OSes, USB support, and shared folder with the host.  The fact that VirtualBox application itself and virtual machine images are portable between my Windows environment and Linux environment is the greatest feature for me.

However, there have been some issues that annoyed me a lot.

First issue was when you run multiple guests, sometimes it get frozen and you need to hard-reset your computer.  This happened quite often and it was very annoying.

Continue reading “VirtualBox 3.0.0 BETA2 Improvements”