e Learning

Centos 7

How to Install pip on CentOS 7

When using python on CentOS 7, we need a package manager that can install various other python packages and third party libraries. The pip is the default package manager for Python, which you can use to install third party python libraries on CentOS 7.

How to Install Oracle Java JDK 9 on CentOS 7

Java Development KIT contains the capabilities needed to develop java applications as well as run java programs on your computer. JDK 9 is the latest version of the Oracle Java Development Kit.

phpMyAdmin: the configuration file now needs a secret passphrase blowfish_secret

Learn How to Solve "The configuration file now needs a secret passphrase (blowfish_secret)" error in phpMyAdmin.

You could get the following error message in phpMyAdmin page, if you manually download and installed phpMyAdmin.

How to Install SSH Server on CentOS 7

In this tutorial we are going to learn how to install ssh server CentOS 7 Linux.

SSH Protocol allows users to connect to a remote computer through their computers. It is the Most secure way to access a remote computer through the internet. If you want to connect to your CentOS 7 Server from a remote computer, then you should install ssh server on CentOS 7.

How to Extract 7zip files in CentOS 7

In this tutorial we are going to learn how extract 7zip file in CentOS 7.

In Order to extract 7zip files, we need to install p7zip package on CentOS 7. The p7zip package provides the 7za command which we are going to use to unzip 7zip files.

How to check update in CentOS with yum command

In this tutorial we are going to learn how to check for package updates in CentOS Linux using the yum check-update command. The yum check-update command use to search for the software updates in Redhat Based Linux Distributions. To check updates on CentOS 7, execute yum check-update on the CentOS Terminal.

How to Install rpm Package in CentOS with yum install command

In this centos tutorial we are going to learn how to install rpm Packages in CentOS 7 Linux using yum install command.

Traditionally the rpm command used to install rpm Packages in CentOS Linux. But the better way is to use yum command to install rpm files because when you install rpm package using yum command, it will automatically install all the dependency packages needs by the original package. With rpm command, we have to install all dependency packages manually one by one.

How to Install iftop Network Bandwidth Monitoring command on CentOS 7

In this tutorial we are going to learn how to install iftop on CentOS 7. Iftop is a network bandwidth monitoring tools that can be used to monitor the usage of the network interfaces on your CentOS Server or Desktop.

How to Delete Files in CentOS 7

In this CentOS 7 tutorial we are going to learn how to delete files in CentOS 7. In CentOS 7 rm command use to delete files and folders. The rm command also use in all Unix like operating systems to delete files.

How to Install Percona Server on CentOS 7

Percona Server is a drop-in replacement for the MySQL database which use an enhanced version of InnoDB Database engine called xtradb. According to the Percona Website Percona xtradb is designed to provide superior performance, scalability and instrumentation.

In this tutorial we will learn how to Install Percona xtradb Server on CentOS 7. We will do the following steps to install Percona xtradb Server on CentOS 7.

How to Mount Samba Share on CentOS 7

In this tutorial we are going to learn how to mount samba share on CentOS 7. The samba is typically used to share files with Windows computers, But using the SMB/CIFS protocol we can also mount samba shares on Linux.

To mount samba share on CentOS 7, we need to install cifs-utils package on CentOS 7. The cifs-utils contains the tools and Utilities need to mount shares using SMB/CIFS protocol.

How to Install Varnish on CentOS 7 Apache Web Server

In this CentOS 7 tutorial we are going to learn how to Install varnish cache on CentOS 7 and How to Configure varnish cache for CentOS 7 Apache Web Server. Varnish cache is a great way to reduce your server load and improve the response time of your website.

Learn How to Install Samba Server on CentOS 7

In a Client Server Network, Linux is preferred as the server operating system and Microsoft Windows use in most of the client computers. So you need a way to share files between your Linux server and the Microsoft Windows Operating System. The most common way to share files between Linux and windows is to configure Linux as File server using Samba server. In this tutorial we are going to learn how to install and configure the samba server on CentOS 7. After completing this tutorial you should be able to configure your CentOS 7 server as a File server using samba and share files on your CentOS Samba Server with Microsoft Windows Operating System.

