Archive for the ‘Linux system’ Category
Tuesday, November 8th, 2011
You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id as explained in this article. ssh-keygen creates the public and private keys. ssh-copy-id copies the local-host’s public key to the remote-host’s authorized_keys file. ssh-copy-id also assigns proper permission to the remote-host’s home, ~/.ssh, and ~/.ssh/authorized_keys. This [...]
Posted in How to, Knowledge, Linux system | No Comments »
Tuesday, November 8th, 2011
Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on both the hosts. It can get really annoying the password [...]
Posted in How to, Knowledge, 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 »
Tuesday, October 11th, 2011
The term Virtual Host refers to the practice of maintaining multiple servers on one machine, each server being defined by it’s hostname (domain). See the Apache Virtual Host documentation for more information. How to create an Apache HTTP Virtual Host You must first Install and Configure Apache HTTP Server See our Apache HTTP Server documentation Create/Open the file [...]
Posted in CentOS 5 | No Comments »
Wednesday, October 5th, 2011
How do I find and delete files under Linux / UNIX operating systems? Some time it is necessary to find out files and remove them. However, rm command does not support search criteria. However, with find command you can search for files in a directory and remove them on fly. You need to combine find [...]
Posted in Knowledge, Linux system | No Comments »
Wednesday, October 5th, 2011
How do I rename multiple files at a shell prompt under Linux or UNIX operating systems? Renaming multiple files at a shell prompt is always considered as a black art by many UNIX gurus. To be frank if you understand regex then it is not a black art anymore. A regular expression is a string [...]
Posted in Knowledge, Linux system | 1 Comment »
Wednesday, September 28th, 2011
Jinzora is a web based media server and management system written in php. It enables you to play your music and organise your music from any computer connected to the internet. It can stream to different multimedia devices at multiple bandwidths, so you can listen to you music at home in high quality, listen to [...]
Posted in How to, Knowledge, Linux system | No Comments »