Amazon Linux 2 Install MySQL 8 server and client on Amazon Linux 2 Arm and x86_64 Install MySQL 8 server and client on Amazon Linux 2 aarch64 and x86_64
Cassandra Taking a complete backup of Cassandra DB Since there is no direct way to take the DB backup of entire Cassandra with all the key spaces, this blog will help.
Amazon Linux 2 Enforcing a good password policy on Amazon Linux 2 Set a good password policy on Amazon Linux 2
Amazon web services Setting up Google Authenticator MFA on Amazon Linux 2 Set up a Google Authenticator based TOTP MFA for your Amazon Linux 2 server.
Wordpress Increase the max file upload size in Wordpress Increase the maximum file upload size in Wordpress easily when running wordpress with their official docker container.
linux Configure Nginx for path based deployment of multiple apps Usually we set up separate UI elements and API as separate domains for the ease but here we are doing the same thing based on path.
Amazon web services Monitor your external APIs with AWS Cloudwatch - Synthetics Canaries Learn how and why you should start using AWS cloudwatch Sythetics Canaries for your monitoring needs.
Uninstall bloatware from Android My Samsung Galaxy M30s comes with a lot of bloatware and during each updates, Samsung intorduces new bloatware. Since I wanted to remove them without root, I use this method.
Amazon web services Setting up JMX monitoring with Zabbix for Tomcat Setting up JMX monitoring of Tomcat or a standalone application can become a bit confusing. It has lots of little caveats. This blog addresses that.
Logging bash commands I once had a requirement to log bash commands and I checked many solutions like Snoopy [https://github.com/a2o/snoopy], but none of them were proper for a production environment. So the below is the most simple method to add logging to bash in Linux. Steps Modify bash config
linux Differences in du and df command results If you find a difference in the outputs of du and df command and want to know how to fix it or how it happened, read this blog.
Amazon web services Taking snapshot of AWS ElasticSearch Steps to create a manual snapshot of AWS ElasticSearch
Amazon web services Setting up Let's Encrypt on Amazon Linux 2 in AWS Set up a Let's encrypt certificate on an EC2 instance running Amazon Linux 2 and renew it automatically with AWS Route 53 DNS validation.
azure Uploading SSL certificate to Azure Application gateway Convert SSL to pfx format and upload it to Azure Application Gateway
Amazon web services Enable logging in Amazon ElasticSearch - Cloudformation If you use cloudformation and is facing difficulties while setting up logging in for ElasticSearch, this blog will help you ElasticSearch cloudformation Following is a sample cloudformation template for creating ElasticSearch. It is a part of a nested stack and hence some parameter input validation and things like that are
azure Add additional disk in Azure Virtual Machine - No downtime If you have a virtual machine in Azure which is running out of space, follow the below instruction to add additional disk to the VM. As usual, like all other Azure things, increasing the capacity of a volume is not simple or intuitive like AWS. Increasing the disk space of
Amazon Need to save some AWS bill quickly? Upgrade to gp3 Procedure for gp2 gp3 upgradation and performance considerations
dd command Home automation with Home Assistant If you want a live view of your house using cameras, automatically controlled lights or other appliances with an app or through set rules and a lot of other things that makes your home smart, this is the blog for you. Assumptions Following are the assumptions I am making about
bind mount Why there was an outage for my site recently - 2 Unlike the previous one, this was not because it was costly. This occurred because I wanted to update WordPress to 5.6. The WordPress 5.6 update is actually fine as is but I’m running this site as a docker with proxy through HTTPD. This for some reason caused
Finding the max file count in Linux Introduction There are multiple instances where you’ll need to know the number of files that are kept open by a process, or see those files etc. If you are working on production environments, using commands like lsof or pfile etc will not be possible because you cannot install them
elastic search SSH Tunneling We have been in situations where we have a server or a service like RDS (Database), Elastic Search, etc. that are in a private network like a VPC (AWS) or a VN (Azure). Putting them as public to access them from the local machine is not secure and it is
application gateway Add basic auth in Tomcat 8.5 Open tomcat-users.xml with the following command sudo vim /usr/share/tomcat/conf/tomcat-users.xml Enter the following content inside the <tomcat-users> </tomcat-users> tag <role rolename="tomcat"/> <user username="the-user-name" password="th3-p@$$w0rd" roles="tomcat"