install yum centos 5

There is a simple way to install yum, even if you do not have the CD/DVD. CENTOS 5 64 bits. Just run rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/readline-5.1-3.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-2.4.3-43.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm […]

Tags: , , , , , , , ,

Install Nagios on CentOS

Nagios 3 Quick Install on CentOS This is short/fast HowTo Install Nagios 3 on CentOS/RedHat 5 64bits ::INSTALL NAGIOS:: rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum update vim /etc/selinux/config SELINUX=disabled reboot yum -v -y install libstdc++-devel gcc-c++ httpd gd gd-devel kernel-devel openssl-devel perl-DBD-MySQL […]

Tags: , , , , , , , , ,

Varnish security.vcl

How to setup Security.vcl on Varnish 3.0 Download it wget https://github.com/KristianLyng/varnish/tree/my2.1/varnish-tools/security.vcl # cd vcl/ # make # cp -a vcl/ /etc/varnish/security.vcl/ (alternatively you could symlink it, of course). Now all it has to be done is edit your normal VCL […]

Tags: , , , , , , , , ,

How to setup sshguard

How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]

Tags: , , , , , , , ,