Install Ruby 1.8.7 from sources in Centos 5.5

Centos 5.5 official repository is rather outdated for today so the latest Ruby available there is 1.8.6. If you need a newer version e.g. 1.8.7 you should install if from sources: 0. Install prerequisites: sudo yum install gcc zlib zlib-devel 1. Download the latest version of Ruby from project’s FTP: cd /usr/src/ sudo -s wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz tar -xvzf ruby-1.8.7.tar.gz cd ruby-1.8.7 ./configure –enable-pthread make make install 2. Check ruby’s version […]

Read more →

 

Cisco GRE example setup

Hosts from LAN1 should be able to access hosts at LAN2 and vice-versa through GRE tunnel between R1 and R2. ISP doesn’t care what networks are behind R1 and R2 so the only way to establish connection between LAN1 and LAN2 is to use VPN, in this example we use GRE. GRE setup example topology

Read more →