November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Setup Mysql Replication Between Linux(master) & Windows XP(Slave)

Step 1 – Configure the Master Server

First we have to edit /etc/mysql/my.cnf. We have to enable networking for MySQL, and MySQL should listen on all IP addresses, therefore we comment out these lines (if existant):

#skip-networking

#bind-address = 127.0.0.1

Furthermore we have to tell MySQL for which database it should write logs (these logs […]

Duplicating a disk

If you have two IDE drives that are of identical size, and provided that you are sure they contain no bad sectors and provided neither are mounted, you can run

dd if=/dev/hda of=/dev/hdb

To copy the entire disk and avoid having to install an operating system from scratch. It doesn’t matter what is on the […]

Public DNS to speed up your connection

Public DNS to speed up your connection

Google DNS

The Google DNS are very simple to memorize very stable:

8.8.8.88.8.4.4

Open DNS

They are very popular and the nature and philosophy of these DNS is that they are open and we can control:

208.67.222.222208.67.220.220

OpenNIC

It is also a free alternative and promise to remove […]

Rsync Tips

Synchronizing data beetween two directories

# rsync -rv <src> <dst> –progress

Rsync two directories with filtered extensions

# rsync -rv –include ‘*/’ –include ‘*.txt’ –exclude ‘*’ srcDir/ desDir/

Rsync a directory excluding pesky .svn dirs

# rsync -rv –exclude .svn src/dir/ dest/dir/

Sync Source Directory to Destination Directory

# rsync -avzE -e –process /var/www/html/deploy root@X.X.X.X/backup/testing/project

[…]

DB2 Database

Starting the DB2 control center on Linux

This procedure describes how to start the DB2® control center on Linux®.

To start the DB2 control center, perform the following steps: Login as root. At the command line, run the following command: xhost +localhost. Run the following command su – ctginst1. Run the following command db2cc. […]

Implement a Dynamic Tomcat Cluster with Mod_Cluster

Apache Tomcat, the open source Web application server, hosts an estimated 70 percent of small Java Web applications. However Tomcat can become overburdened when faced with spikes in user requests. One way to ensure that your Tomcat servers are utilized to their maximum capacity is to connect and cluster them in a single environment and […]

Multicasting

Multicast is the protocol which allow nodes inside to a cluster to communicate without knowing each other.

You can think of multicast of a radio or a TV channel, only those who are tuned received the information.

Communication between nodes is provided by JGroups, which is library for multicast communication.

 

What is multicasting? There […]

Disable bounce email on qmail

Hello All, If you re having problems with bounce on qmail, if you re desperate about qmail getting crazy with thousands of email, then, let me tell you, that your quest ends here! The tools that will be used in this “kind of tutorial” are included right here :

qmHandle: a tool to handle and […]

Open Source Alternatives for Server Software

According to a recent study by Stanford University consulting professor Jonathon Koomey, there are approximately 31.6 million servers installed around the world, including about 11.5 million in the United States. If organizations had to use only proprietary software for all of those systems, the resulting costs would be astronomical.

Fortunately, the open source community has […]

Operating systems and network tuning

Operating systems and network tuning

Network tuning can reduce Transmission Control Protocol (TCP) stack delay by changing connection settings and can improve throughput by changing TCP buffers.

Operating systems

A Windows system needs the least tuning while a Solaris system needs the most tuning. The following information pertains to each system specified, and might improve […]