How can git be installed on CENTOS 5.5?

If you are using CentOS the built in yum repositories don’t seem to have git included and as such, you will need to add an additional repository to the system. For my servers I found that the Webtatic repository seems to be reasonably up to date and the installation for git will then be as … Read more

CentOS /dev/bus/usb structure

You must upgrade following packages if you have the old versions of them. libusb1-1.0.8-0.1.el5.i386.rpm libusb1-devel-1.0.8-0.1.el5.i386.rpm libusb1-static-1.0.8-0.1.el5.i386.rpm And then you need to create “usb/bus/001/” directory under “/dev/” directory. if the problem will not solved. you can make node with “mknod” command.

Upgrade CentOS 5.x to CentOS 6.x – tips and techniques

We recommend everyone run through a reinstall rather than attempt an inplace upgrade from CentOS-4 or CentOS-5! Source: http://lists.centos.org/pipermail/centos-announce/2011-July/017645.html You can run this upgrade centos6 just by using yum upgrade –enablerepo=centosplus. Do not forget: each system running centos is individual (!). I recommend you to test this upgrade on a virtual machine before upgrading (i … Read more

where is my php installation path

I would recommend creating a new test.php files and inserting this code: <?php phpinfo(); ?> Then browse to test.php in a browser. This should give you a lot of information on php. If you installed via an rpm also try rpm -ql php or find / -name php.ini

yum should error when a package is not available

As you’ve found, this behaviour changed between RHEL 5 and 6 (see https://bugzilla.redhat.com/show_bug.cgi?id=736694 for some discussion). From that link, checking the return code of yum info <pkg> should allow you to abort your script as required. Something like: # Set a variable containing the packages to install: pkgs_to_install=”another_package.x86_64 some_package.x86_64″ # Loop over the packages in … Read more