Change Runlevel in CentOS 7 using Systemd Target

In Linux runlevels are several different modes that a Linux system can run. In CentOS 7 runlevels called as systemd targets. In this tutorial we are going to learn how change runlevels in CentOS 7. Runlevels in CentOS 7 identified little bit differently compared to previous version CentOS 6, even though the basic concept is still the same. In CentOS 7 runlevels are called as systemd targets.

Learn How to Disable Selinux in CentOS 7

In this CentOS 7 tutorial we are going to learn how to disable selinux in CentOS 7. Selinux is there to make your CentOS 7 server more secure, But sometimes you may need to turn off selinux anyway. This method works on any previous version of CentOS Linux, including CentOS 6.5 and CentOS 5. Also, you can use this method on any redhat based Linux distribution, including Red Hat Enterprise Linux (RHEL 7), Fedora, Oracle Linux and Scientific Linux.

Learn How to Install and Configure DHCP Server on CentOS 7

In this CentOS 7 tutorial we are going to learn how to install and configure DHCP Server on CentOS 7 Linux. At the end of this tutorial you should be able to configure your CentOS 7 server as a DHCP server and issue dynamic IP Address to the client Computers on your network.

How to Add User to wheel group in CentOS 7

In CentOS 7 members of the wheel group can run linux commands with sudo privileges. In This CentOS 7 tutorial we are going to learn how to add user to wheel group in CentOS 7. To add a user to the wheel group in CentOS 7 we can use either usermod or gpasswd command.

How to Install Nginx on CentOS 7 with PHP-FPM

The Nginx Web Server is a good Alternative for the Apache Web Server. While Apache is still the most commonly used web server, Nginx is a Lightweight Web Server design for the high trafficking websites.

In This CentOS 7 Tutorial We are going to Learn How to Install Nginx on CentOS 7 with php-fpm enable.

The Nginx Web Server still does not come with the official CentOS 7 repository, But We have several methods available to install nginx on CentOS 7.

One method to install nginx using the repository provides by the Nginx itself, another method is to use fedora epel repository. And also We can install nginx from the source.

How to Install PHP 7 on CentOS 7 With Apache Web Server

In This CentOS 7 tutorial we are going to learn how to Install PHP 7 on CentOS 7 Linux Operating System.

PHP 7 still does not come with the official CentOS 7 Software Repository, So we have to either use a Third party repository for PHP 7 or we can build PHP 7 from the source. In This tutorial we are going to Learn Both Methods.

First, we will install PHP 7 using a third party repository, then we will see how to build PHP 7 from the source. And we are using Apache HTTPD Server as our Web Server for CentOS 7 PHP.

How to Install VSFTPD CentOS 7 Linux - Configure FTP server on CentOS 7

Very Secure FTP Daemon (VSFTP) is the most popular FTP server implementation use in CentOS 7 Linux. Vsftpd has been very popular because it is a very fast, lightweight FTP server and very easy to configure.

In This CentOS 7 tutorial we are going to learn how to install and configure VSFTPD on CentOS 7 Linux.

How to Install Python IDLE Editor on CentOS 7 Linux

In this tutorial we are going to learn how to install python IDLE IDE on CentOS 7 Linux.

IDLE editor for CentOS 7 provides by the python-tools package. So to install idle on CentOS 7, we need to install python-tools using yum install command.

How to Install phpMyAdmin on centos 7 Server

In this tutorial we are going to learn how to install phpMyAdmin on CentOS 7. phpMyAdmin is the most popular GUI use to manage MySQL Database. If you are running a MySQL server on CentOS 7 Linux, Then definitely you need to install phpMyAdmin in CentOS Server.

phpMyAdmin is a web based application written in using PHP language, So before we install phpMyAdmin, we need to install PHP on CentOS 7 as well as Apache Web Server. So let's see how it is done.

How to Install VMware Workstation on CentOS 7 Linux

In this tutorial we are going to learn how to install VMware Workstation on CentOS 7 Linux.

It is very easy to install VMware Workstation on CentOS 7 with following three steps.

How to Install Adobe Flash Player on CentOS 7 Linux

