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..

Firewalld is a firewall management solution used by the most of modern Linux distributions. In this tutorial you will learn how to open ports in firewalld. This tutorial describe you to open a port for public, specific IP or IP range in firewalld. Find our previous article about installation and uses of Firewalld on Linux system. In this tutorial, all the commands are written for MySQL port 3306. You can use the same command for any other ports as per your requirements. Allow Port for All Traffic Use the following commands to allow incoming traffic on port 3306 to all…

Read More

Zabbix is a free and open-source monitoring solution designed for real-time monitoring of servers, virtual machines, networks, and cloud services. It was developed by Alexei Vladishev and actively supported by Zabbix SIA. It is based on the client-server model and capable of monitoring millions of metrics, such as CPU load, network utilization, and disk space consumption from tens of thousands of servers. In this tutorial, we will explain how to install the Zabbix server on Ubuntu 20.04 LTS system. Pre-Requsities We assume you have a running Ubuntu 20.04 system with sudo privileged account access. Follow the below steps to install…

Read More

PM2 is a process manager for Node.js applications. It is helpful for running Node.js application on production environment. PM2 keep an eye on your application and restart it automatically in case of application crashes. PM2 also have an build in load balancer for make easier to scale applications. In this tutorial you will learn to install Angaular CLI on your Linux system. Then create a sample Angular application. Also run your Angular application with PM2 on a Linux system. Prerequisites To use this tutorial, you must have shell to your server with sudo privileged account. Login to your server and…

Read More

Elasticsearch is a flexible, powerful, open-source and real-time search and analytics engine. Using a simple set of APIs, it provides the ability for full-text search. Elastic search is freely available under the Apache 2 license, which provides the most flexibility. This tutorial will help you to install Elasticsearch on Ubuntu 20.04 LTS system. Prerequisites Login to your Ubuntu system using sudo privileges. For the remote Ubuntu server using ssh to access it. Windows users can use putty or alternatives to log in to Ubuntu system. Step 1 – Install Java Elasticsearch required Java run time installed on system. Ubuntu 20.04…

Read More

Zabbix is an monitoring solutions for your IT infrastructure. You can monitor most of the devices in your network and most of the services on your servers. To monitor applications, You must have a Zabbix server installed in your network. Zabbix Agent is required on the systems, you need to monitor through the Zabbix server. This tutorial will help you to install Zabbix Agent on Ubuntu 20.04 LTS Linux system. Requirements You must have shell access with sudo privileged account access to your Ubuntu 20.04 LTS system. Step 1 – Configure Zabbix Repository The Zabbix team provides apt repositories for…

Read More

This shell script is designed for a specific task required for our server. So sharing the script with Tecadmin readers. It might be helpful for you. Requirement Our requirement is to copy all files created in directory to other directory with same directory structure. Script will run on a regular interval, search for all files created in source directory and copy them to destination directory. The script must maintain the same directory structure on destination directory. After that change the permission on destination directory. After successful copy of file, script must remove the file from source directory. Shell Script Create…

Read More

Redis is an in-memory data structure store, used as a database server, cache, and message broker. Redis is written in C programming language. It also provides a PHP module for communication between PHP script with the Redis server.This tutorial will help you to install Redis server on Debian 10 Linux system. This will also help you to install Redis PHP extensions on your system. Prerequisites You must have shell access with sudo privileged account access to Debian 10 system. First of all, Login to your system and upgrade the current packages. sudo apt update && sudo apt upgrade Step 1…

Read More

Apache Solr is an enterprise-grade search platform built on the robustness of Apache Lucene. It offers an array of functionalities such as distributed searching, index replication, and a host of others. In contrast to typical relational databases, Solr is designed with scalability in mind, allowing for efficient full-text searches even with vast amounts of data. For businesses or platforms that require efficient search capabilities, integrating Solr can be transformative. CentOS and RHEL (Red Hat Enterprise Linux), being popular choices for server environments, often need tools like Solr for enhanced search capabilities. This guide is dedicated to those seeking a straightforward…

Read More

Having the ability to authenticate users with your database is an important security feature. This is especially true when that database is storing sensitive information, such as user accounts for a website or company data. With authentication enabled on your MongoDB instance, you can set specific rules about what user accounts are permitted to do and what sort of access they have. This also means that you can also lock down certain features so that only authorized users have access to them. In this article, we will show you how to enable authentication in MongoDB so that only authorized users…

Read More

The find command is a versatile utility in Linux that allows you to search for files and directories based on various criteria, including modification time, size, ownership, and more. In this article, we will focus on using the find command to search for modified files in the last 30 days or within the last 30 days. This can be particularly useful when you need to find recently changed files for backup or archive purposes, or when you want to identify the source of a problem in your system. The find command operates by recursively searching a specified directory and its…

Read More