How to configure a static IP address in CentOS

The following steps will configure CentOS with a static IP address. Check the network interface that you would like to set the static IP address on. ip addr Here we are setting network interface enp0s8 to be static.  We need to edit the corresponding file in the path /etc/sysconfig/network-scripts .  The file for interface enp0s8…

Read More

Partitioning Scheme of a Linux Web Server

Specifying a good partition scheme in Linux can help when things go wrong.  If a partition fails it will not effect the other partition’s data. The following is a good partition scheme for a web server.  Following numbers are for a 10Gb Hard Drive.. /boot  Contains all the files and directories to boot the Linux kernel…

Read More

The Linux File System Hierarchy

To be able to manage a Linux computer, you need to be familiar with the default directories. The layout of the Linux file system hierarchy is defined in the Filesystem Hierarchy Standard (FHS). File System Hierarchy Overview   Mounting in Linux Linux allows mounting devices under the / root.  This allows to organise the Linux…

Read More