Tag: RHEL5

  • Compile an SRPM

    Download SRPM into a directory of choice. Generally files out to go into: /usr/src/redhat/SRPMS Then run: rpm –rebuild <file>-<version>.src.rpm This will then build the new RPM. Everything will then happen automatically, and the newly built RPMs will go here: /usr/src/redhat/RPM/<cpu-type> If the configuration file needs to be changed then run: rpm -i <file>-<version>.src.rpm The spec…

  • Using Oracle InstantClient 11g with PHP onto RHEL 5 with SELinux

    This is an example of using the Oracle InstantClient 11g with PHP. Installation InstantClient for PHP This is based on work from the past – but I appeared to have done the following: Installed InstantClient and Pear to manage the php installation. sudo yum install php-pear sudo rpm -ivh oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm sudo rpm -Uvh oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm Update…