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

Elasticsearch is a flexible and powerful open-source, distributed 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 Debian 10, Debian 9 and Debian 8 systems. Step 1 – Prerequsities Login to your Debian system using sudo privileged user or root account. Java is the primary requirement for running Elasticsearch on any system. Execute following commands to install Java on your Debian system. sudo apt update sudo apt…

Read More

Slack is a cloud-based popular team collaboration tool. This is a new kind of messaging for teams, bringing all your communication at one place. This tutorial will help you to install Slack on Ubuntu 18.04 (Bionic) Desktop system. Step 1 – Download Slack Debian Package Download the Slack Debian package from its official download page. Currently, Debian packages are in beta version only. Alternativly you can also use the following command to download Slack Debian package. wget https://downloads.slack-edge.com/linux_releases/slack-desktop-4.11.3-amd64.deb Step 2 – Install Slack on Ubuntu 18.04 After that, install Slack on Ubuntu using dpkg package installer utility. sudo dpkg -i…

Read More

Cloning a specific branch from a Git repository can be a useful way to work with the code, without having to clone the entire repository. Cloning a specific branch allows you to access the code, make changes, and push those changes back to the original repository. In this article, we will walk through the steps of cloning a specific branch from a Git repository. Clone Specific Git Branch You can clone any remote repository with git clone command. The default clones the master (main) branch from remote. You can also specify the branch name with -b option to clone a…

Read More

Laravel is one of the best open-source, MVC PHP framework, designed for the faster development of web applications. You can simply install and use on your development system. This article will help you to install the Laravel PHP Framework on Debian 10 (Buster) Linux system. Laravel requirements Apache MySQL/MariaDB PHP >= 7.1.3 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Step 1 – Prerequsiteis You need to install the recommended PHP version with the required modules before starting the Laravel installation. The system has already running LAMP stack skip this step else use…

Read More

Java is an popular programing language used by billons of application. As we are aware that Oracle JDK requires a commercial license under Oracle Binary Code License Agreement. We will install OpenJDK on your Debian system. OpenJDK is completely free, open source Java with a GNU General Public License. This tutorial will help you to install Java on Debian 10 Buster Linux system. Step 1 – Search OpenJDK Packages OpenJDK packages are available under native apt repositories. You can simply use apt-cache search command to search available java version for your Ubuntu system. sudo apt update sudo apt search openjdk…

Read More

Sending emails is an essential task in today’s digital age, and as a system administrator, you may need to send emails from the command line to automate this task. In this article, we’ll show you how to send emails from the Windows command line with PowerShell, streamlining your email communication and improving your productivity. Prerequisites Before we begin, make sure that you have the following: A Windows computer with PowerShell installed Access to an SMTP server with your login credentials The SMTP server address and port number Step 1: Open PowerShell First, open PowerShell by searching for “PowerShell” in the…

Read More

Apache Hadoop 3.1 have noticeable improvements any many bug fixes over the previous stable 3.0 releases. This version has many improvements in HDFS and MapReduce. This tutorial will help you to install and configure Hadoop 3.1.2 Single-Node Cluster on Ubuntu 18.04, 16.04 LTS and LinuxMint Systems. This article has been tested with Ubuntu 18.04 LTS. Step 1 – Prerequsities Java is the primary requirement for running Hadoop on any system, So make sure you have Java installed on your system using the following command. If you don’t have Java installed on your system, use one of the following links to…

Read More

Python is a high-level, general-purpose programming language created by Guido van Rossum. It was first released in 1991. Generally, Linux based distros have pre-installed Python version. This tutorial will help you to find Python version details inside a script. Also, you can ensure a Python script to run only the minimum version found.

Output: 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] You can also find the details version info by using sys.version_info like below:

Show the Python hex version details. This value increases with every release of python.

Using Assert in Python You can ensure…

Read More

Python is a high-level, general-purpose programming language created by Guido van Rossum. It was first released in 1991. Generally, Linux based distros have pre-installed Python version. This tutorial will help you to find the current version of Python installed on your Linux system using the command line. python -V Output: Python 2.7.12 The systems have multiple version of Python installed can find like this.

Read More

This tutorial describes How To Block IP using .htaccess in Apache. The Apache users can easily block website access from specific IP addresses or any IP ranges using the .htaccess file. Make sure your Apache server is enabled to use a .htaccess file. Block IP using .htaccess Now, create a file named .htaccess in your website document root directory and add these example lines:

You are required to change the IP address to be blocked in the above configuration. Here you can block a single IP or IP ranges. You can also write one or more IPs in a…

Read More