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 […]

Tags: , , ,

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: […]

Tags: , , ,