HOWTO : Godaddy.com’s Relay Mail Server with Postfix on Ubuntu Server

Your Internet Services Provider (ISP) may block SMTP port (Port 25) if you are not using a business plan (like in Hong Kong). However, you can still send email with reverse lookup of your domain name when your domain registrar is Godaddy.com.
Step 1 :
Create and enable your free email account at Godaddy.com when you [...]

HOWTO : Performance tuning for PostgreSQL on Ubuntu/Debian

Step 1 :
Edit postgresql.conf.
sudo nano /etc/postgresql/8.3/main/postgresql.conf
Step 2 :
The performance tuning setting is as the following :
(1) shared_buffers
Recommended : 0.25 * Available Memory
(2) work_mem
Recommended : Available Memory / max_connections
(If your queries tend to be more complicated, then divide that by 2. If you typically run very close to max_connections connections, then consider dividing by 2 [...]

My Dream Home Network 2009

The following is the setting of “My Dream Home Network 2009″. Virtualization technology can reduce the number of servers you owned. It saves room, electricity and money as well as manpower to manage. Therefore, it has one more term – Green Computing.
Configuration of Server #A
Intel Q9550 Quad-Core CPU
8GB DDR2 RAM
2 x 160GB [...]

HOWTO : Sockso 1.1.8 (Music Server) on Ubuntu 9.04 Server

Sockso is a cross platform music server and requires no installation. She runs on a standalone personal computer or on a server. For running on personal computer with GUI, please refer to her official site.
The client computer requires no mp3 player to play the music but needs a Flash player.
The advantage of Sockso is that [...]

HOWTO : Rebootless with Ksplice Uptrack on Ubuntu 9.04

By using Ksplice Uptrack, your Ubuntu Desktop or Server 9.04 will become rebootless even the kernel is updated.
Desktop configuration
Get and install Ksplice Uptrack at the following link. Follows the instruction on the screen.
http://www.ksplice.com/uptrack/download
Or, use the following method.
deb http://www.ksplice.com/apt jaunty ksplice
deb-src http://www.ksplice.com/apt jaunty ksplice

Add the key to repository.
sudo wget -N https://www.ksplice.com/apt/ksplice-archive.asc
sudo apt-key add ksplice-archive.asc

sudo apt-get [...]

HOWTO : Logwatch on Ubuntu 9.04 Server

Logwatch reads your log files and can send you daily email about the most interesting parts.
Step 1 :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install logwatch
Step 2 :
sudo nano /usr/share/logwatch/default.conf/logwatch.conf
Change the following as shown :
Output = mail
Format = html
MailTo = samiux@gmail.com
Step 3 :
sudo nano /etc/cron.daily/00logwatch
/usr/sbin/logwatch –mailto samiux@gmail.com
Enjoy!