acsrujan 🧑🏻‍💻🧗🏻‍♂️📜
  • Story
  • Engineering
  • Travel
  • Contact
  • Photos
  • X
  • LinkedIn
  • Github
Sign in Subscribe
Engineering👨‍💻

mysql config check

mysqld --help --verbose will show variables that'd be loaded if process mysqld
Read More
Srujan
Engineering👨‍💻

mysql reset root password

sudo service mysqld stop sudo su - mysql /usr/sbin/mysqld --skip-grant-tables
Read More
Srujan
Engineering👨‍💻

Migrate mysql with minimal downtime

1. Login to existing mysql server. 2. Change the configuration /etc/my.
Read More
Srujan
Engineering👨‍💻

Change log from git commits

Git commits aren't the perfect way to communicate change logs, however it
Read More
Srujan
Engineering👨‍💻

Amazon EBS backup + LVM

No-nonsense steps: Backup mechanism: 1. Tag volumes of the attached instance with
Read More
Srujan
Engineering👨‍💻

Debugging Connections

To find number of unique connections per IP address, sorted from max
Read More
Srujan
Engineering👨‍💻

Setting AWS Cloudwatch alarms

aws cloudwatch put-metric-alarm --alarm-name "application-name-cpu" --metric-name CPUUtilization --namespace AWS/EC2 --statistic Average
Read More
Srujan
Engineering👨‍💻

Debugging Disk space

To find top 10 files eating up disk space -- du -kh
Read More
Srujan
Engineering👨‍💻

nginx ELB dns refresh

If you're proxying from nginx to an ELB endpoint, either CNAME or
Read More
Srujan
Engineering👨‍💻

Linux file permissions in a nutshell

Every file and directory in linux have their own permissions. They decide
Read More
Srujan
Engineering👨‍💻

Quick reference links for programmers

Generic 1. What is Recursion [http://stackoverflow.com/a/717839/3834860] 2.
Read More
Srujan
Engineering👨‍💻

Change username of a debian user

Ensure that there's no process running by the user you're modifying. ps
Read More
Srujan
acsrujan 🧑🏻‍💻🧗🏻‍♂️📜 © 2025
Powered by Ghost