When monitoring a server process/services using check_procs plugin On new servers x64 many times you will get this error # ./check_procs -bash: ./check_procs: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory The solution is to install: glibc.i686 : The […]
Test Browser ID
Found out a cool site that checks the ID of a user/browser. This is what they do: “We investigate the degree to which modern web browsers are subject to device fingerprinting” via the version and confgura- tion information that they […]
yum download package
There is a way to only download the rpm package from a repository using RedHat/CentOS 6.x yum install yum-plugin-downloadonly yum install –downloadonly –downloaddir=/tmp nmap To download a package already installed use yum reinstall –downloaddir=/tmp –downloadonly php-common.x86_64
varnish performance analyser
A script to get the time of each requests and verify how long it took. Example req | [0,1[ | [1,2] | ]2,3] | ]3,4] | ]4,5] | <=10 | <=15 | >15 | min | […]
How to add a disk to lvm
Add disk and expand in a Logical Volume no reboot, but not for /root /(boot). Tested in Linux CentOS/RedHat 5.7 /var First add a disk in (VMWare) Scan echo “- – -” > /sys/class/scsi_host/host0/scan fdisk -l fdisk /dev/sdb n,p,1,w Format […]
vimrc example
This is a nice vi / vim color schema Edit ~/.vimrc set cindent set shiftwidth=3 set tabstop=3 set expandtab set ruler ” some colors: “white on black” hi normal ctermfg=white ctermbg=black guifg=white guibg=black hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black […]
Change Netflix region
There is a simple way to watch the US netflix, change your DNS. Thats pretty much what sites like http://www.unblock-us.com/ offers for $5 a month. The way I did was: nslookup server 208.122.23.22 > netflix.com Server: 208.122.23.22 Address: 208.122.23.22#53 Name: netflix.com […]