Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

We can use replace() method to replace any string or character with another in javascript. It searches for a defined string, character, or regular expression and replaces it. This method doesn’t change the original string but it returns the updated string as result. Syntax: string.replace(old_string, new_string) Replace String in JavaScript with Examples In this tutorial, we will discuss a few examples of replacing strings in Javascript. Let’s try some examples: Here is the first example to initialize a text in a variable, then replace it with another text.

Run the above example and see the results. Thanks to playcode.io…

Read More

Anaconda is an open-source platform that is used for R programming and Python. Which contains a large variety of packages and repositories. It is important in its functionality as it provides processing and computing data on a large scale and also to program in python language. The Anaconda provides an easily manageable environment for python applications. It provides a variety of tools for collecting data from various sources using machine learning and AI. With the help of Anaconda, we can deploy applications with a single button click. This tutorial will help you to install and use the Anaconda on Ubuntu…

Read More

Apache Kafka is an open-source, distributed event streaming platform developed by the Apache Software Foundation. This is written in Scala and Java programming languages. You can install Kafka on any platform that supports Java programming language. This tutorial provides you with step-by-step instructions to install Apache Kafka on Ubuntu 22.04 LTS Linux system. You will also learn to create topics in Kafka and run producer and consumer nodes. Prerequisites You must have sudo privileged account access to the Ubuntu 22.04 Linux system. Step 1 – Installing Java We can run the Apache Kafka server on systems that support Java. So…

Read More

I have an application code maintained in the Github repository. Now our requirement is to create the documentation for that application and save them under a separate branch in the same repository. I simply tried to create a new branch but it linked to the main branch. After googling it, I found an option –orphan to create branch with no parents. This tutorial will help you to create a new empty branch in the Git repository. Git Create Empty Branch We can use –orphan command line option to create a new branch with no parents. git checkout –orphan new-empty-branch The…

Read More

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…

Read More

Certbot is a free and open-source software tool used for managing the Let’s Encrypt certificates. This tool allows users to issue certificates in a single command and also configure the web servers. The default certbot stores all the client certificates under the below-mentioned directories. We are not recommending you delete files manually. In this tutorial, we will discuss deleting unused SSL certificates using the Certbot command line. /etc/letsencrypt/live /etc/letsencrypt/renewal /etc/letsencrypt/archive Delete a Let’s Encrypt SSL Certificate The Certbot also provides you an option to delete certificates automatically for you. To delete an SSL certificate, run the following command. sudo certbot…

Read More

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. Check the Network Interface Name First of all, you need to identify the network interface name. It can differ based on the installation type and system environment. To…

Read More

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…

Read More

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…

Read More

XRDP is a remote desktop service for the Linux X servers. That allows us to connect remote Linux desktop systems over Microsoft RDP (​Remote Desktop Protocol). XRDP also supports two-way clipboard transfer (text, bitmap, file), audio redirection, and drive redirection (mount local client drives on the remote machines). XRDP is an easy-to-install and configurable service for Ubuntu systems. But you can also use a VNC server to access the remote desktop of the Ubuntu systems. Find a tutorial to install a VNC server on Ubuntu systems. This tutorial will provide you with the instructions to install the XRDP service on…

Read More