How to run Django on a subpath

23. June 2019 AWS 0
Today, we were trying to run the Django application on a subpath say /backend/ . We were able to run it but some url redirection from the application were still pointing it to the / url instead of /backend/ Let me share the configuration a high level, please comment if you need any clarrification. My ...

How to add a new check in Uptimerobot via API

12. September 2018 API, Monitoring 0
How to add a new check in Uptimerobot via API
Today I was thinking to automate the new addition of website check to our monitoring systems. Since we are using multiple providers for website monitoring, it is a headache to go to each portal and add the website to the portals. So, I have decided to add a Jenkins key where a single click will ...

Ansible Playbook – Hostname in Command line

03. September 2018 SysAdmin 0
Ansible Playbook – Hostname in Command line
Today I was thinking about passing the host IP on the ansible-playbook I’m going to run to automate something. As per the documentation, it says  –i hostname in a comma separated input will work fine. I was trying to give the IP like ansible-playbook playbook.yml -i 1.1.1.1 in the playbook command line and it was not working, then I figured out that we need ...

AWS Autoscaling is not working. Seems stuck

19. February 2018 AWS 0
AWS Autoscaling is not working.  Seems stuck
Issue Today I was working on a modifying autoscaling group and playing with some options in suspended action. After testing the things, I found that the new instances were not launching even if I haven’t suspended that action.   Debug As I checked, I had kept “Terminate” in the suspended action in the Autoscaling Group ...

How to Install RedMine on CentOS 7

29. January 2018 CentOS, RHEL, SysAdmin 2
How to Install RedMine on CentOS 7
Install Software Collections yum -y install yum-plugin-priorities Add [priority=1] to official repository sed -i -e "s/]$/]npriority=1/g" /etc/yum.repos.d/CentOS-Base.repo yum -y install epel-release Add [priority=5] to the EPEL repo sed -i -e "s/]$/]npriority=5/g" /etc/yum.repos.d/epel.repo Add CentOS SCLo Software collections Repository. [[email protected] ~]# yum -y install centos-release-scl-rh centos-release-scl Add [priority=10] to the SCL repository [[email protected] ~]# sed -i ...