Procedure how to add a RAM HD into Linux, tested on RedHat/CentOS # grubby –update-kernel=`grubby –default-kernel` –args=’ramdisk_size=2048000′ # reboot … after boot … # dd if=/dev/zero of=/dev/ram1 bs=1k count=2048000 # mkfs -t ext3 -j -m 0 /dev/ram1 # mkdir /mnt/ConversaoMem […]
varnish dynamic backend
Varnish pointing to a Amazon ELB (elastic load balance) does not work. Error: Backend host “XXXXXXXXXXX-123456789.us-east-1.elb.amazonaws.com”: resolves to multiple IPv4 addresses. Only one address is allowed. I wrote this script to have a way to auto update the vcl once […]
How to use lftp
This is a quite handy command, of course you have also curl and wget. But I kind of like lftp because there is so many diferent configurations that can be set, it seems it also work for torrents! The configuration […]
check_aws.sh
I wrote this script to monitor my Amazon EC2 servers and LoadBalancers, this script is able to get any metrics avaiable at the cloud-watch. For it to work you will need the amazon api commands working, here is how to […]
How to setup aws cmd line tools
To be able to execute the many API command line tools you will need to setup and configure the authentication correctly. This will help you to do just that. 1. Download the Autoscalling CLI, CloudWatch and ec2-API-Tools cd /opt wget […]
auto scale script
This can help if you are creating any kind of auto scale on Amazon AWS. It is not a 100% automatic, as you will need to prior to running this have: Pre-requisites on how to run the AWS command lines […]
Fix Install of Citrix Reciever on Ubuntu 12.04 x64
Fix Install of Citrix Reciever on Ubuntu 12.04 x64 I had two errors: 1. /var/lib/dpkg/info/icaclient.postinst: 696: /var/lib/dpkg/info/icaclient.postinst: nspluginwrapper: not found 2. dpkg: error processing icaclient (–install): Solution: 1. sudo apt-get install nspluginwrapper 2. sudo vi /var/lib/dpkg/info/icaclient.postinst Find echo $Arch|grep “i0-986” […]