March 25, 2017

Adding CentOS 5.6 to a local YUM Repository

centos

NB! Please read creating a Local CentOS YUM repository on CentOS 5.x before implementing.

Adding CentOS 5.6 to the YUM repository script

Create the following additional directories for CentOS 5.6:

Add the CentOS 5.6 repository to the bash script which will rsync your local YUM repository server with a CentOS 5.6 YUM mirror.

CentOS Mirror list – http://www.centos.org/modules/tinycontent/index.php?id=30

Upgrading from CentOS 5.5

If you are already running CentOS 5.5 or an older CentOS 5 distro, all you need to do is update your machine via yum by running :

Installing SSMTP on CentOS 5.6

CentOS Logo This tutorial will guide you through installing SSMTP on CentOS 5.6

SSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things – no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. WARNING: the above is all it does; it does not receive mail, expand aliases or manage a queue.

Firstly lets install the EPEL repository as SSMTP is not native to CentOS 5.6 base installations.

Install the EPEL i386 YUM Repository

# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Remove Sendmail as the binaries can conflict.

Now install SSMTP

[Read more…]