How to Install iftop on RedHat 6 64 bits, CentOS. iftop is a very very cool tool. It displays what connections are made and their usage etc… Script to Install #!/bin/bash #Install iftop RedHat 6 #by Felipe Ferreira http://felipeferreira.netconf July/2011 […]
Varnish security.vcl
How to setup Security.vcl on Varnish 3.0 Download it wget https://github.com/KristianLyng/varnish/tree/my2.1/varnish-tools/security.vcl # cd vcl/ # make # cp -a vcl/ /etc/varnish/security.vcl/ (alternatively you could symlink it, of course). Now all it has to be done is edit your normal VCL […]
How to install varnish
How to install varnish This is a step-by-step on howto setup and run varnish web cache. This was done for Linux RedHat 6 64bits, same works for CentOS 5.5 64bits with varnish 3.0 This install is made of Varnish and […]
Script to autmaticly send Alt-Tab
VBS Script to autmaticly send Alt-Tab and switch opened programs Option Explicit Dim objShell Set objShell = CreateObject(“WScript.Shell”) Do objShell.SendKeys “%+{TAB}” Wscript.Sleep 300000 Loop
How to setup sshguard
How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]
Bash to run after linux installation
Bash script to run post installation of CentOS or RedHat. #/bin/bash # post installation script # # #set -x echo “. Post installation script” # # /etc/hosts # echo “. /etc/hosts” # # nozeroconf # echo “. removendo suporte a […]
glassfish disable trace method
Glassfish can not disable the trace method witch is a security problem! This is what the Oracle support wrote me: I did some testing using the following CLI method because it is not possible to use the GUI to alter […]