Category Archives: General Command Line

How do I find out if I am running 64bit or 32bit Centos?

Sometimes you can’t remember if you installed 64bit or 32bit centos, to find out which version you are using; uname -a And you will get a response like [root@monitor zenoss]# uname -a xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx i686 i686 i386 GNU/Linux

Posted in Centos 5.2, Command Line, General Command Line | Tagged , , | 2 Comments

How Do I Find Which Version of Centos I Am Running?

Sometimes you install a centos machines ages ago and can’t remember what you installed. If you want to find out which version it is, easy tail /etc/redhat-release This will return something like; [root@]# tail /etc/redhat-release CentOS release 5.2 (Final)

Posted in Centos 5.2, Command Line, General Command Line | Tagged , , | Leave a comment

Upgrade from zenoss 2.5.2 stack installer to zenoss 3.0 on Centos

Instructions from http://nchc.dl.sourceforge.net/project/zenoss/Documentation/zenoss-3.0.x-docs/zendocs-3.0.0/Zenoss_Core_Installation_04-072010-3.0-v01.pdf Get the ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg wget http://downloads.sourceforge.net/project/zenoss/zenpacks-3.0%20%28Latest%20Stable%29/zenpacks-3.0.0/ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg?use_mirror=nchc&ts=1279596576 Change the permissions chown zenoss.zenoss ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg chmod 777 ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg Become the zenoss user su zenoss Run the install zenpack –install ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg Restart zopectl zopectl stop zopectl start Start the zencatalog zencatalog start … Continue reading

Posted in Centos 5.2, Command Line, General Command Line, Open Source, Zenoss | Tagged , , , , | Leave a comment

A Good Centos System Administration Book

I have been a big fan of the unleashed guides every since I purchased Mac OS X Tiger Unleashed. I loved this book as it was both great for beginners but had some reallly good advanced sections that allowed me … Continue reading

Posted in Apache, Centos 5.2, Command Line, General, General Command Line, Mysql, Networking, Open Source, RHEL5, Security, Snort, Zenoss | Tagged | 1 Comment

How To Create a Tar Archive of a Directory

  Tar stands for Tape Archive and is used to compress files or whole directories. Examples; tar -cvf mytarfile.tar mydir/ tar cf archive.tar * tar -cvzf name.tgz subdir where subdir is the name of the subdirectory you want to save. … Continue reading

Posted in General Command Line | Tagged | Leave a comment