How to Add/Remove Yum Repositories

Red Hat Enterprise Linux, CentOS, Fedora and other Linux distributions based on RHEL all use YUM as a package management system to install, remove, and update software. Each distribution has its own main repository, but you can also install or remove third-party repositories whenever you like.
To add a YUM repository, type as root:
yum-config-manager –add-repo repository_url
For […]

How to View Hardware Information on a Linux Server

Have you ever found yourself in a situation that required you to find out some information about your server’s hardware and did not have the documentation handy? In some cases, the documentation may even be too generic, covering multiple models. In such a circumstance, you can either crack open the server and take a peek […]

Why Use Linux for Dedicated Servers?

A recent report indicates that 97 percent of the world’s top 500 supercomputers run Linux. That statistic seems unfathomable, as if no other operating system even exists or is even worth mentioning. Most of the remaining 3 percent are some other Unix variant, and Windows barely registers at all. The question one […]

Encrypt Your Linux Server Filesystem with eCryptfs

Encryption has become a highly requested feature on the web lately with all of the talk of government spying, heartbleed and general security concerns. While most discussion has centered around encrypting the transport of data (via SSL), you might also want your data encrypted on disk as well. On a Linux-based server, you can encrypt […]

Should I Use CentOS for Business?

If you ask someone at Red Hat about CentOS, they will likely tell you that it is a great “community” distribution, but for enterprise servers, you need Red Hat Enterprise Linux and the support that comes with it. This is their job, of course, to promote their own software, but there is also some truth […]

Setup and Configure CentOS Server Part 1

CentOS is essentially a free implementation of the open source code from Red Hat Enterprise Linux. Logos and other trademarks aside, CentOS is RHEL at its core without the licensing fees. As such, CentOS has become very popular among server administrators as an ideal Linux server solution. This brief tutorial will explain how to get […]

Speed Up Your Web Applications with Memcached

Most modern websites are dynamic in nature. They are updated on the fly, rely on database backends and often feature some type of support for user interaction. While those aspects of dynamic websites are all positive, the negative side is that they require more system resources, especially memory. A more resource-intense web application can slow […]

Do I Need A Commercial Linux Distribution?

Your shiny new server is just begging for an operating system or perhaps even two or three, if you intend to use virtualization. You might have already decided to use a Linux-based operating system, which is popular for Internet-connected servers. What you might still need to decide, however, is whether to use a community distribution […]

How to Apply Apache Configuration Changes Gracefully

From time to time, you may need to make changes to your Apache HTTP Server configuration file, especially if you are optimizing your web server for performance. Once you have completed changes, they will not come into effect until you restart your web server. This, however, would mean downtime, however briefly, for […]

What Are Shadow Passwords?

On a basic Linux system, passwords are stored in the /etc/passwd file. This is usually OK for a single-user system, but on a multi-user system, such as a server, the passwords should be hidden and encrypted. Shadow passwords allow you to do just that . On Red Hat Enterprise Linux and CentOS, the shadow-utils package […]

Linux Server Security Guide: Part 1

Over the years at Dedicated Server School, we have provided you with numerous security tips, often on an individual and specific level. This five-part series will instead give a general overview of Linux server security to serve as a quick reference tool whenever you might need it. Rather than searching for the security topic you […]

Server OS Profile: Red Hat Enterprise Linux

For many years, some people believed it was impossible for a free and open source operating system like Red Hat Linux to be profitable. With the formulation of Red Hat Enterprise Linux, the company Red Hat proved that theory wrong and also established Linux as one of the most widely-used Unix server alternatives. It now […]

How to Load and Unload Kernel Modules

The Linux kernel is the foundation for a multitude of mobile, desktop, and server operating systems, from Android to Red Hat Enterprise Linux. Hardware drivers and other key components can either be built directly into the kernel and reside as modules that you can plug in or remove whenever necessary. What follows is a brief […]

How to Disable a Firewall on RHEL/CentOS

