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

Ruby is a highly popular, interpreted, high-level programming language. It was designed by Yukihiro “Matz” Matsumoto to prioritize programmer productivity and fun. Ruby offers a simple syntax that’s natural to read and easy to write. In this tutorial, we’ll demonstrate how to install Ruby 3.2 on CentOS or Red Hat Enterprise Linux (RHEL) using the Ruby Version Manager (RVM). RVM is a command-line tool that allows you to easily install, manage, and work with multiple ruby environments. It gives you flexibility concerning the version of Ruby you want to use in your system and helps in managing/gem dependencies. In this…

Read More

All the sites running with SSL are used https protocol on default port 443. SSL provides secure data communication by encrypting data between server and client. In our earlier articles we have described about installing lighttpd and creating virtualhosts in CentOS/RHEL systems. This article will help you to configure SSL in Lighttpd server. For this example we are using an self signed certificate. If you are looking for configure ssl in Apache/HTTPD, then you have to this article. Step 1: Create Certificate Signing Request (CSR) For creating SSL certificate, the first requirement is to create private key and CSR. A…

Read More

VirtualHosting is an implementation of hosting multiple domains on single server. It enabled to utilize maximum resources of server and reduces cost. Now a days mostly all web servers supports virtualhosting environment. In our earlier article we describe to install Lighttpd server on CentOS/RHEL. This article will help you to setup VirtualHosts in Lighttpd server. For example we are using following domains- site1.tecadmin.net site2.tecadmin.net Step 1: Create Server Document Root First create folders for both domains (if not exists) # mkdir -p /sites/vhosts/site1.tecadmin.net/www # mkdir -p /sites/vhosts/site2.tecadmin.net/www For testing purpose we are creating an index.html file at both document roots…

Read More

When we discuss about a monitoring systems, Nagios is known for being strong and flexible. But when setting up or maintaining Nagios, especially with remote server monitoring using the Nagios Remote Plugin Executor (NRPE), you might see the annoying error: “CHECK_NRPE: Error – Could not complete SSL handshake.” This error can stop your monitoring, but you can fix it with the right steps. Understanding the Error The “CHECK_NRPE: Error – Could not complete SSL handshake” message usually happens when trying to make a secure connection between the Nagios server and a remote host using NRPE. This SSL handshake failure often…

Read More
VPN

Hamachi is used or set up VPN and connect systems over a VPN network. This provides a quick and easier way to create a VPN network and attach a system. You can create a free account on logmein.com and create networks. You can add up to 5 systems in each network with a free account. To add more than 5 systems is required to upgrade the network to the paid version. For this tutorial, I have already created a hamachi network from its web interface and get a network id and connected a windows system with this network. This tutorial…

Read More

LAMP (Linux, Apache, MySQL and PHP ) Stack is the most popular environment in PHP website development and hosting. Linux is the operating system, Apache is the popular web server developed by Apache Foundation. MySQL is relational database management system used for storing data and PHP is an development language. This article will help you to Install Apache 2.2, MySQL and PHP 5.4 on Ubuntu 12.04 Systems. PHP 5.5 current stable version is available but some time we need to install older version. Ondřej Surý is maintaining the PPA for PHP 5.4 in launchpad. Use the following steps to setup…

Read More

Package management is a fundamental aspect of administering and maintaining Linux systems. Two of the most commonly used package management systems in the Linux world are RPM (Red Hat Package Manager) and DPKG (Debian Package). While they serve the same purpose of installing, upgrading, and managing software packages, they have different commands and package formats. In this article, we will explore the RPM and DPKG package management systems, comparing their equivalent commands and shedding light on the differences between them. RPM vs DPKG Comparison Table Command Details RPM Command DPKG Command Install a package rpm -i {package.rpm} dpkg -i {file.deb}…

Read More
IDE

Geany is a lightweight IDE (Integrated Development Environment) using the GTK2 toolkit. It was developed to provide a small and faster IDE for users for editing files. Geany has few of dependencies from other packages so its easier to install. AS Geany only uses GTK2 toolkit and therefore you need only the GTK2 runtime libraries to run. This tutorial will help you to install Geany IDE on Ubuntu 18.04 & 16.04 Desktop systems. Features Geany has a large number of features which is useful for use, below is the list of few basic features: Syntax highlighting Code completion Auto completion…

Read More

Mysqldump is an utility provided by MySQL/MariaDB to backup databases and tables. Generally, we take a full dump of database regularly and keep it. But some times we required to recover a single or 2-3 tables from backup. Then the question if how to restore a specific table from the full backup file. This article will help you to how to extract tables backup from the full database backup file. Also, we can extract all tables backup in individual files per table. Step 1 – Download MySQL Dump Split Script To split a full mysqldump database backup file in separate…

Read More

MySQL is a popular open-source relational database management system. However, sometimes you may need to remove MySQL from your Linux system due to various reasons such as upgrading to a newer version, replacing it with another database system, or simply uninstalling it. In this article, we’ll show you how to remove MySQL completely from your Linux system in a safe and effective manner. Before we begin, it is recommended to back up your data and configuration files before uninstalling MySQL. You can use the mysqldump utility to back up your data or copy the entire MySQL data directory to a…

Read More