| Mobile | RSS

local yum server

Setting Up a Local yum Server

Sometimes you feel it is necessary or to be handy to have a local yum server in your network.So let’s try to create a local yum server in your network.

[ More ] December 2nd, 2011 | No Comments | Posted in Applications, Server Building |
lsof

7 important uses of LSOF Command for Linux admin

important uses of LSOF Command – lsof is a Linux utility which lists the information about files opened by processes.LSOF is one of the powerful tool available for troubleshooting problems.

[ More ] November 10th, 2011 | 1 Comment | Posted in Applications, OS Internals, Troubleshooting |
Convert man pages to pdf

Convert Linux man pages to PDF

Here we are trying to find out how to convert Linux man pages to PDF. Man Pages are most reliable reference available for Linux users and man command remains the easiest way to access those reference pages.

[ More ] September 2nd, 2011 | No Comments | Posted in Applications, Scripting & Automation |
autoconf

Autoconf – brief introduction for beginners

Autoconf is a set of tools which makes your project configurable and portable for running in Linux distributions. Simply, autoconf will help you to create configure script and Makefile for your code. Before going to generate configure script using autoconf, we need to define set of rules and dependencies. We are defining that rules and [...]

[ More ] August 25th, 2011 | No Comments | Posted in Applications, OS Internals, Scripting & Automation |
environment variables

Environment Variables in Unix

Environment variables in Unix are a set of dynamic named values that can affect the way running processes will be have on a computer

[ More ] July 12th, 2011 | 1 Comment | Posted in Applications, OS Internals |
file attributes

How to record a UNIX terminal session

script is one of the powerful tool available to record a unix terminal session.Start the recording of Unix terminal session with script command.And start doing your important configurations, it will recorded in a file. After completing the task ,you can exit the recording with exit command Example procedure: [root@core-22 ~]# script Script started, file is [...]

[ More ] July 9th, 2011 | No Comments | Posted in Applications |
mrtg configuration

How to Install and Configure MRTG

Let see how to install and configure mrtg with this article. Required packages mrtg-2.10.15-1.i386.rpm net-snmp net-snmp-utils Prerequisite: snmp should be configured and running Change the permissions of the directory #chmod 777 /var/www/mrtg Generate a configuration file #cfgmaker –output=/etc/mrtg/mrtg.cfg -ifref=ip –global “workdir: /var/www/mrtg” –global ‘options[_]: growright,bits’ user@192.168.0.10 Edit the configuration file and make the necessary changes. [...]

[ More ] June 30th, 2011 | No Comments | Posted in Applications, Networking |
email icon

Virtusertable configuration in sendmail

virtusertable is used to do aliases to virtual domains hosted on the same server. In this case we use  mail1.domain.org as main host and mail2.domain.org as virtual host. Before creating virtusertable mapping ,you need to create a file virtusertable in /etc/mail/.In virtusertable each entry should be a single line.The entry in left hand side denotes [...]

[ More ] June 30th, 2011 | No Comments | Posted in Applications, Server Building |
Asterisk server

Asterisk server installation

Asterisk is a software implementation of a telephone private branch exchange (PBX) originally created in 1999 by Mark Spencer of Digium. Like any PBX, it allows attached telephones  to make calls to one another, and to connect to other telephone services including the public switched telephone network (PSTN) and Voice over Internet Protocol (VoIP) services. [...]

[ More ] June 29th, 2011 | 1 Comment | Posted in Applications, Server Building |
keyboard and mouse

Sharing keyboard and mouse between different machines using synergy

