Archive for the ‘Apache server’ Category
Saturday, November 12th, 2011
When installing latest CentOS version 5.5 you will notice that when you install PHP, the latest version you are getting is version 5.1. In order to add the latest CentOS version of PHP which is 5.2.10 is to enable CentOS 5 Testing Repositories. How To: 1. vi /etc/yum.repos.d/CentOS-Testing.repo # CentOS-Testing: # !!!! CAUTION !!!! # [...]
Posted in Apache server, Linux system | No Comments »
Monday, November 7th, 2011
This tutorial is about SSH and SCP. You will learn how to connect to a remote host and how to copy between hosts. This tutorial also documents a few important differences between the commands. Difficulty: Basic Before we start: in this tutorial, you will come across both SSH and ssh. The difference is this: SSH [...]
Posted in Apache server, How to, Knowledge, Linux system | No Comments »
Monday, November 7th, 2011
Have you ever wanted to know how to easily synchronize the data between multiple servers automatically? In this article I’ll explain how to setup 2 Linux servers to automatically synchronize data between a specific directory on each server. To do this we will use rsync, ssh key authentication, and a cron job. Let’s call the [...]
Posted in Apache server, How to, Knowledge, Linux system | 1 Comment »
Monday, November 7th, 2011
Load balancing is way to provide to handle the load of the large number of visitors particular website or network service receives. It helps provide redundancy to your website. There are several ways to accomplish load balancing: * Use of Linux Virtual Server * Use of layer 4 routers * Round robin DNS with squid [...]
Posted in Apache server, How to, Knowledge, Linux system | No Comments »
Monday, November 7th, 2011
How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin. rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing [...]
Posted in Apache server, How to, Knowledge, Linux system | No Comments »
Monday, November 7th, 2011
We have corporate intranet network for our web site as us.w3networking.com, jp.w3networking.com (asia.w3networking.com), uk.w3networking.com (eu.w3networking.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? There are various [...]
Posted in Apache server | No Comments »
Sunday, September 25th, 2011
Most PHP scripts and content management system scripts (CMS scripts) require writable permission 777 (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run unwanted programs and could potentially misuse your [...]
Posted in Apache server, CentOS 5, How to, Knowledge, Linux system, Ubuntu | No Comments »