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: , , ,

CentOS7 change interface name

August 14th, 2014 No comments

In CentOS7 or RedHat7 again we have funky strange network interfaces names…

To change the name back to eth0 just follow:
1. Rename the device name
vi /etc/sysconfig/network-scripts/ifcfg-ens**
2. Rename the file
mv /etc/sysconfig/network-scripts/ifcfg-ens192 /etc/sysconfig/network-scripts/ifcfg-eth0

Continue reading “CentOS7 change interface name” »

Categories: HowTo, Linux Tags: , , ,

Sencha Javascript Ext JS Example

July 26th, 2014 No comments