How to install Zabbix yum -y update yum -y install httpd php php-cli php php-ctype php-bcmath php-xmlreader php-xmlwriter php-xmlwriterfping libcurl libiksemel net-snmp php-net-socket php-mbstring php-gettext mysql mysql-server mysql-devel.x86_64 php-mysql.x86_64 libxml2-devel.x86_64 libxml2.x86_64 libxml2-static.x86_64 net-snmp-devel.x86_64 net-snmp-libs.x86_64 net-snmp-utils.x86_64 libcurl-devel.x86_64 libcurl.x86_64 curl.x86_64 gd.x86_64 gd-progs.x86_64 […]
How to connect NFS with a specfic user under CentOS/RedHat 6
How to connect NFS with a specfic user under CentOS/RedHat 6 ##SERVER SIDE## 1. On server side must have the insecure option enabled edit /etc/exports /exports/real 192.17.36.147/255.255.255.255(rw,nohide,insecure,no_subtree_check,sync) 2. Make the change exportfs -ra 3. Make sure it is running rpcinfo […]
How to use lftp
This is a quite handy command, of course you have also curl and wget. But I kind of like lftp because there is so many diferent configurations that can be set, it seems it also work for torrents! The configuration […]
How to setup aws cmd line tools
To be able to execute the many API command line tools you will need to setup and configure the authentication correctly. This will help you to do just that. 1. Download the Autoscalling CLI, CloudWatch and ec2-API-Tools cd /opt wget […]
How to convert mkv to avi
It worked for me on Ubuntu 12.10 ffmpeg -i video.mkv -vcodec msmpeg4 -b 24576k -s hd720 -acodec libmp3lame -ab 128k -ac 2 video.avi
How to find and replace text using vi
How to find and replace text using vi or vim Both vi and vim text editor comes with substitute command for finding and replacing text. The syntax is as follows: :%s/WORD-To-Find-HERE/Replace-Word-Here/g OR :%s/FindMe/ReplaceME/g Examples The substitute command can be used […]
How to fix mod_ssl CRIME attack
More detailed information on what and how the attack works is here I will focus only on fixing the problem. On RHEL server 5.x and 6.x the easy way is to simply disable SSL compression. In newer Apache versions this […]
