How to clear the Qmail Queue (clean & delete it quickly) – Forcefully clearing the qmail queue

April 10, 2015 Iyngaran Iyathurai 0

Is your qmail queue on your server out of control? Look no further! Here’s a quick and easy way to clear, clean, or empty your qmail queue. Clear & Clean Qmail Queue Completely, Safely & Fast! This method only removes the messages from the queue, and nothing else is lost. First of all check the number of messages from the queue using the qmail-qstat tool:

To remove the messages from the queue ALWAYS stop […]

Want to test the website from new server before DNS change ? or want to see the website from old server after DNS change ?

March 6, 2014 Iyngaran Iyathurai 0

Don’t worry. Yes, we can do. Here is the option for that. We can use advantage of “hosts” file in your local machine to test the working of your site. It is the local system file that use to map the hostname to IP before the system start looking for the DNS servers. Please follow the below steps to do this. Assume your domain name is “example.com” and the new IP is “2xx.xxx.xxx.xxx” If your […]

How to use wget with Username and Password for FTP / HTTP file retrieval

February 27, 2014 Iyngaran Iyathurai 0

Do you want to use “wget”  ftp / http client tool to download files from password protected web pages ? Yes, you can do with “wget”. “Wget” command supports username and password  for both FTP and HTTP file retrieval. Pass following option to wget command:

Example: To download a single file

To download all the files recursively

These parameters can be overridden using the –ftp-user and –ftp-password options for FTP connections and […]

Download all file from ftp server recursively

February 27, 2014 Iyngaran Iyathurai 0

You can use “Wget” command to download entire ftp directory and sub directories from remote ftp server to your computer or to another remote server. Let us say you would like to download all the files from your shared hosting to another server. You need to use “wget” command. Here is the command

Find filenames list by content search and file format

January 19, 2014 Iyngaran Iyathurai 0

Generally computer users can memorize the locations of different files that they read or store. As the number of files increases, they can use descriptive filenames making it easy to guess the content by looking at the file name. However when the number of files grows higher & higher in number, it becomes a pain to remember locations or filenames. Also when a computer is used by some other person than the owner, it becomes […]

How to start a shell script with linux startup – ubuntu

May 19, 2012 Iyngaran Iyathurai 0

Got a shell script that you want automatically run at bootup on Ubuntu Server Edition? Here’s how: Create a script in the “/etc/init.d/” directory. Make the script executable

Make the script start at bootup

Note: the option “defaults” puts a link to start your script in runlevels 2, 3, 4 and 5, and puts a link to stop in runlevels 0, 1 and 6.

Automatically or Manually Backup MySQL Databases

November 6, 2011 Iyngaran Iyathurai 2

MySQL is one of the most popular open source database management system for the development of interactive Websites. Its is one of the basic components of established website development platforms such as LAMP (Linux-Apache-MySQL-PHP) due to its proven reliability and speed of performance. If your site stores its sensitive data in a MySQL database, you will most definitely want to backup that information so that it can be restored in case of any disaster (we […]

Setup FTP Server on Ubuntu Linux Server

September 13, 2010 Iyngaran Iyathurai 58

Open a terminal window. A File Transfer Protocol (FTP) server allows users to upload and download files to a server using the FTP protocol. FTP is useful because it is cross platform and faster than HTTP for large files. It also allows a far wider range of transfer commands, including batch transfers and transfers optimized for either ASCII or binary files. Ubuntu is a very popular distribution of the Linux operating system. Ubuntu is available […]