Solutionist's Blog

Tech | Health | Life | Travel

Install CACTI Centos

Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is […]

benefits of cloud computing

  I have been managing in house Linux, mac and Windows servers for various clients for years . different clients need different features with low cost .   After introducing myself into the world of Cloud Storage , I am doing SaaS and cloud storage effectively. I prefer doing cloud storage in local geographic locations […]

graph exim mail count on cacti

this was a tough thing as i failed to configure exim to publish via SNMP i have setup a cronjob to run below command */1 * * * * echo “exim_queue:$(/usr/sbin/exim -bpc)” > /tmp/exim_stat Then i got cacti to graph the exim stat  as data input method – script ssh -q -x user@host.com  “cat /tmp/exim_stat” […]

Install yum-skip-broken

Install yum-skip-broken Type the following command as root user: # yum -y install yum-skip-broken     How to handle skiping packages with dependency problems Now type the command as follows: # yum -y upgrade –skip-broken OR # yum -y update –skip-broken

php53-common conflicts with php-common

php53-common-5.3.3-13.el5_8.x86_64 from installed has depsolving problems –> php53-common conflicts with php-common Error: php53-common conflicts with php-common   This issue normally happens when you have upgraded your PHP to new version 5.3 and try to install a old extension Solution:  find the extension which in the same version or install extension from source file  

MySQL – Master slave replication setup

to setup master – slave ON MASTER SERVER STEP #1 – set server ID edit my.cnf and add server-id=1 STEP #2 – Create slave user mysql grant replication slave on *.* to ‘slave_username’@192.168.16.5 \  identified by ‘slave-password’;   STEP #3 – restart Mysql service mysqld restart   ON SLAVE SERVER STEP #4- Edit my.cnf file and […]

Install PHP Suhosin as extension – CENTOS

Install PHP Suhosin as extension Download latest version of Suhosin, enter: # cd /opt # wget http://download.suhosin.org/suhosin-0.9.27.tgz Make sure you have php-devel installed: # yum install php-devel Compile Suhosin under PHP 5 and RHEL / CentOS Linux Type the following commands: # cd suhosin-0.9.27 # phpize #./configure # make # make install Configure Suhosin Type […]

Setup a Basic iptables Configuration on Centos

Decide which ports and services to open To start with, we want to know what services we want to open to public. Let’s use the typical web-hosting server: it is a web and email server, and we also need to let ourselves in by SSH server. First, we want to leave SSH port open so […]

Secured By miniOrange