In this article we are going to see how to install adobe flash player on CentOS 7 Linux. No matter whether you are using Windows or Linux, If you are using a Desktop operating system you need to install adobe flash player plugin for your web browsers. It is same for the CentOS 7 Linux, without installing the flash player plugin it will be difficult to use CentOS 7 as a your Desktop operating system.

Configure error no acceptable C compiler found in $PATH in Linux

You could get following error message "configure: error: no acceptable C compiler found in $PATH" when you try to compile and install a software from a source. I got above error message once, when I was going to install python 3 on CentOS 7.

Reason for the error is your Linux machine does not have the gcc compiler installed. Install gcc compiler to fix the problem.

Commands to get CentOS 7 Kernel Version

In this tutorial we are going to learn how to get the kernel version of your CentOS 7 Linux computers.

So how do we find what version of Linux kernel our CentOS 7 server use?

Just like in any other Linux distribution uname -r command can be used to get CentOS 7 kernel version.

uname -r

How to Install Python 3 on CentOS 7

In This Tutorial We are going discuss How to Install python3 on CentOS 7 Linux.

For CentOS 7 We have two methods to Install Python 3. One Method is to use the epel software repository. Another method is to download and install python3 from the source.

CentOS 7 still uses python version 2 and version 3 is not included in CentOS 7 Base software Repository. But the good news is epel repository now provides python3 for CentOS 7. So if we install epel release, then we can install python3 using yum command.

How to Install Sublime Text 3 on CentOS 7 Linux

In This Article we discuss How to Install Sublime Text 3 on CentOS 7 Desktop.

Sublime still do not provide distinct software repository or RPM package for CentOS 7. But Linux 64 bit version of sublime text editor works ok with CentOS 7.

How to Update centos kernel in Linux CentOS 7

You should always upgrade the centos kernel whenever the new kernel updates are available, to keep your server up to date. kernel update in CentOS 7 is easy and fairly straightforward.

So In This tutorial We will discuss how to update centos kernel in Linux CentOS 7.

How to Create User in CentOS 7

In CentOS 7 we can use the useradd command in the terminal to add new user to the system. If you are using CentOS 7 Graphical Desktop you can also use user manager software which is a graphical user interface.

Easiest way to create user in CentOS 7 is to use the useradd command from the CentOS command line.

Unable to find the sources of your current Linux kernel - CentOS 7 VirtualBox

Make sure to install kernel-headers and gcc Compiler Before you install VirtualBox on CentOS 7 or Fedora 23 workstation. Otherwise, you will get multiple “Recompiling VirtualBox kernel modules failed” error messages.

HOW TO INSTALL WEBMIN ON CENTOS 7 LINUX

Webmin is a free, open source web based Linux administration control panel that can be used to control your Linux system from the web browser. Especially if you are not very familiar with the Linux command line, you can use Webmin as a graphical user interface for Linux server administration.

The latest version of Webmin support CentOS 7. So in this tutorial we will show you how to install and configure Webmin on CentOs 7.

How to Check CentOS Version in Linux

When you login to a Linux CentOS server, the first thing you might want to do is to determine what version of centos you are using. We have more that one command to find centos version information. So let's see how to use those methods to check CentOS version in Linux.

How to Install VirtualBox on CentOS 7

It is Important to have virtualization software on CentOS 7 for Testing and development purposes , especially if you are a system administrator who trying to test other operating systems or if you are students who wants get your hands on multiple operating systems. We can use Oracle VM VirtualBox to run other operating systems top of the CentOS 7 desktop.

For those of you new to virtualization, It is simply allowing us to create virtual computers inside our current operating system. For example, using a virtualization software like oracle VM VirtualBox, we can run Microsoft Windows 7 inside CentOS7 computer.

The purpose of this tutorial is to learn how to install oracle VM VirtualBox on CentOS 7 desktop. So do the following steps to install VirtualBox on CentOS 7 using yum command.

How to Install VLC Player For CentOS 7

By default, CentOS 7 comes with the media player called “videos” which is a good media player but not an advance one. And default videos” player does not have the right codecs to play some of the video formats that are commonly used. For example, we may not able play flash videos (.flv files). So If we use CentOS 7 Desktop, then we definitely need an advanced media player which can support most of the video and audio formats. And VLC is Probably the best multimedia player available for any Linux distribution. So in this article we will show you how to install VLC player in CentOS 7 with two easy steps.

