Hi everyone , recently I came accross a usecase where I had to map multiple keys against one value. So Juggling with this I came to know about MultiKeyMap of apache. MultikeyMap is used to map multiple keys against one value . The purpose of this class is to avoid the need to write code […]
As per Google play services 6.5 Highlights : The ActivityRecognitionClient, LocationClient, and PlusClientclasses are deprecated. If you used those APIs in your app and want to call Google Play services 6.5 or higher APIs, you must switch to the new programming model that utilizes GoogleApiClient. As per docs, GoogleApiClient is able to add the multiple APIs into the single […]
Hello folks. Before diving into the concepts of cgroups and namespaces on ubuntu, there are a few things one must be clear with. 1) Virtualization : Its a method or technique used to run an operating system on top of another operating system. The hardware resources are fully utilized and will be shared by each […]
You must be wondering how to make AMI of the Web Server(EC2 instance) in which you have made some changes. In this blog I will walk you through a script that will ease up your work and make AMI of instances with user specified tags. Consider a use-case where user has made some changes to […]
Configuring server to relay email through Amazon SES will provide easy, real-time access to our sending statistics. It has built-in notifications for bounces, complaints, and deliveries which helps us fine-tune our email-sending strategy. Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. Amazon Simple Email Service Amazon SES […]
Sysdig is a system exploration tool which can be used for system level monitoring of various machines or EC2 instances. It is an open source tool which captures system state and activity from a running Linux instance. The state is then saved, filtered and analysed to give calculated results. System level troubleshooting is very […]
You might be wondering how to audit your Ubuntu server / your Ubuntu local machine. Well, In this blog I will show you how easy it is do so. Auditing can be done by many ways of which few we shall discuss here. There are 3 following scenarios which we will be discussing :- 1.Finding […]
FAIL2BAN Port 80 is used to protect sites from DOS Attacks. Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs — too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary […]
Hello folks, If you are here on this blog, you might be searching for the ways to migrate your existing PHP website to Node.js. In this blog i will try to explain, how you can point your existing domain to nodejs hosting and keep using the cpanel hosting for managing emails for your domain. To […]
Following is an example of testing a method which returns an object of protect class: In the previous blog we talked about fetching the list of message codes from message.properties file. While writing the test case for CustomisedPluginAwareResourceBundleMessageSource, I was not able to test the message properties that are available when your application is actually […]
CloudWatch Logs Monitoring AWS has launched a new feature for monitoring cloud trail logs (CloudWatch Logs). CloudWatch Logs lets you monitor and troubleshoot your systems and applications using your existing system, application and custom log files. CloudWatch Logs can be used to monitor your logs for specific phrases, values or patterns. It has removed […]
Suppose, you have multiple servers running a simple web application on apache or Nginx and you want to put all the error/access logs on a centralized place so that you can troubleshoot your system in case of any error after getting alert notification configured on your logs . Here is an amazing feature of Amazon […]