Replicating Content Between USA, Japan (Asia) and UK (Europe) Webservers

Posted on in Categories , , last updated October 27, 2010

We have corporate intranet network for our web site as us.example.com, jp.example.com (asia.example.com), uk.example.com (eu.example.com). How do I replicate static content stored at /var/www/corporate_lan/ such as javascript files, css files, and images between our USA, Japan and UK web servers running under UNIX or CentOS or Redhat Enterprise Linux based Apache servers?

Linux Disable and Remove X Windows (X.org)

Posted on in Categories , , , , , , , last updated July 18, 2009

I revived my new Dell server pre installed with Red Hat Enterprise Linux server v5.2. However, my box boot with a GUI login system ( Gnome ). There is no reason to run X Windows on my dedicated mail and Apache web server. I only need ssh. How do I disable X login and windows without reinstalling the operating system to improve security and performance?

Linux Optimize Directories ( File Access Time ) in ext3 Filesystem

Posted on in Categories , , , , , , , last updated January 9, 2008

Q. I’m using CentOS Linux 5 server with ext3 on /disk2 (/dev/sdb1). How do I improve my file server performance. I’ve many large files in directories and how do I speed up access time?
Continue reading “Linux Optimize Directories ( File Access Time ) in ext3 Filesystem”

Ubuntu Linux NFS Server installation and Configuration

Posted on in Categories , , , , , last updated December 18, 2007

Q. How do I install and configure NFS 4 Server under Ubuntu Linux ?

A. In order to set NFS server you need to install the following packages:

=> nfs-kernel-server – Linux NFS Server

=> nfs-common – NFS Common programs

=> portmap – The RPC portmapper

Continue reading “Ubuntu Linux NFS Server installation and Configuration”

Howto: Backup CentOS / Fedora Linux / Red Hat Enterprise Linux server system

Posted on in Categories , last updated July 26, 2007

Q. How do I backup files and database for the Red Hat Enterprise Linux / CentOS Linux? Currently I’ve MySQL server running on CentOS 5 and Web server and file server using RHEL 5. How do I backup all these servers?

A. Regular backup is an essential for Linux system. You can take backup on
=> Tape
=> NAS Server
=> DVD
=> Network server etc

Implementing a backup policy that includes rotating backup media and keeping copies of backup media offsite is the most reliable way of minimizing damage. See following resources on our site for more information including commands and shell scripts:

  1. Perform backups for the Linux operating system
  2. How to backup MySQL databases, web server files to a FTP server automatically
  3. Howto Backup PostgreSQL Databases
  4. All backup shell scripts