How to Install Virtualbox CentOS Guest Additions on CentOS 7 Virtual Machine

VirtualBox Guest Additions contain add-on Softwares and device drivers that will increase the performance of your CentOS 7 virtual machine. Without guest additions it will be difficult interacting with the guest operating system, especially if when you use CentOS 7 desktop environment. You can do the following steps to Install VirtualBox CentOS Guest Additions on CentOS 7 to enhance virtual machine performance and features.

How to Install Ls Hardware(lshw) on CentOS 7

Lshw is a Linux Command line tool that can use to list hardware information on a Linux Server. If you want to view hardware details of your For CentOS 7 server then use lshw, because Output is more accurate and easy to understand.

How to Login as root superuser Without root Password in CentOS 7

So is it possible to login to root account on CentOS 7 without root password? Yes, it is possible if you have a regular user account with sudo superuser privileges. In order to get the sudo superuser privileges in CentOS 7, You should be a member of the wheel group. To check that login to your user account and type groups command in the terminal.

How to Install Iptables on CentOS 7

You may already know that CentOS 7 use Firewalld as the front end interface to manage netfilter firewall and not Iptables. So the purpose of this tutorial is to learn how to install and configure Iptables on CentOS 7 Linux, since many of the Linux system administrators still prefer Iptables over Firewalld. So do the following steps.

How to Add Permanent Routes in CentOS 7

Usually we add ip routes in Linux using either route command or "ip route" command. While both commands work the same way, neither command can use to add permanent routes to the system. They will get removed if you restart the network or if the server rebooted. We have two methods to add permanent static routes in CentOS 7. One method is to use nmcli command, another method is to add entries manually by directly adding the configuration file into the /etc/sysconfig/network-scripts/ directory.

How to Backup Iptables Configuration

It is important to Know how to backup iptables firewall rules on your Linux server. Iptables firewall is a very sensitive thing, with one mistake you could mess up your entire network system, especially if you have configured your Linux server as a router. So you should always backup current configuration before you make any changes.

How to Block All Incoming and Outgoing packets in CentOS 7

CentOS 7 Firewalld Allow us to block all incoming and outgoing network traffic using just one single command. This is Also called as panic mode. When the panic mode is on, all incoming and outgoing packets will be dropped and active connections will expire.

How to Install Netbeans 8.0 in CentOS 7 Linux

Netbeans IDE is one of the most popular development environment among java developers. Not only for Java, but Netbeans also can be used for other programming languages including PHP, HTML, C and C++. If You are looking for a Perfect advanced text editor for CentOS 7, Then I say you should try Netbeans IDE. So now let's see how to install Netbeans IDE 8.0 on CentOS 7, Step by Step.

How to Fix Yum Pycurl Error 22 in CentOS

I am having repodata problem in my CentOS virtual Machine. I can’t update or install software using yum command. Only get the following yum pycurl error 22 message.

How to Flush Iptables Properly

You Should Be Careful when you flush iptables rules, because if you do not flush iptables properly, you could end up being locked out of your server. Use following bash script to flush iptables rules, instead of applying iptables -F Command Directly to the system.

How to Install Dropbox On CentOS 7

Dropbox is a cloud file sharing service not only allow you to share files on the internet, but able to sync files on your local computer to the Dropbox cloud. When you sync your files to the cloud you can access them from anywhere with any device. You can start file sharing by creating an online account like with any other file sharing services. But to sync files between your computer and the cloud storage you need to install the Dropbox app. The good news is Dropbox app is support for CentOS 7. So Today In this lesson we will learn how to install Dropbox on CentOS 7.

How to Install Transmission Torrent Client on CentOS 7

Transmission is a good lightweight bittorrent Downloader which can be on CentOS 7 to Download Torrents Files. Installing transmission on CentOS 7 is easy once we add the epel repository. So Lets see how to install transmission on CentOS7 Linux.

How to Install Ultraedit on CentOS 7

