I passed my AWS Certified Solutions Architect exam, I got certified ! I did have over 1 year expierence before taking the exam. There were lots of questions about EBS,AutoScale,ElasticIP,VPC,etc… I remember little about specific questions, I only had one […]
How to restream mms to wowza
How to restream mms to wowza (Centos 6 and Linux AMI) Add these repos /etc/yum.repos.d/centos.repo [centos] name=CentOS-6 – Base baseurl=http://mirror.centos.org/centos/6/os/x86_64/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 enabled=1 priority=1 protect=1 includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM /etc/yum.repos.d/dag.repo [dag] […]
CentOS7 change interface name
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 3. add net.ifnames=0 biosdevname=0 to […]
Sencha Javascript Ext JS Example
http://www.sencha.com/products/extjs/up-and-running/extjs-hello-world The output is here: http://xoroz.com/test/extjs.html Very cool demo examples:
Javascript CREATING OBJECTS AND METHODS
(function() { //variables defined here will disappear after it ends //same happen with invoed functions within var localVar = .. ; function localFunc() { localVar = 99; //uses the previously variable that can be used within last function } localFunc() […]
Benchmark a SSD
I used the sysbench tool, more info at sysbench –test=fileio –file-total-size=1G prepare sysbench –test=fileio –file-total-size=1G –file-test-mode=rndrw –max-time=300 –max-requests=0 run sysbench –test=fileio –file-total-size=1G cleanup RESULT: sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 […]
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found
ERROR: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found Testes on CentOS 6.4 x64 with Tomcat 6 Instalar o APR, ——————- Install pre-req: yum install apr apr-devel openssl-devel gcc Download tomcat-native-1.1.30-src.tar.gz: […]