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

Are you planning to deploy a PHP application with the Apache webserver? This tutorial will help you with installing Apache web server and PHP on your CentOS, Redhat, and Fedora systems. Recommended Article: 15 Best Security Tips for LAMP Stack (Apache-MySQL-PHP) for Linux Step 1 – Prerequsities First of all, you need to add some required rpm repositories on your system. Use one of the below commands as per your operating systems. On CentOS/RHEL 7 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm On CentOS/RHEL 6 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm On Fedora 31 sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm sudo dnf install…

Read More

MySQL is an opensource, Relational Database Management System. MySQL is a most popular database server for Linux systems, it also supports a large number of platforms. In MySQL, we can easily create a stored procedure and execute SQL queries. MySQL Community Edition is a freely downloadable version and uses for your applications. The MySQL official team provides yum repository for the MySQL installation on RPM based systems. Which can be used to install MySQL on CentOS and Fedora systems. This tutorial will help you to Install MySQL Server on CentOS/RHEL 7/6, Fedora 32/31/30/29 using the default package manager. Step 1…

Read More

MongoDB is a full flexible index support and rich queries database. It is a NoSQL database. MongoDB provides large media storage with GridFS. Click here for more details about this version of MongoDB. Use this tutorial to install MongoDB server 4.2 on Debian 10, Debian 9 Stretch and Debian 8 Jessie systems. Prerequisites You must have shell access with sudo privileded account to your Debian system. Login to your system and open a shell. Step 1 – Installing MongoDB on Debian You need to execute following commands step by step to install MongoDB on Debian Linux systems. First of all,…

Read More

PostgreSQL 10 Released. PostgreSQL is an open-source object-relational, highly scalable, SQL-compliant database management system. PostgreSQL is developed at the University of California at Berkeley Computer Science Department. This article will help you to install PostgreSQL 10 on CentOS, RHEL and Fedora Systems. Step 1 – Add Postgres Yum Repository The first step is to install PostgreSQL repository in your system, Use one of below commands as per your system architecture and operating system. ## CentOS/RHEL – 7 rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm ## CentOS/RHEL – 6 rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-6-x86_64/pgdg-redhat10-10-2.noarch.rpm For more details visit PostgreSQL repositories link page where you can get repository…

Read More

Questions- How do I force redirect users to https with www prefix domain. How do I redirect a user to https in Nginx? The Best Way to Force Redirect Users to WWW and HTTPS. This tutorial will provide you the best way to redirect users forcefully to https:// URL with www domain prefix. For example, your domain name is example.com, Below configuration will forcefully redirect users to https://www.example.com in all ways. Let’s edit Nginx virtual host configuration file: sudo vim /etc/nginx/sites-enabled/example.com.conf and add the below content. change example.com with your actual domain name. Also, add any other required settings specific…

Read More

MariaDB 10.4 stable version has been released. It is an enhanced, drop-in replacement for MySQL. MariaDB can be an better choice for choice for database professionals looking for a robust, scalable, and reliable SQL server. MariaDB has a number of updated features over MySQL. Use below links to read features comparison between MariaDB and MySQL. This article will help you to install MariaDB 10.4 in CentOS, RHEL 7/6 and Fedora Fedora 30/29/28 systems using yum. Step 1 – Add MariaDB Yum Repository First add MariaDB yum repository in our system. Create a new repo file /etc/yum.repos.d/mariadb.repo in your system and…

Read More

Question: How to autorun a Python script using systemd. How to create own systemd service using Python script. How to configure Python script to start as systemd. How to manage Python service with systemctl? `Systemd` is a system and service manager for Linux that allows you to manage and control services and daemons on your system. You can use Systemd to automate the execution of Python scripts by creating a Systemd service that runs the script at startup or on a schedule. Using Systemd to automate Python scripts has several benefits, including the ability to start and stop the script…

Read More

Adobe Flash Player are very useful for playing videos in web browser online. Without the flash player, most of the videos will not play in your browser. This article will help you to install the Adobe flash player plugin for your browsers in CentOS/RedHat 7/6 and Fedora 34/33/32/31/30 Systems. Step 1 – Enable Yum Repository The flash player plugins are available under official Adobe yum repositories. So first you need to enable Adobe yum repository on your system. Use the following commands to add the repository as per your system architecture. After that import the GPG key into your system.…

Read More

Notepadqq is the best alternatives of Windows Notepad++ application for Linux systems. It is designed by developers, for the developers. It supported more than 100 programming languages. Install Notepadqq on Ubuntu Notepadqq is available from an official PPA. Use the following command to install nodepadqq on Ubuntu system. $ sudo add-apt-repository ppa:notepadqq-team/notepadqq $ sudo apt-get update $ sudo apt-get install notepadqq

Read More

Managing and editing files is a crucial skill for any Linux user, whether you’re a system administrator, developer, or a general user. In this article, we will discuss various methods to write or append multiple lines to a file in Linux. We will cover the use of several command-line tools, including echo, printf, cat, tee, and text editors like nano, vim, and emacs. Contents Using echo and printf commands Using cat and tee commands Editing files with nano Editing files with vim Editing files with emacs Using Here Documents 1. Using echo and printf commands The echo and printf commands…

Read More