Last time we learned How to Install Atom Editor On CentOS 7. While Atom is a Free Editor, May be it is Time for you to try Commercial Code Editor and it is going to be Ultraedit. Just Like Atom, Ultraedit Also easy to install on CentOS Desktop.

How to Install Atom Text Editor On CentOS 7

Atom Is a Free open source Cross platform Text Editor Developed GitHub. If you need advanced Text Editor For CentOS 7 Desktop then Atom Editor is the best option. And the Good News is we can easily install atom on CentOS 7 Linux.

How to Install PHP on CentOS 7

We Have Already talk about How to Configure CentOS Linux As a Web Server Using Apache HTTPD Server. Now we have come to the next step, That is to Learn How to Install PHP on CentOS 7. This Essential if you are planning to run your own web server since Most Popular Content Management Systems have been written using PHP Language. PHP Has been the most Popular Scripting Language Because it Works with several commercial and non commercial Databases Management Systems and Allows to Create Dynamic Web Pages Easily.

Linux System Administrator Interview Questions and Answers

This Article Focus On Interview Questions You Will Be Asked When You apply For the Job Post of Linux System Administrator. Basic To Advance Questions Will be Included, So This will be helpful for Both Freshers and Experienced Administrators.

How To Change the Default Runlevel in CentOS 6.5

In This Tutorial We will be Learning how to change the default runlevel in Centos 6.5. And Before Make Any Changes we need to know what are the available runlevels are on CentOS 6.5. Like Any other Linux System CentOS 6.5 Have Seven Runlevels (0 to 6). Configuration File is /etc/inittab. To Change the runlevel we need to edit /etc/inittab file. So open the file with a text editor. For example vim.

How to Restart Apache on CentOS 7

Two Commands can be used to Restart Apache HTTPD Server on CentOS 7, Those Two Commands are systemctl and apachectl. You Can use either of the Two commands In Linux CLI. apache2ctl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache apache2 daemon.

How to Install Epel Repository in CentOS 7

Epel repository (Extra Packages for Enterprise Linux) can install on CentOS 7 Using either yum or rpm command. It is Very easy to install using yum command.

How to Change Default Mail Transfer Agent in CentOS 7

How to Change Default Mail Transfer Agent in CentOS ? I Recently Installed Postfix Mail server. But I think still sendmail is the default MTA. I Am using CentOS 7 Server. In CentOS, we can use alternatives Command to Select a Default programme when there're two or more programs for the same task.

View Apache Server Status in Command Line CentOS 7

In This Tutorial we will learn How to View Apache Server Status in Command Line CentOS 7 and CentOS 6.5 using systemctl and service Commands.

Yum Install Dig Command Not Working On CentOS 7

How To Install Dig On CentOS 7 ? I Tried with yum install dig, But Only Get Following Error Message. No package dig available.

bash telnet command not found

Do you Get the Error bash: telnet: command not found in the Linux terminal? Obviously the reason is you don't have Telnet installed on your Linux Server. So Following Will Show you How to Install Telnet on Different Linux Distributions.

How to Install Thunderbird on CentOS 7

Mozilla Thunderbird is a one of the best email client for Linux. And today we will see how to install this free, open source and cross-platform email application in CentOS 7.

Setenforce SELinux is Disabled

I Have a Linux Web Server, which has CentOS 7 Installed. Now I am trying to use setenforce command to change selinux mode between permissive mode and enforcing mode. But I Only get Following Error “setenforce: SELinux is disabled”.

How to List Users in CentOS 7

IN Linux Centos7 Details of the users stores in /etc/passwd file. While there is no single command in Linux to print User List on the server, What we can do is to use cat or getent command to print the content of the passwd file.

How to Install Apache on CentOS 7

In this Tutorial I will guide you through the installation of Apache HTTPD Server on Newly released Centos7 Operating System. In Addition we will also configure the CentOS firewall to allow HTTP request. Then we will do the PHP, MySQL and phpMyAdmin Installation too. At the end of this tutorial you will learn how to setup Complete CentOS LAMP Stack.

How to Update Firefox in CentOS 7 Desktop

