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

SSH

As a system administrator, you deals regularly with multiple remote systems. You need to SSH systems multiple times during your work. Many of remote Linux server you have access through password a many of them you have access through private key. So this can be more typical to manage all of them. This article will help you to properly organize your ssh server details with key files. Configuration File Syntax: We can add multiple ssh hosts details to ~/.ssh/config file. Edit configuration file in your favorite editor like vi, vim or nano. $ vi ~/.ssh/config The syntax will be like…

Read More

phpMyAdmin is a well most popular web-based client for managing MySQL server. PHPMyAdmin is written in PHP programming language. It provides a user-friendly web interface to access and manage your databases. To ease usage to a wide range of people, phpMyAdmin is being translated into 72 languages and supports both LTR and RTL languages. This article will help you to install phpMyAdmin on CentOS/RedHat System. Prerequsities In order to use PHPMyAdmin, you must have PHP, MySQL and Apache installed on your system. Also, you need PHP-MySQL or PHP-MySQLi module enabled in PHP configuration. For the current version of PHPMyAdmin 4.7.2,…

Read More

Shell scripting, particularly in Bash (Bourne Again SHell), provides several methods to extract these components. Let’s explore some of the most effective techniques. Before diving into the technicalities, it’s crucial to understand the structure of a file name. Typically, a file name consists of two main parts: the base name and the extension, separated by a dot (.). For instance, in document.txt, document is the base name, and txt is the extension. Extract Filename and Extension To extract the filename and extension from a file path in a shell script, you can use the `basename` command. Here is an example…

Read More

I have launched a new Linux instance in my AWS account and downloaded the private key file. As we all know, AWS only allows default key-based SSH authentication. When I tried to SSH with the downloaded private key file, I got the a warning message Permissions 0644 for ‘server.pem’ are too open and it prompted for the password. In this faq, you will learn to fixe WARNING: UNPROTECTED PRIVATE KEY FILE! error in Linux. The Problem: The error looks like the below: ssh -i server.pem [email protected] Output @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for ‘server.pem’…

Read More

Amazon Web Services (AWS) is a powerful and versatile platform that allows developers to harness the power of Amazon’s robust and scalable infrastructure. One common use-case is running an Ubuntu server instance on AWS. SSH (Secure Shell) is a network protocol that provides a secure way to access a computer over an unsecured network. SSH provides a secure channel over any network in a client-server architecture. The ‘root’ user in Ubuntu is the superuser who can perform administrative tasks. However, due to security concerns, SSH access is usually disabled for the root user in AWS Ubuntu instances. Please login as…

Read More

phpMyAdmin is the graphical web-based database management tool for MySQL. phpMyAdmin is easy to use and provides most of the options to work and manage your MySQL server. It also provides an easy way to set up database replication between multiple MySQL hosts with easy step wizard. This article will help you to install phpMyAdmin in Ubuntu systems using the apt package manager. To install phpMyAdmin on CentOS, Redhat and Fedora refer below link. How to Install phpMyAdmin on CentOS/RHEL. Step 1 – Install LAMP Stack We assume you already have installed LAMP on your system. If you do not…

Read More

Creating a bootable USB drive is an essential skill for every Linux user. A bootable USB drive allows you to install, test, or troubleshoot various Linux distributions without making changes to your existing system. In this in-depth guide, we will explore the tools and techniques used to create a bootable USB drive from an ISO file using the Linux terminal. Prerequisites Before we begin, ensure you have the following: A USB drive with at least 4 GB of storage capacity An ISO file of the Linux distribution you want to make bootable A computer running Linux Windows users read this:…

Read More

HAProxy is a very fast and reliable solution for high availability, load balancing, It supports TCP and HTTP-based applications. Nowadays maximizing websites up-time is very crucial for heavy traffic websites. This is not possible with single server setup. Then we need some high availability environment that can easily manage with single server failure. This article will help you to setup HAProxy load balancing environment on Ubuntu, Debian and LinuxMint. This will configure a Layer 4 Load Balancing (Transport Layer). Which will balance load and transfer requests to different-2 servers based on IP address and port numbers. Network Details – Below…

Read More

Booting a physical machine using USB is much easier, but VirtualBox does not provides direct way to select boot from USB. So if you have a bootable USB drive then this article will help you to how to create VirtualBox vm using bootable USB. For this example, I have already created a bootable USB of Ubuntu. You can visit following links for prerequisites. Create bootable USB Install VirtualBox on Ubuntu, Debian & LinuxMint Install VirtualBox on CentOS, RHEL & Fedora Step 1 – Attach & Find Bootable USB Now attach your bootable USB drive to your system and find the…

Read More

Ubuntu is the most popular Linux distribution used for Desktop environment as well as servers. For installation of new systems technical support engineers prefers to use bootable USB flash drive in place of CD/DVD drive. USB bootable drives makes installation faster than other media like CD/DVD. This article will help you to how to create Ubuntu bootable USB drive using Ubuntu, Debian or LinuxMint operating system. Step 1 – Install Unetbootin Download and install Unetbootin latest packages from its official webpage given below. https://unetbootin.github.io/ Ubuntu and LinuxMint users can use ppa:gezakovacs/ppa repository. Use following commands to add repository and install…

Read More