Archive for February, 2010

Linux SVN/Subversion Usefull commands

Thursday, February 25th, 2010

Ref:http://svnbook.red-bean.com/en/1.5/svn.tour.cycle.html#svn.tour.cycle.update (A) How to install and Import directory into repository: Click here (B)How to get working copy from svn repository into local machine? Goto Your home directory , example : cd /root Now execute bellow commands [root@mail ~]# svn checkout file:///svn A svn/script A svn/script/checkmemory.sh A svn/config A svn/config/httpd-vhosts Checked out revision 2. Now you [...]

How to install Subversion

Thursday, February 25th, 2010

Ref:http://svnbook.red-bean.com/en/1.5/index.html (A) To install Subversion : yum install mod_dav_svn subversion (B) How to create a Repo : svnadmin create /svn So it will create a svn directory under / directory [root@mail /]# pwd / [root@mail /]# ls aquota.group boot dev lib opt sbin svn usr aquota.user conffile etc media proc selinux sys var bin data [...]

nagios script for checking mysql server replication status between 4 servers

Monday, February 22nd, 2010

Ref : http://onlamp.com/pub/a/onlamp/2006/04/20/advanced-mysql-replication.html?page=2 Date:22/02/2010 This Script is still under development. Purpose: Develop a nagios script, which would be able to check replication status between 4 Master/Master Server. This scripy will check following : #1.Each Mysql servers are online : Stats: Done #2.If Slave process is running : Status:Done #3.If Slave IO process is running : [...]

Linux:If Running Kernel Is 32 Or 64 Bit

Thursday, February 18th, 2010

To find out, if Your kernel is 64 bit or 32 bit, run this commands

uname -a

Sample Out put for 64 bit kernel :

Linux-How to conferm 64bit/32bit capability of CPU

Wednesday, February 17th, 2010

How many CPU in the system : commands : cat /proc/cpuinfo   [root@server ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.40GHz stepping : 3 cpu MHz : 3401.008 cache size : 2048 KB physical id : 0 siblings : 2 [...]

Linux/windows-How to add a printer from cups by using .ppd file

Friday, February 12th, 2010

Recently I was trying to add a Canon LBP3460  Printer in my linux Server, I was trying to use .ppd which was available from canon website, but that file would not work. so I download the file from : http://openprinting.org/printer_list.cgi , and its works perfectly . here is the procedure:: Download the .ppd file from [...]

How to install puppet in server and client

Monday, February 8th, 2010

Ref :  http://docs.reductivelabs.com/guides/installation.html#open_firewall_ports_on_server_and_client How to install puppet Client: If yum can not find puppet software you can add bellow repo : http://fosiul.com/index.php/2009/12/yum-repo-list-for-centos/ after adding repos (a) yum install puppet( to install puppet client rpm) (b) edit /etc/puppet/puppetd.conf  and add references of puppet server server = puppet-server.companydomain.com (c)  /usr/sbin/puppetd –verbose  ( Start the client for the [...]