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

MySQL is a relational database management system. This tutorial will help you to install MySQL 5.7 on Fedora Linux systems. You can also follow these instructions to install MySQL 8 or phpMyAdmin on your Fedora system. Step 1 – prerequisites Login to your Fedora system and open a terminal. Now upgrade the current packages to the latest version by running the following command. sudo dnf update Step 2 – Configure Yum Repository The MySQL team provides a Yum repository for the installation of the MySQL community server on Fedora systems. First, download the GnuPG key to your local system. cd…

Read More

FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. It’s also useful to convert multimedia files between various formats. FFmpeg includes libavcodec audio/video codec library in it. This article will describe how to install FFmpeg on Fedora 34/33/32/31/30 Linux systems using DNF. It also provides basic uses of the FFmpeg command-line utility. Step 1 – Configure Yum Repository First of all, You must have installed and enabled the RPMfusion repository on your Fedora system. If you don’t have installed, use the below commands to install. sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf…

Read More

Java is a popular programming language for system software development and web application. You need to install the Java Development Kit (JDK) and Java Runtime Environment (JRE) for the setup of the Java development environment. JDK compiled the source java file and make a java class file. JRE is used to run that intermediate class file. This tutorial will guide you to install Oracle Java 11 LTS version on Debian 9 Stretch Linux system. Step 1 – Prerequsities Before beginning the installation login to shell as the sudo user and install some required packages on your Debian system. sudo apt…

Read More

The Oracle Java 8 and Java 11 required subscription to download and install. So we use OpenJDK for this installation to run Java on CentOS 7/6 and RHEL 7/6 Linux system.. This article will help you to install Java 11 on CentOS 7/6, RHEL 7/6 Linux system. Step 1 – Search Java Packages The OpenJDK rpm packages are available under the AppStream repository. Use the following command to search available Java packages under configured yum repositories. sudo dnf search openjdk Step 2 – Install Java 11 on CentOS Now, use one of the following commands to install the required Java…

Read More

Java is a popular programming language for the system software development and web application. You need to install Java Development Kit (JDK) and Java Runtime Environment (JRE) for preparation of a Java development system. This tutorial will guide you to install Oracle Java 11 LTS version on Ubuntu 18.04 LTS Bionic system. Install Oracle Java 8 on Ubuntu 18.04 Bionic Prerequisites Before beginning the installation run login shell as the sudo user and update the current packages installed. sudo apt update sudo apt upgrade Step 2 – Install Java 11 on Ubuntu 18.04 You need to add the following PPA…

Read More

Bash is a popular command-line interface that is commonly used on Linux and Unix-based systems. One of the powerful features of Bash is the ability to work with arrays. Bash arrays provide a way to store multiple values in a single variable, making it easy to access and manipulate those values. In this tutorial, we’ll explore how to work with arrays in Bash, including how to declare, initialize, and manipulate arrays. Declaring Arrays in Bash To declare an array in Bash, we use the following syntax:

Here, array_name is the name of the array, and value1, value2, …, valueN…

Read More

MySQL is a popular open-source relational database management system used by millions of developers worldwide. It provides a variety of features and tools that make it easy to work with databases. One of the most important tasks in managing a MySQL database is monitoring and managing currently running processes. In this article, we will provide a comprehensive guide on how to find currently running processes in MySQL. We will cover three methods that you can use to retrieve information about running processes: the SHOW PROCESSLIST command, the INFORMATION_SCHEMA.PROCESSLIST table, and the MySQL Workbench tool. Method 1: Using the SHOW PROCESSLIST…

Read More

This tutorial helps you to install Java on Debian 9 (Stretch) via Apt-Get. Java is a popular object-oriented, platform-independent programming language. You can install Java based on your requirements. As an example, to run a java application you only need to install JRE (Java Runtime Environment) but for the development system, you need the JDK (Java Development Kit). You can either install OpenJDK or Oracle Java on your system. This tutorial covers both options for you. Installing OpenJDK OpenJDK is an open source implementation of the Java Platform standard edition. You can install it directly from the default repository on…

Read More

SELinux (Security-Enhanced Linux) is a Linux kernel security module that provides enhanced security for Linux systems. SELinux provides a mechanism for supporting access control security policies. This specifies how the processes communicate with each other and interact with the files. SELinux Modes: SELinux has three modes to run. By default, SELinux runs in Enforcing mode on CentOS 7 Enforcing – SELinux security policy is enforced. Permissive – SELinux allows access but prints warnings on rules voilation. Disabled – No SELinux policy is loaded. Check SELinux Status You can use getenforce command to view the status of SELinux. Another command sestatus…

Read More

In Python programming function you can use sleep() function available under time module. This will sleep or delay script execution for the defined number of seconds. You can use time.sleep(seconds) as per following. The value passed to sleep() function is in second.

Python Delay Example Let’s create a small script to print current date time every after 5 seconds.

Execute above script on command line. To exit running script press CTRL + C. You will see results something like below DateTime Fri Sep 28 17:39:50 2018 DateTime Fri Sep 28 17:39:55 2018 DateTime Fri Sep 28 17:40:00 2018…

Read More