Category Archives: Linux

How To Disable Specific Package Updates In RHEL/CentOS Linux

How To Disable Package Updates In Linux

We can exclude a list of packages from being installed or updating from all repositories by specifying that we want to exclude them in the yum.conf file.

This will prevent yum from updating these packages and all future updates will be ignored as we will see here.

Read more »

11 rm Command Examples For Linux

rm Command Examples For Linux

The ‘rm’ command is used to delete files and directories, rm comes from the GNU Coreutils package and should be available by default in Unix/Linux based operating systems.

By the end of this guide you should know how to use rm to remove files and directories in Linux by following these practical examples.

Read more »

Where Is The php.ini Configuration File In CentOS?

Where Is The PHP Configuration File php.ini In CentOS Linux

How can we find the default configuration files for the PHP packages in CentOS Linux?

By using the RPM command we can query a package to find all of its associated configuration files. Failing that we can use the find command to search the file system for these files, as we will see here.

Finally we’ll cover how we can use a phpinfo file to show us which configuration file is in use.

Read more »

How To Start GUI In CentOS 7 Linux

Linux How To Start GUI In CentOS 7

By default a full installation of CentOS 7 will have the graphical user interface (GUI) installed and it will load up at boot, however it is possible that the system has been configured to not boot into the GUI.

In this quick guide we will show you how to swap to the GUI and enable it to start up by default on system boot.

Read more »

How To Setup A LAMP Web Server With CentOS 7 Linux

How To Setup LAMP Stack Web Server In CentOS 7 Linux

With the correct packages we can quickly setup a simple CentOS 7 server to run a full LAMP stack.

This will turn our Linux system into a web server capable of serving out dynamic content from a database back end.

Read more »

Where Is The Apache Configuration File In CentOS?

Where Is The Apache Configuration In CentOS Linux

How can we find where the default configuration files for the httpd package in CentOS are located?

By using the RPM command we can query a package to find all of its associated configuration files. Failing that we can use the find command to search the file system for these files, as we will see here.

Read more »

How To Disable The Firewall In CentOS 7 Linux

How To Disable The Firewall In CentOS 7 Linux

Default installations of the CentOS 7 Linux operating system have the firewalld firewall installed and enabled by default as a security measure, but how can we disable it?

In this quick guide we will show you how to disable both firewalld or iptables in CentOS 7 through the command line.

Read more »

How To Upgrade PHP 5.6 to 7.1 in CentOS 7 Linux

How To Upgrade PHP 5.6 to 7.1 in CentOS 7 Linux

In this post I’ll show you how to upgrade PHP 5.6 to 7.1 in CentOS 7 Linux. I performed this process today on this server and wanted to document the problems that I had along the way, along with relevant fixes.

Read more »

How To Upgrade MariaDB 10.0. to 10.1 in CentOS 7

How to upgrade MariaDB 10.0 to 10.1

This short guide will show you how to upgrade MariaDB 10.0 to 10.1 in CentOS 7 Linux. We’ll start by modifying the repository file and perform a ‘yum update’. This may fail to automatically update the MariaDB-server package, so we’ll show you how to manually use the mysql_upgrade script to complete the process.

Read more »

Which Version of CentOS/RHEL Linux Should I Use?

Which Version of CentOS/RHEL Linux Should I Use

There are many different supported versions of Red Hat Enterprise Linux (RHEL)/CentOS Linux available for use, so which version of CentOS/RHEL Linux should you be using?

Here we take a look at the differences between the different versions of CentOS and compare them to help you decide on the best version to use.

Read more »