linux two interfaces same subnet

February 27th, 2015 No comments

On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter

Continue reading “linux two interfaces same subnet” »

Categories: HowTo, Windows Tags: , , ,

sudo apt-get update behind proxy

February 26th, 2015 No comments

When using sudo apt-get update behind a proxy you must do
Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”

Categories: HowTo, Linux Tags: , , , , ,

check process uptime

December 10th, 2014 No comments

Simple script to get any linux process uptime.
It could have been done using the /proc/PID too.

Here is the code:

Continue reading “check process uptime” »

Categories: Nagios, plugins Tags: , , , ,

how to install zabbix on centos

November 19th, 2014 No comments

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 php-gd.x86_64 gcc

Continue reading “how to install zabbix on centos” »

Categories: HowTo, Linux Tags: , , , ,

script to autoinstall vmware tools

November 19th, 2014 No comments

Login VSphere
Choose the VM
> Guest > Install VMware Tools
Conect via Console VMWare vSphere (not SSH), run the script:

Continue reading “script to autoinstall vmware tools” »

Categories: HowTo, Linux Tags:

error while loading shared libraries:

November 19th, 2014 No comments

error while loading shared libraries: cannot open shared object file: No such file or directory
error while loading shared libraries: wrong ELF class: ELFCLASS32

Continue reading “error while loading shared libraries:” »

Categories: HowTo, Linux Tags:

rdesktop ERROR: recv: Connection reset by peer

October 28th, 2014 No comments

rdesktop ERROR: recv: Connection reset by peer


Run > SystemPropertiesRemote.exe
deselect “Allow connections only from computers running Remote Desktop with NLA”

Continue reading “rdesktop ERROR: recv: Connection reset by peer” »

Categories: HowTo, Linux Tags:

AWS Certified Solutions Architect

October 27th, 2014 2 comments
Categories: Amazon-AWS, HowTo Tags: , ,

How to restream mms to wowza

October 17th, 2014 No comments

How to restream mms to wowza (Centos 6 and Linux AMI)

Add these repos

name=CentOS-6 – Base
includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM

Continue reading “How to restream mms to wowza” »

Categories: Amazon-AWS, HowTo, Linux Tags: , ,

vbs ftp sync script

September 11th, 2014 No comments

We are using this script with jenkins to deploy “upload” a specific folder to a remote FTP. I used the winscp.exe synchronize command for it.

Continue reading “vbs ftp sync script” »

Categories: VbScripts Tags: , , ,