Today I will show you how to update Mozilla Firefox to latest Version on a Centos 7 Desktop. To update, Firefox we don't even need to open the browser, what we have to do is, open the Linux terminal and update the Firefox using yum the update command.

bash wget command not found - SOLUTION

I Tried to Download a Web Page Using wget command , But I get the following error wget command not found. This Because wget command (which is use to retrieves files from the web) is not installed in your Linux Computer. To install wget On a Redhat Based system use yum command. And you can use apt-get install command in Ubuntu and Debian Linux. Let's See How to install wget.

Check CentOS Version Command

Learn How To Check CentOS Version in Linux Terminal Using Commands centos-release, redhat-release and os-release

Is there CentOS Desktop Download Available

CentOS Does not come with two versions as desktop and server Like Ubuntu (Ubuntu has two versions, Ubuntu Server and Ubuntu Desktop), Only Duration the installation you can decide whether you want to install the desktop or Not. And It is quite normal to install a CentOS Server with a Desktop.

User is not in The Sudoers file - SOLUTION

This is Because your user does not have sudo privileges. In CentOS there is an administrative group named wheel. Only the Members of the wheel group can run sudo command. To fix the error all you have to do is , add non root user to the wheel group. For that we can use Linux usermod command.

How to Install TeamViewer In Centos 7

TeamViewer is a Remote Control and Desktop Sharing Software. It has been the most Popular Remote Control Software among Windows user, But also Available for other Platforms Including Linux. In This Tutorial We are going to see How to Install TeamViewer on CentOS 7, One of the Most Popular Linux Distribution.

Install FileZilla on CentOS 7

Filezilla Does not come with the default CentOS Repository, So we will use fedora epel repository instead. Installation is very simple, All we have to do is first install CentOS epel Repository and then Install Filezilla with yum command.

How to Install htop on CentOS 7

htop is a Linux process monitoring tool, It is an alternative tool for top command, Which is the standard and default process Monitoring tool in Linux and Unix Operating System. To Install htop on CentOS 7 We Want to add CentOS epel repository, Because the htop software package does not come with Default CentOS yum repository.

How to do an Apache Graceful Restart in CentOS 7

Apache Graceful Restart means, reloading the Apache Configuration(httpd.conf) without restarting the Web Server. When we do the Graceful Restart it only reloading the Configuration file and do not restart the Apache Web Server. So the currently open connections will not be aborted. So you can make the changes to the httpd.conf file and reload the changes without closing existing connection.

How to Give User sudo Access in Linux Centos 7

In Linux sudo is a command use to run commands with administrative privileges. It is Like run as administrator in the Microsoft Windows Operating System. But sudo is not a command that every Linux user can run. In order to use sudo command user must be a member of the group called wheel group.

How to Disable root ssh Login in Centos 7

You Can add extra security to a Linux Server By Disabling Remote Access to root User, So That Only None Root Users can connect to the server via ssh. In this Article we will discuss how to disable root ssh login in Centos 7.

How to Change Default SSH Port Number in Centos7

If You Familiar with Linux Operating system you Should already Know that SSH (Secure Shell) is a secure network protocol which we can use to login to a Linux computer from remote location and access Linux command line interface. What we Normally do is use ssh client software like Putty or SecureCRT and login to remote computer by using IP address or Hostname. By Default SSH uses TCP port 22 to establish the connection, but since everyone Knows what is the default port number is you may want to change ssh port from the default 22 to a different number for a security reason. Not a big deal we can Do that easily by editing sshd_conf file which is located at /etc/ssh Directory. So in this Tutorial i will Show you how to change SSH port in a Linux Server. And also you can use this method in any Popular Linux distribution such as Ubuntu, Debian, Redhat and Fedora. For This Demonstration I Will Be Using Centos7.

How to Install google chrome on Centos 7 Using Yum Command

This is Quick and Easy and Easy Guide to How to Install google chrome in Centos 7 Using Yum Command. What we Going to do is First Download google Chrome rpm package and install using with yum install. Even though i haven’t checked You should able to use This Method for Other Red Hat Based Distributions, includes Red hat Enterprise Linux, Fedora Desktop, Scientific Linux and Oracle Linux.