Send apache access log to a mysql database #!/bin/bash # 2015-03-04 Nereu – versao Tomcat #set -x if [ ! -d /usr/local/tmp/his/$1 ] then echo ‘Ops!not found data/produto!’ echo “Uso: $0 YYYYMMDD_Produto” echo “Exemplo: $0 20150508_product” exit 1 fi date […]
Relax and Recover
Relax and Recover (ReaR) http://relax-and-recover.org/ . Thread sobre ReaR na Symantec http://www.symantec.com/connect/forums/netbackup-linux-bare-metal-restore-using-open-source-relax-and-recover-rear . Configurando NFS server # service rpcbind start # service nfs start # service nfslock start # lvcreate –name LV_media –size 4G VG_ROOT # mkfs -t ext4 -O […]
centos 6 change keyboard layout command line
centos 6 change keyboard layout command line vi /etc/sysconfig/keyboard KEYTABLE=”br-abnt2″ MODEL=”abnt2″ LAYOUT=”br” KEYBOARDTYPE=”pc” to exit vi do CRTL-ZZ
tomcat multiple instances script
This scripts is easy to use and creates multiple tomcats on a single server. I still find it amazing and sad that by default and by RedHat support, you can only install a single Tomcat instance per server! This is […]
rtorrent how to
I needed a simple linux torrent client that work via Proxy! I tried Transfer,Deluge,uTorrent(via wine, very buggy!) none of them worked. Deluge has a known bug of using proxy. uTorrent worked for a bit by proxy but very buggy with […]
Centreon Reporting Dashboard Undetermined
Centreon 2.7.x Reporting Dashboard Undetermined There is a problem with centreon Dashboard where it can not generate the reporting correctly. The evidence of the problem is here: su -l centreon -c “/usr/share/centreon/cron/eventReportBuilder” 2016-05-16 12:03:03 – Starting program… 2016-05-16 12:03:03 – […]
