How to get a Shell Prompt from multiple servers and run commands on them ? Clush

Hits: 607 When you have  a bunch of servers that are configured the same and need to run the same task on them you will need a tool that does that. There are several Open Source tools. I was asked to write such a script but quickly fell upon several really popular scripts. The perfect …

How to Install and use Lsyncd on CentOS 7 / RHEL 7 / Amazon Linux

Hits: 1918To install lsync on Amazon Linux fist add EPEL repositories: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm also see: http://www.marcburrows.com/using-lsyncd-with-aws/ Allow the Master Server to connect to the slave server without a password On the master server, log in through putty and run the following: ssh-keygen -t rsa You will get asked to enter the file in which …

Configure a DNS record set change-resource-record-sets — AWS CLI 1.15.35 Command Reference

Hits: 4451To list your resources aws route53 list-hosted-zones aws route53 list-resource-record-sets –hosted-zone-id BLABLALA –query “ResourceRecordSets[?Name == ‘example.domain.’]” Use this output as the base for rebuilding the input Json file. You can write a Jason File to input into this aws route53 change-resource-record-sets –cli-input-json –cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the …

How to clean up mysql installation on centos / Amazon Linux ? I want to make simpler servers available for my Charming Customers

Hits: 236 Some time we faces issues with MySQL installation on Linux machine. If we simply remove MySQL packages and re-install doesn’t fixes the issue, in that case old settings may still exists on server which again affects new install. In that case first uninstall MySQL completely from system and erase all settings of old …

vTiger 7 Webforms broken – fields, form, 500 error in – Here’s the fix for  CRM

Hits: 4092Vtiger WebForms don’t work, so here is a quick and needed fix. Vtiger version 5, 6 and 7 have issue creating webforms to capture leads from their website. They have added the ability to have the form work with other modules than just leads, but it still didn’t work. Install OpenSource Charming CRM. Everything …

How to get reverse DNS for your EC2 instance as well as to raise email sending limit. Amazon Web Services

Hits: 3855 Request to Remove Email Sending Limitations In order to maintain the quality of Amazon EC2 addresses for sending email, we enforce default limits on the amount of email that can be sent from EC2 accounts. If you wish to send larger amounts of email from EC2, you can apply to have these limits …

MongoDB Community Edition on Centos and Redhat and Amazon Linux

Hits: 1171The Mongodb Community Edition is a great NoSQL solution. Below you can find directions and links to install it from a repository as well as from a Preinstalled Ec2 Server https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/ Configure the package management system (yum). Create a /etc/yum.repos.d/mongodb-org-3.4.repo file so that you can install MongoDB directly, using yum. Changed in version 3.0: …

Recommended Network ACL Rules for Your #VPC – @Amazon Virtual Private Cloud – Be sure to use correct Region

Use NACL on AWS VPC as a firewall

Hits: 471Easy way to block simple attacks from a single IP address or a a few on the same network. Until I automate the a block script, I did this manually, but first I was connected to the wrong region. There are really intelligent hacks, then there are medium intelegence hacks, and there are just …

Docker: Remove all images and containers docker rm $(docker ps -a -q) && docker rmi $(docker images -q)

Hits: 676Remove those Docker containers and images. Sometimes you need to start from scratch, even though Docker keeps each image and container separate from the rest, you still might want to clean clogged up disk space, have several similarly named projects and more. The following commands work for Linux containers as well as for  Windows …