468x60

venerdì 31 ottobre 2014

Linux Server Benchmark

** I/O Benchmark **

- write speed test
dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc

- read speed test
echo 3 > /proc/sys/vm/drop_caches
dd if=tempfile of=/dev/null bs=1M count=1024

- buffer-cache test
dd if=tempfile of=/dev/null bs=1M count=1024

- elimina file temp
rm tempfile


** CPU benchmark **

dd if=/dev/zero bs=1M count=1024 | md5sum

giovedì 30 ottobre 2014

Abilitare la Compressione Gzip su Nginx

Per abilitare la compressione gzip su Nginx bisogna editare il file /etc/nginx/nginx.conf, controllando che siano presenti e non commentate le seguenti righe:
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

Enable Gzip Compression on Nginx

For enabling gzip compression on Nginx it's necessary to edit the file /etc/nginx/nginx.conf, and check if are present and uncommented the following lines:
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

mercoledì 29 ottobre 2014

Google: Security on USB flash drives

Google announced its intention to adopt a new form of strong two-factor authentication technology conforms to the Universal Second Factor developed by Fast IDentity Online (FIDO) Alliance. U2F allows Chrome users to secure access to their Google account through a physical device such as a security USB flash drive. The FIDO Alliance was formed in February last year with the aim of enabling more advanced forms of authentication for the user to ensure access. While the safety key is still an option for users who want a more secure authentication, the current Google Authenticator method can always be adopted.

Google: la sicurezza su chiavette USB

Google ha annunciato di voler adottare una nuova forma di autenticazione forte a due fattori conforme alla tecnologia Universal Second Factor messa a punto dalla Fast IDentity Online (FIDO) Alliance. U2F consente agli utenti di Chrome un accesso sicuro agli account Google attraverso un dispositivo fisico come una chiavetta USB di sicurezza. La FIDO Alliance è nata nel febbraio dello scorso anno con l’obiettivo di abilitare forme più avanzate di autenticazione per l’utente per rendere sicuro l’accesso. Mentre la chiavetta di sicurezza è ancora un opzione per gli utenti che desiderano uno strumento più sicuro di autenticazione, l’attuale metodo Google Authenticator può essere sempre adottato.
468x60

Cerca su Google

Cerca nel Blog con Google