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: […]
Linux how to change interface name
When cloning vm’s inside a ESX I always get a eth1 instead of eth0. So here is what I do to fix that. Step #1:Get Mac ifconfig -a | grep hwaddr eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 Step #2: Rename eth1 […]
CES 3.0
Testing Centreon Enterprise Server 3.0 Basic howto: http://documentation.centreon.com/docs/ces-documentation/en/latest/installation/getting_started.html The instalation was very smoth it is now integrated with anaconda, OS install. Now testing the imports