Centos 6 Build

Build goes here

Install python2.7 without breaking Centos internals. (link)

sudo yum update # update yum 
sudo yum install centos-release-scl # install SCL
sudo yum install python27 # install Python 2.7
scl enable python27 bash
cd /opt/rh/python27/root/usr/bin/ # cd to the directory where SCL installs python 
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./easy_install-2.7 pip
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./pip2.7 install requests

Note that using the SCL python2.7 is not as straight forward as it should be. (link)

 

If using “Let’s Encrypt” then you’ll need to update to python 2.7

Compiling handbrake on centos

Reference pulled from Ben’s Journal.

 

The fix turned out to be as follows. I edited the file:

 ./contrib/libvorbis/module.defs

and changed:

 LIBVORBIS.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv;

to:

LIBVORBIS.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; sh autogen.sh;

(and yes, that trailing ‘;’ is necessary)

Spacewalk Installation on EPEL 5 WIP

We will be doing an install using PostGresql for the database.

  1. rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  2. rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/5/x86_64/spacewalk-repo-1.7-5.el5.noarch.rpm
  3. yum install spacewalk-postgresql

References

  • http://www.darkoperator.com/blog/2011/12/16/spacewalk-15-basic-installation-for-package-management.html
  • https://fedorahosted.org/spacewalk/wiki/HowToInstall
  • Download: http://spacewalk.redhat.com/yum/
  • http://www.itzgeek.com/how-tos/linux/centos-how-tos/installing-spacewalk-on-centos-6-rhel-6.html#axzz2sN5vOG39
  • http://www.linuxtoday.com/infrastructure/2007042500626INHLRH
  • http://www.linuxtoday.com/upload/spacewalk-installation-tutorial-step-by-step-on-centosrhelfedorascientific-linux-130526181014.html