It is generally not a good idea to disable the firewall on your dedicated server, but there are instances when it might be necessary. For example, if you need to run some network tests or perform some type of maintenance, you may need to have your firewall disabled. Most Linux distributions come with the standard […]

How to Change Directory Colors in CentOS

When you log in to your dedicated server via SSH and run the ls command to list your files, you may notice that directories and files are color-coded. Directories are probably dark blue along with light blue symbolic links, and bright green executables. For some users, especially those who prefer a dark or even black […]

How to Setup and Use KVM: Part 1

Virtualization is one of most important advancements in computing. It allows the user to run one operating system within another, accessing and interacting with the hardware as though it were running natively. Over the past decade, the technology has progressed to the point where you can now run a virtual machine at nearly the same […]

Back to the Basics #3: Server Operating Systems

In the third part of our “Back to the Basics” series, we will look at the operating systems that power today’s servers. Just as there is a diverse amount of hardware available on the server market, so too are there a great number of operating systems. They are not all equal in all aspects of […]

Which Linux Distribution Is Best for Servers?

Recent reports have indicated that Linux continues to gain a larger share of the server market, while Microsoft Windows and variations of Unix continue to lose significant market shares. Linux has become the dominant server OS type of choice, and for web servers in particular, Linux is almost the default.
Nevertheless, to call Linux a single […]

Starting, Stopping, and Reloading Services

Linux-based dedicated servers typically run two primary types of programs: those which require user interaction and those which perform tasks in the background without user intervention. Those programs that run in the background are commonly called “services” or “daemons”.
Servers usually require numerous services to run the background, such as the web server, mail server, database […]

Is a Commercial Linux Distribution Worth the Price?

Deciding to go with Linux as your dedicated server’s OS of choice is only a first step. Linux, after all, is only the kernel of a wide variety of operating systems, called distributions. While all of them pretty much have the same security and stability benefits that likely caught your attention in the first place, […]

YUM Tutorial: Disable and Remove Repositories

YUM is a package management system for Red Hat Enterprise Linux, Fedora, and Red Hat-based distributions such as CentOS and Scientific Linux. With yum you can keep your operating system and applications up to date without much hassle. The following tutorial will explain how to use yum to remove packages, purge old package headers, and […]

What Makes a Linux Distribution?

If you are new to server terminology, you may not fully understand what Linux is.  While it is commonly used to refer to an operating system, there is actually no operating system called Linux.
Linux is actually the kernel of an operating system.  A kernel is the core that interacts with hardware, contains drivers, and is […]

How to Change Your SSH Port with SELinux (RHEL 6)

In a previous post, we explained how to change the SSH port on your Linux server from the standard port 22.  In most cases, this works just fine, but if you are using Red Hat Enterprise Linux 6, there is a good chance you received an error such as […]

Linux vs BSD

If you spend any time on free software websites or forums, you have undoubtedly heard both sides of the argument of Linux vs. BSD.  Each side claims to have advantages in particular areas, so it may be difficult for you to easily tell which one is actually better.  Before you even begin to decide which […]

Why CentOS is So Popular

Many web hosting providers, perhaps even most, use CentOS to power their dedicated servers.  Of the many options for paid operating systems (such as Red Hat Enterprise Linux or even Windows) or free operating systems (such as Debian or Slackware), these hosts choose CentOS.  The question is “Why?”  What is so special about this Linux […]

Schedule Automatic Updates in YUM

While some people may want to manually execute every single package update for their dedicated servers, you may be the type of person who expects your server to run well without any tweaking or manual configuration. CentOS and Red Hat Enterprise Linux give you that luxury. If you want, you can let the […]

The Advantage of Using Major Linux Distributions

One interesting feature of Linux is the freedom to create your own variation, usually called a distribution. Because of this, there are probably hundreds of Linux distributions, each with their own feature set, default packages, and general focus.
No particular distribution is considered clearly better than the others, although many Linux users will debate this […]