Category Archives: Centos 5.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 update PHP 5.1 to 5.2 on Centos

Found this great link on how to update php to 5.2 http://wiki.centos.org/HowTos/PHP_5.1_To_5.2

Posted in Centos 5.2 | Leave a comment

How to Install Redmine 0.9.3 on Centos Update, Including Apache and SVN Configuration

This is on a fresh version of centos and includes; Ruby on Rail setup Redmine Installation Apache configuration SVN autocreate SVN authentication using redmine Thanks to the redmine team for an awesome tool. Install Ruby on Rails Install ruby 1.8.7 … Continue reading

Posted in Centos 5.2, Redmine, Ruby on Rails | Tagged , , , | Leave a comment

How To Add /usr/local/bin to your PATH on Centos

To find the directories in your PATH, run the following command: echo $PATH Adding to your PATH Add /usr/local/bin to yor PATH: export PATH=$PATH:/usr/local/bin /etc/profile file defines path for all users. Edit file vi /etc/profile My profile file looks like … Continue reading

Posted in Centos 5.2, Command Line | Leave a comment

How To Add a Symbolic Link in Centos

ln -s [TARGET DIRECTORY OR FILE] ./[SHORTCUT] For example: ln -s /usr/local/apache/logs ./logs

Posted in Centos 5.2, Command Line | Leave a comment

Upgrade OTRS 2.3.4 to OTRS 2.4.1-01 using OTRS rpm’s on Centos

OTRS is an Open source Support Ticket System, its fairly easy to setup and has the ability to receive emails and add them automatically as tickets. Personally I like its flexibility and they have just released OTRS 2.4.1 (Aitutaki – … Continue reading

Posted in Centos 5.2, Open Source | Leave a comment

How To Install Suns VirtualBox tools on a Centos Virtual Machine

If you get the error Could not find the Linux kernel header files – the directories/lib/modules/2.6.18-128.el5/build/include and /usr/src/linux/includedo not exist. Then you need to install the following packages. yum install kernel sources yum install kernel-devel yum install gcc Create the … Continue reading

Posted in Centos 5.2, Command Line, VirtualBox | Leave a comment