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

The RPMForge repository has been dis-continued. Please use other yum repositories. Use the below link to find useful yum repositories Top 5 Yum Repositories RPMforge is a collaboration of Dag and other packages. It provides a large number of packages for CentOS and RHEL systems. This article will help you to how to add rpmforge repository on your CentOS/RHEL 7/6/5 systems. To install more yum repositories visit article top 5 yum repositories.

Read More

Generally, most of the users used GUI access for accessing remote or local Windows systems. In some cases, we don’t get system restart button in GUI but we still can restart the remote server using the command line. This article will help you to reboot Windows system using command prompt (CLI). Command to Restart Windows Server Simply use /r switch with shutdown command to reboot windows server using command line. Here are various examples of restart Windows systems via command line. Use below command restart local Windows system: shutdown /r Restart local system with forcefully close running applications using /f…

Read More

Linux is an operating system that is widely used in server environments, and it is becoming increasingly popular for desktop use as well. If you are new to Linux, you may be wondering how to shut down or reboot the system. In this article, we will provide you with a beginner’s guide to shutting down or rebooting Linux with step-by-step instructions. Step 1: Open the Terminal To shut down or reboot Linux, you need to open the terminal. The terminal is a command-line interface that allows you to interact with the system. To open the terminal, you can use the…

Read More

YUM ( Yellowdog Updater, Modified ) is a command-line package management utility for RPM-based Linux systems, It has been released under the GNU General Public License. Yum is useful for RPMs which have dependencies, Yum searches for all dependencies of any RPM in all available repositories. Below list contains top 5 yum repositories (RPMFusin, EPEL, REMI, ELRepo, Webtatic) for RHEL based systems with installation links, which we need to keep our system up to date with latest packages. These repositories having most of the RPMs required for servers. #1. Adding RPMFusin Repository The RPM Fusion repository provides the packages that…

Read More

Moodle is an Open Source Course Management System, It’s also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). This tutorial will help you to install Moodle on CentOS/RHEL Systems Installing Required Packages Install order to setup Moodle we need a Web Server, Database Server and PHP with required modules. Use below link to install following packages. Installing Apache, MySQL and PHP on CentOS/RedHat 6/5 Install required PHP modules using yum package manager. # yum install git php-common php-mysql php-gd php-intl php-curl # yum install php-ldap php-apc php-mbstring php-dom php-soap php-xmlrpc To install git version 1.9…

Read More

CakePHP is a most popular PHP framework used for faster website development. It is fast and easy to install. Recently CakePHP has released its latest version 3.6 with a variety of changes to improve speed and security. This article will help you to install CakePHP 3.6 (or latest version) on CentOS/RHEL 7/6 systems. Step 1 – Setup LAMP First of all, you need to set up a LAMP environment to install CakePHP on your Red Hat system. We assume that you already have PHP, MySQL and Apache installed on your system. If you don’t have, use the following article to…

Read More

Error: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) This is a common issue faced by MySQL administrators generally. I have also faced this issue many times on various server and almost I fixed this issues using one of below given solutions. We hope following solutions will fix your issue also. Cause 1: MySQL service stopped Solution : To fix this issue start mysql daemon. service mysqld start Cause 2. Not enough space on / ( root ) partition. Solution: Check and free some space in root partition and restart MySQL service. # df -h Cause 3. Permission…

Read More

Apache OFBiz (The Apache Open For Business Project) is an open-source ERP/CRM system from the Apache Foundation starting point for reliable, secure and scalable enterprise solutions. It offers complete accounting/ledger, inventory management, CRM, and project management systems. Also, OFBiz includes a complete CRM system and an eCommerce shopping cart. OFBiz offers a solid framework for plugin development allowing complete customization. This article will help you to install Apache OFBiz on Linux (CentOS, RedHat, Fedora, Ubuntu, Scientific Linux, and Debian) systems with initial demo data. Step 1 – Install JAVA Java Development Kit (JDK) is the primary requirement for running Apache…

Read More

MySQL is a relational database management system used for storing data in tabular format. It provides high flexibility for the user account and grant permissions. This tutorial will provide you a short overview to create MySQL user account and grant permissions on database. Create A MySQL User with Permissions Here we are running all queries as root account having full privileges to all databases. You can create MySQL user account with required privileges. Let’s create a new MySQL user within MySQL shell: mysql> CREATE USER ‘newuser’@’localhost’ IDENTIFIED BY ‘pa$$word’; Here newuser is the username to be created. The localhost is…

Read More

Generate md5 checksum find /var/www -type f -exec md5sum {} \; > /tmp/www-md5.list Above command will generate md5 checksum for all files in current directory and its sub-directory and store it in /tmp/www-md5.list file. Generate md5 If we want to generate md5sum of all files in our home directory and its sub-directory. Use the following command. find /var/www -type f -exec md5sum {} \; > /tmp/www-md5.list If we want to generate md5sum for specific files for example all php and JavaScript files under public_html directory use following command. find ~/public_html/ -name “*.php” -exec md5sum {} \; > ~/usermd5.list find ~/public_html/…

Read More