Search Results for: centos - Page 4

11 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 »

How To Display Routing Table In Linux

The routing table is used to show you where various different network subnets will be routed to. Here are three different commands that you can use to print out the routing table in Linux.

Read more »

11 touch Command Examples For Linux

The ‘touch’ command is used to modify the time stamp of an existing file, or to create new empty files.

Touch comes from the GNU Coreutils package and should be available by default in Unix/Linux based operating systems.

The practical examples throughout this guide will show you how to use the touch command.

Read more »

How To Fix MariaDB 10.0.29 SELinux Update Failure

I have this server to set to automatically perform a ‘yum update -y’ once every 24 hours in order to keep it automatically up to date. After the most recent MariaDB update to version 10.0.29-1.el7.centos in CentOS 7.3 I found that it failed to start back up correctly, here’s how to fix it.

Read more »

Linux VS Windows Web Server Benchmarks

Following on from my recent Linux web server benchmarks and Windows web server benchmarks, I noticed that in general IIS appeared to perform better than all Linux based web servers that I’d previously tested.

As my Linux results were completed in March last year, I’ve run some of the tests again with the most up to date versions of each web server to ensure that the best performance can be achieved.

So let’s find out how Linux and Windows based web servers compare against each other in a static workload speed test.

Read more »

How To Repair An AWS EC2 Instance Without Console

Recently while rebooting the web server that hosts this website in order to perform a kernel update I ran into a kernel panic on boot.

Amazon Web Services (AWS) do not seem to provide an interactive console for Elastic Compute Cloud (EC2) instances, so I had to work out another way to fix the problem which I have documented here.

Read more »

25 Useful DNF Command Examples For Package Management In Linux

Dandified Yum (DNF) is an RPM based package manager which is used to install and update packages in various Linux distributions including CentOS, RHEL and Fedora.

DNF is the next major verison of Yum and as such it aims to maintain CLI compatibility with Yum, so a lot of the information here will be similar to our yum commands.

Like Yum, DNF is quite powerful as it’s capable of automatically resolving dependency issues, and is similar to other package managers such as ‘apt-get’ in Debian based distributions.

These examples should serve as a useful introduction, guide or cheat sheet style resource for how to use the dnf command in Linux.

Read more »

12 Dig Command Examples To Query DNS In Linux

Dig (domain information groper) is a tool that is used for querying DNS servers for various DNS records, making it very useful for troubleshooting DNS problems.

By the end of this guide you will know how to use dig to perform different types of DNS lookups in Linux.

Read more »

11 ip Command Examples For Linux

The ‘ip’ command is used to print out various network information in Linux. It replaces the deprecated ‘ifconfig’ command, which is not even installed by default in CentOS 7.

The ip command is part of the iproute package, which is installed by default in most modern Linux distributions.

In the examples here you’ll see how to use the ip command to show network configuration such as link information, IP addresses and routing.

Read more »

14 Simple df (Disk Free) Command Examples For Linux

The ‘df’ command is used to quickly print an overview of the disk space in use on different partitions and file systems.

df comes from the GNU Coreutils package and should be available by default in Unix/Linux based operating systems.

Read more »