How to setup Cluster on Glassfish v3 This how to imposes that you already have glassfish v3 setup and: – running under the user “fish” – have ssh key trust between both servers (howto setup that) To setup glassfish it […]
ssh copy key
You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id as explained in this article. The magical 3 commands are: ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host ssh remote-hostls /tmp ssh-keygen […]
How to Install iftop
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.net:81conf 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 […]
