Git is a very popular tool among the developers to keep track of changes in their code and manage their projects better. One of the most important feature of Git is called branching. Which helps us to create different versions of our project and work on them separately. In this article, we will learn how to make an empty branch in Git using the –orphan option. An “orphan” branch in Git is a branch that doesn’t have a parent branch. This means it doesn’t include any of the history from the main or any other branch. This is useful when…
Author: Rahul
A Virtual Environment provides an isolated environment for your application. That helps to maintain multiple Python applications on a single machine without any module conflicts. Once we create a activate the virtual environment, all the remaining activities are performed under that environment. It also helps to migrate the application to a new system. In the previous article, you have learned about the installation of Python on a Windows system. This tutorial will help you to create a virtual environment in a Python application on Windows systems. Create a Virtual Environment in Python A Python module venv is available by default…
Certbot is a free tool that helps manage Let’s Encrypt certificates. With Certbot, you can create certificates with one simple command and set up web servers easily. By default, Certbot saves all certificates in the directories listed below. We don’t recommend deleting files manually. In this guide, we will show you how to delete old SSL certificates using Certbot’s command line. /etc/letsencrypt/live /etc/letsencrypt/renewal /etc/letsencrypt/archive How to Delete a Let’s Encrypt SSL Certificate Certbot lets you delete certificates automatically. To remove a certificate, use this command: sudo certbot delete This command will show a list of domain names. Choose the number…
The Ubuntu 17.10 and later systems use the Netplan as a new command-line utility for managing network interfaces. It works with the Systemd-networkd or NetworkManager renderes. Netplan configuration files are written in YAML format, allowing you simple-to-complex networking configurations. Which work from the Desktop to the server and from the cloud to IoT devices. This article will help you to configure static IPv4 addresses on Ubuntu systems using the Netplan command-line tool. We have recently tested this article with Ubuntu 24.04 LTS system. Step 1: Check the Network Interface Name The first step is to find the network interface name,…
In Linux, links to files are created in the same way that references to files are created in most common programming languages. These links are divided into two categories: hard and soft links. A hard link is effectively an identical replica of the file, therefore the hard link and the actual file will both have the same inode. A soft link, also known as a symbolic link, functions similarly to a shortcut or pointer to a file. It is not an exact replica of the file, but rather a pointer to the original. The inode values of a soft link…
Apache Solr is a highly reliable search platform written in Java and developed by Apache Foundation. That provides production-level features like distributed indexing, replication, load-balanced querying, automated failover, and recovery. The default Apache Solr runs on localhost only. It doesn’t allow users to access it over the network. In this tutorial, we will learn how to change configure the Apache server to listen on a LAN network or the public network. Prerequsities Assuming that you already have installed and running Apache Solr on your System. You also have administrative privileged account access to your system. Change Apache Solr Listening Host…
XRDP is a software that lets you use Remote Desktop Protocol (RDP) to connect to a computer. It runs on Linux and uses a DisplayLink device. The connection between the client and the server is secure with TLS encryption. XRDP is simple to set up and customize on Ubuntu. You can also use a VNC server to access your Ubuntu remote desktop. Check out this tutorial on installing a VNC server on Ubuntu. In this guide, we will show you how to install and set up XRDP on Ubuntu 24.04 and 22.04. We will also cover some common configuration tasks.…
Environment variables are a crucial aspect of any operating system, allowing users to store and manage system-wide or user-specific data, and configure applications or services. In Ubuntu, environment variables are used to customize the behavior of the shell, define paths, and store settings for various software. In this comprehensive guide, we will explore how to set up and manage environment variables on Ubuntu effectively. 1. Understanding Environment Variables Environment variables are key-value pairs that can be accessed and modified by various applications and services running on your system. They store data such as: System and user paths API keys and…
A shell script is a collection of commands to perform a specific job. MySQL is a relational database management system widely used on Linux systems. Amazon S3 is a cloud storage device provided by Amazon Web Services. It’s a good practice for the system administrator to back up databases at regular intervals and store them in a remote location like Amazon S3. A Simple Bash Script for MySQL Database Backup An Advance Bash Script for MySQL Database Backup This tutorial contains a shell script that creates MySQL databases backup and uploads them to Amazon S3 buckets. You can also use…
Apache Maven is a powerful build and project management tool for Java projects. It is an open-source tool developed by the Apache Software Foundation and is used for managing projects written in Java and other languages. It is a popular tool for managing software builds, as it allows for quick and easy deployment of projects. It also provides a wide range of features including dependency management, project structure, and configuration. One of the key advantages of using Apache Maven is that it allows for the easy integration of external libraries into a project. This makes it easier to create complex…