Tag Archives: centos5.2

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

How To Install IonCube Loader on Centos

Go to http://www.ioncube.com/loaders.php Download wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar xvfz ioncube_loaders_lin_x86.tar.gz tar xvfz ioncube_loaders_lin_x86.tar.gz cd ioncube Copy loader-wizard.php to location you can access on a web browser. I then get told that there is an updated script so I down load the … Continue reading

Posted in Centos 5.2 | Tagged , , , , | Leave a comment

How To Fix Yum When It Hangs With No Error Message

Yum on one of my centos boxes simply would not work.  Once you entered a yum command such as; yum clean all yum upgrade it hung and would not work. Apparently I needed to remove the __db.* in /var/lib/rpm rm … Continue reading

Posted in Centos 5.2 | Tagged , | Leave a comment

How to Install a Puppet Master and Client Server on Centos 5.2

Puppet is an open-source next-generation server automation tool. It is composed of a declarative language for expressing system configuration, a client and server for distributing it, and a library for realizing the configuration. Setup the EPEL repos for Centos – … Continue reading

Posted in Amazon EC2, Centos 5.2, Puppet | Tagged , , | Leave a comment

How to Setup SSH X Forward from a Remote Centos Server to Vista

You can push x server gui’s from a remote server to your local machine.  This is how to send an x server gui from a remote centos machine to your vista machine. Install Cygwin, choose the default installation package for … Continue reading

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

How To Create a Centos 5.2 EC2 Amazon Machine Image – AMI

Create the disk image dd if=/dev/zero of=my-image.fs bs=1M count=1024 Create root file system inside file mke2fs -F -j my-image.fs Mount it mkdir /mnt/ec2-fs mount -o loop my-image.fs /mnt/ec2-fs Create /dev mkdir /mnt/ec2-fs/dev Populate /dev with a minimal set of devices … Continue reading

Posted in Amazon EC2, Centos 5.2 | Tagged , , , | 5 Comments

The Best SSH Client for Vista

I have used this SSH client for the last 6 months and can heartily recommend it. http://www.bitvise.com/tunnelier Below are the features directly ripped from their site; one of the most advanced graphical SFTP clients; state-of-the-art terminal emulation with support for the bvterm, xterm, and … Continue reading

Posted in Command Line, Security | Tagged , , | Leave a comment

How To Install EC2 Automatic Scaling App Scalr on Centos 5.2

Scalr is a fully redundant, self-curing and self-scaling hosting environment utilizing Amazon’s EC2. It allows you to create server farms through a web-based interface using prebuilt AMI’s for load balancers (pound or nginx), app servers (apache, others), databases (mysql master-slave, … Continue reading

Posted in Amazon EC2, Centos 5.2 | Tagged , , | 1 Comment