TECH INSIGHT
FOR THE
CURIOUS MIND

ping the universe, send your echo,
In the terminal of life, be the sudo.
exit the fear, reboot the cheer,
In the shell of existence,
hold your dreams near..

Join Newsletter

Installation of Zabbix on CentOS 6.3

Here is my simple steps to Install Zabbix on CentOS machine. 1. yum install zlib-devel mysql-devel glibc-devel curl-devel gcc automake mysql libidn-devel openssl-devel net-snmp-devel rpm-devel OpenIPMI-devel   install repo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum –enablerepo=epel install iksemel iksemel-devel download zabbix installation file from www.zabbix.com/download or wget http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/1.8.1/zabbix-1.8.1.tar.gz?use_mirror=freefr cd zabbix.1.2.3 ./configure –enable-server –with-mysql –with-net-snmp –with-jabber –with-libcurl –with-openipmi … Read more

Rsync over SSH

User of rsync command rsync -Pzarve (P-progress, z-compress, a-archive, r-recursive, v-verbose, e-method) ssh -p (port) -i (ssh key location) /local/dir/ user@hostname:/remote/dir/if you are using rsa key then do rsync -Pzarve "ssh -i /location/rsa_key -p 1234" /source /destination #In this way you have to type password every time you do rsync, if you do not want … Read more

How to install Nagios on CentOS 6+

INSTALLATION OF NAGIOS-CORE 1. # yum install gd gd-devel httpd php gcc glibc glibc-common 2. # mkdir /root/nagios 3.  # cd /root/nagios 4. # wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.4.tar.gz     # wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz 5. tar xvzf nagios-3.4.4.tar.gz 6. # cd nagios 7. # ./configure 8. make all, make install, make install-init, make install-commandmode, make install-config, make install-webconf 9. # … Read more

How to Troubleshoot Apache

1. If you are accessing the website by name , make sure it is resolving to an ip address by pinging the address.2. Check the status of apache is it running ?3. Check for any syntax error in apache configuration, if it is not running or is being restarted. [ httpd -t ]2. If the … Read more

How to Install Nagios in Linux/CentOS server

yum install httpd gcc glibc glibc-common gd gd-devel php Create Nagios User account and groupuseradd -m nagios Create nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache usergroupadd nagcmdusermod -a -G nagcmd nagiosusermod -a -G nagcmd apache Create Directory to store Nagios installation … Read more

How to Install CentOS5.8 (Netinstall)

1. Download CentOS 5.8 Net Installfrom http://isoredirect.centos.org/centos/5/isos/i386 2. follow the instruction while installation, you should be needing following informationWeb Site: mirror.centos.orgCentOS Directory/centos/5/os/i38s In this way you should be able to install CentOS.

Common Linux Log Files

Common Linux log files name and usage /var/log/message: General message and system related stuff /var/log/auth.log: Authenication logs /var/log/kern.log: Kernel logs /var/log/cron.log: Crond logs (cron job) /var/log/maillog: Mail server logs /var/log/qmail/ : Qmail log directory (more files inside this directory) /var/log/httpd/: Apache access and error logs directory /var/log/lighttpd: Lighttpd access and error logs directory /var/log/boot.log : … Read more

How to Install and Configure NFS and NFSv4 on Centos 6+

Here are the process how I install and Configure NFS/NFSv4 Configuring Server-Machine first yum install nfs-utils nfs4-acl-tools portmap xinetd Note: you might have problem installing portmap so downlaod rpm from here Be sure there following rpm packages are installed rpm -qa nfs* rpm -qa portmap* rpm -qa xinetd* ———————————————————————————————————- Service portmap start service xinetd start … Read more