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 […]
iptables block country script
My own server is daily attacked by SSH scanner and bruteforce scripts. My fail2ban solution But as I get hammered by China’s ssh I got tired of it and block all China SSH access using iptables. The concept is simples, […]
apache tuneup
Apache Tune Up I was able to do about 4K concurrent connections with this setup. Using Centos 6.7 64bit Apache httpd-2.2.15-47.el6.centos.x86_64 a Virtual Machine 4x CPU’s and 4GBs of memory, I have 2 disks, one for /var and other for […]
script to check aws status
This is a bash script made to work with nagios and to automaticly check Amazon AWS status based on the RSS from http://status.aws.amazon.com/ I did find something similar in Ruby I tried to keep it simple as possible… Here is […]
How to mount xfs
How to mount xfs #Find the new disk fdisk -l #Create the partition ( n,1,w) fdisk /dev/xvdf #Needed yum install xfsprogs.x86_64 xfsdump-3.1.3-5.7.amzn1.x86_64 #Make the files system mkfs.xfs -f /dev/xvdf #Prepare the mountpoint mv /opt/ /opt2/ mkdir /opt #Mount it mount […]