CODE

How to Host a Website on Raspberry Pi

How to Host a Website on Raspberry Pi

A Raspberry Pi is a small, affordable, and power-efficient computer that can easily be used as a web server. By installing a web server software on a Raspberry Pi, you can host websites from your home, office, or anywhere else with a stable internet connection. In this blog, we will go over the steps to set up a Raspberry Pi as a web server and also discuss its pros and cons, as well as comparing it with hosting websites on cloud platforms like Amazon Web Services (AWS) or Google Cloud.
How to keep Elastic Search Clean

How to keep Elastic Search Clean

Elasticsearch is a powerful search engine that can help you search, analyze, and visualize your data. However, as you add more and more data to your Elasticsearch indices, they can become cluttered and difficult to manage. In this blog, we will discuss how to keep your Elasticsearch indices clean and organized, as well as provide some shell scripts to help you automate the process. First, let’s define what we mean by “clean” Elasticsearch indices.
Service Manager for Linux operating systems - systemctl

Service Manager for Linux operating systems - systemctl

systemd is a system and service manager for Linux operating systems. It provides a standard way to manage services, and it is the default init system for many popular Linux distributions, including Ubuntu. One of the tools that is provided with systemd is systemctl, which is a command-line utility that allows you to control the state of systemd and the services it manages. In this blog post, we will discuss the basics of systemctl and how it can be used to manage services on an Ubuntu system.
Ubuntu NTP (Network Time Protocol) Setup

Ubuntu NTP (Network Time Protocol) Setup

Network Time Protocol (NTP) is a networking protocol used to synchronize the clocks of computer systems over a network. It is designed to ensure that the time displayed on all computers in a network is accurate, even if some of the computers have incorrect or outdated clock settings. NTP is particularly useful in environments where multiple computers need to coordinate their actions or share time-sensitive information, such as in a distributed database or a network of servers.
Plex Server Alerts in Telegram Using Node Red

Plex Server Alerts in Telegram Using Node Red

Wouldn’t it be nice if you could receive a notification in telegram when a movie starts playing in you plex server? In this Article, We will learn how to setup a bot and make it send notifications when a movie starts playing in plex. Before you Start Before you start you would need the following… PLEX Server : You will need a plex server running in any of your home servers.
Planted Aquarium — Automated Time Lapse

Planted Aquarium — Automated Time Lapse

Just Planted Aquarium? NO. You can create a TimeLapse Video for every use-case you can think of. Today, I will show you how I created an Automated TimeLapse for my Planted Aquarium. Here is the latest TimeLapse : https://github.com/amithgc/aquarium-photos/blob/main/gif/animation.gif Before you Start Before you start, you would need the following… A Camera : To capture the Images Yes, You will need a camera. I used a TP-LINK 3MP (Tapo 110) .
Monitor Api Response Time in SprintBoot Using Grafana

Monitor Api Response Time in SprintBoot Using Grafana

API Response time — Response time is the amount of time a system takes to respond to a request once it has received one . For example, the time between the instant we execute an API and this API returns the result of its computation, that’s the response time. As of today, There are numerous ways to monitor spring boot applications and the API response time. But, Many of the cases when your production environments are running old versions of Spring or there are legacy code where you will not be able to utilise the latest frameworks.
SendGrid Send Email Script

SendGrid Send Email Script

Send EMAIL via SendGrid API using Shell Script We had a requirement to send the Emails via SendGrid using a shell script, SendGrid does expose their HTTP API’s. Below are some cURL examples for several basic use cases to get you sending email through SendGrid’s v3 Mail Send endpoint right away! curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"personalizations": [{"to": [{"email": "recipient@example.
Track SSH Logins via Telegram

Track SSH Logins via Telegram

If you are a Dev-Ops Engineer, You and Your team may want to keep a track of who is logging in to which Servers/Virtual Machines. In this article, We will learn how to create a Telegram Bot and write a shell script to send messages to Telegram messenger using the Curl command. Then you will also use this shell script to send a notification to your Telegram Channel when a SSH login is detected.