Archive for the ‘How to’ Category
Saturday, November 12th, 2011
In this article we will see an effective way of fixing the Linux deprecated pam_stack module error for pam.d. If you access your /var/log/secure log file you might notice different services including sshd with the following error: Deprecated pam_stack module called from service “sshd”. The workaround of this is simple Edit /etc/pam.d/sshd Uncomment #auth required [...]
Posted in CentOS 5, How to, Linux system, Ubuntu | No Comments »
Tuesday, November 8th, 2011
How do I add cron job under Linux or UNIX like operating system? Cron job are used to schedule commands to be executed periodically. You can setup setup commands or scripts, which will repeatedly run at a set time. Cron is one of the most useful tool in Linux or UNIX like operating systems. The [...]
Posted in How to, Knowledge, Linux system | No Comments »
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 »
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 »
Wednesday, September 28th, 2011
A seed box is a server for downloading and uploading digital files, commonly making use of the BitTorrent protocol. A common use for seed boxes is seeding torrents, it’s much more efficient to setup a Seedbox as it’s likely to have access to higher upload speeds. They are also good for general downloading, its easier [...]
Posted in How to, Knowledge, Linux system | No Comments »