
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.

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.

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.

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.

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 [...]

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

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 [...]

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. [...]
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 [...]

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. [...]

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 [...]

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. [...]

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 [...]

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 [...]

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 [...]

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 [...]

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 [...]

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 [...]

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 [...]

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

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 [...]
![]() |