Synergy is software client/server application for several operating systems (GNU/Linux, Mac OS X, Microsoft Windows and more) which allows you to control multiple computers through the same keyboard and mouse. Moreover, your computers will be able to share their clipboards among themselves, enabling you,like, to copy text from a Linux application and paste it into [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications |
JDK installation in Linux

JDK installation in Linux

1. Download jdk from http://java.sun.com/javase/downloads/ into /root/Downloads/ 2. Create a directory ‘java’ in /usr mkdir /usr/java cd /usr/java cp /root/Downloads/jdk-6u<version>-linux-i586.bin . 3. Make the file executable chmod a+x jdk-6u<version>-linux-i586.bin 4. Run java self extracting binary ./jdk-6u<version>-linux-i586.bin The binary code licence is displayed , prompted to agree to its terms.The installer copy files into jdk-6u<version> directory. [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications |
cacti installation

Cacti Network graphing Tool Installation

Cacti is a network graphing tool similar to MRTG.It is a complete front end to RRDtool,it stores all of the necessary information to create graphs and populate them with data in MySql database.The front end is completely PHP driven. Requirements MySql server NET-SNMP server (SNMP is used for network management) PHP with net-snmp module Web [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications |
nagios

Nagios upgradation from Previous Nagios 3.x release

Before upgrading you should have a good backup of existing nagios installation and configuration files.If anything goes wrong,then this will allow you to rollback to your old version. Nagios upgrading don’t even need root access.We can do this as ‘nagios’ user. Become nagios user by su or sudo command su -l nagios Remove the following [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications |
nagwin

Monitoring windows Machine using Nagios

By using nagios we can monitor private services & attributes like Memory usage CPU load Disk usage Service stats Running processes etc Monitoring private services or attributes of a windows machine requires an agent on it.This agent act as a proxy between the nagios plug-in that does the monitoring and the actual service or attribute [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications |
WebDav configuration

Setting up WebDAV with Apache web server

WebDAV stands for web based Distributed Authoring and Versioning.And it is a set of extension to the http protocol that allows users to directly edit files on the apache server so that they do not need to be downloaded/uploaded via FTP.apache Enabling WebDAV on apache web server includes the following steps Install mod_dav module Edit [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
nagios

Nagios installation from source

Nagios is a popular open source computer system and network monitoring software application. It watches hosts and services, alerting users when things go wrong and again when they get better. Installation includes the following steps Create user account for nagios #useradd nagiosnagios #passwd nagios Create  group named ‘nagioscmd’and add users naios and apache to this [...]

[ More ] June 29th, 2011 | 1 Comment | Posted in Applications |
MySQL installation

MySQL Installation from source

Creating user and group for mysqlmysql #groupadd mysql #useradd -g mysql mysql Get source from http://dev.mysql.com/downloads/mysql/5.0.html#source Unpack the package using the following command #tar -xvf mysql-5.x.x.tar.gz #cd mysql-5.x.x #./configure –prefix=/usr/local/mysql-5.x.x Then compile & install #make #make install Then create a symbolic link ‘mysql’ pointing to mysql-5.x.x(Installation directory) #ln -s /usr/local/mysql-5.0.37/ /usr/local/mysql  (Generally mysql installation path [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
php installation from source

PHP Installation from source

Get the source from http://www.php.net/download.php (php-5.x.x.tar.gz) Prerequisites Apache webserver Mysql Installation Goto the directory use this command to unpack the file tar -xvf php-5.x.x.tar.gz cd php-5.x.x ./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql * –prefix specifies the location where PHP is to be installed . * –with-apxs2 pointing to bin/apxs in the apache installation directory. * –with-mysql to [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
directory sharing

Software installation from source in Linux

In this how to we are trying go through the steps involved in software installation from source.
The software installation from source includes the following steps

[ More ] June 28th, 2011 | No Comments | Posted in Applications, Basic Setup |
VI editor

VI Editor-some tips

Operation modes Command mode: letters or sequence of letters interactively command vi. Commands are case sensitive. The ESC key can end a command. Insert mode: Text is inserted. The ESC key ends insert mode and returns you to command mode. One can enter insert mode with the “i” (insert), “a” (insert after), “A” (insert at [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 26th, 2011 | No Comments | Posted in Applications |