How to update the yum repository on Centos 5 server 1) yum install yum-fastestmirror 2) yum install yum-priorities 3) uname -i If the output is i386 then cd /usr/local/src wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 4) Install key rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 5)Install rpmforge rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 6) yum check-update It will take some time to update teh RPM and…
Tag: CentOS
OpenVPN to a VPS… Secure communications…
There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don’t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel. This is a pretty advanced setup but here…
Recursive Grep Command – Recursively Search Through Directories
How to perform a recursive grep on Linux, allowing you to search through files / sub directories for a specific string. How to grep recursively grep -r SEARCHSTRING /home/* Enter your own search in the SEARCHSTRING above… Say for example I am searching for the string class=”author” located somewhere in /var/www/wp-content/themes/your-theme. I would type the…
[warn] _default_ VirtualHost overlap on port 80, the first has precedence Apache
When restarting Apache (or httpd service) if you get the following Apache error: [warn] _default_ VirtualHost overlap on port 80, the first has precedence on Linux (CentOS, Ubuntu, Fedora, etc) chances are you are configuring vhosts or adding additional virtual hosts to your Apache config. You are probably seeing an error similar to the following:…
Installation of OpenSIPS on RedHat Rel5…
The following document will guide you through the installation of the newly released OpenSIPS version 1.5 in Red Hat Enterprise Linux 5.3 along with mysql. I will divide this process in 2 phases: – Installation of Red Hat Enterprise Linux 5.3 – Installation and configuration of OpenSIPS, webmin and mysql The following components and parameters…
CentOS 4: to be “End of Life”
This one is more of a reminder, or for those that may not have heard. CentOS 4.x will officially be “end of life” on Feb 29th. So, What does this mean? CentOS tends to follow the RHEL (Red Hat Enterprise Linux) source tree that it’s based off of. Thus, when a major…
Studying for the RHCE? Check out CentOS!
So, has anyone here self-studied for the RHCE (Red Hat Certified Engineer)? Need longer than the 30 day trial of RHEL (Red Hat Enterprise Linux) to hit the books? Take a look at CentOS! CentOS is quickly becoming the preferred Linux server OS of choice for many people as it is exactly the same as…
Stress testing asterisk… with SIPP….
Introduction This guide will talk about how to stress test an asterisk installation, IE generate calls with in asterisk so you can see at what point your system will start to give bad audio out to a caller. First things first for this you will need: 1 asterisk 1.4 or 1.6 or later installation of…
Simple way to protect asterisk from being hacked… FAIL2BAN…..
Introduction This guide will detail how to install fail2ban on a centos 32bit system with asterisk installed. It is intended to allow you to add an extra level of protection from your asterisk PBX from being hacked. Fail2ban will guard against most services such as SSH and SMTP however this guide will concentrate on protecting asterisk The…
DHCP Relaying over IPSEC with a back end Centos 5.5 server…
Introduction This post is going to be a high level over view of having multiple sites all connecting back to a central office or hosted server in a data center using IPSEC VPN. Before starting make sure you have a IPSEC VPN tunnel up to the office or data center and validate connection both to…