How to Fix the Bash Shellshock Vulnerability on Linux

In the previous post, we explained how to check your Linux server for the highly publicized Shellshock vulnerability in Bash. Fortunately, most, if not all, major Linux distributions have already uploaded the fix into their package management repositories. All you have to do is install the latest version. Unfortunately, there is some evidence to suggest […]

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 […]

Understanding Systemd and How to Use It: Part 1

Systemd has gradually made a name for itself in the Linux world and is or will eventually be the default service management system for a number of major Linux distributions. Those accustomed to the old init systems will not find Systemd to be horribly complex, but it does feature some significantly different approaches to service […]

How to Configure Linux Password Policies

One of your best weapons in the fight for server security is strong password management. Using the password policies you set in Linux, you enforce strong passwords, require password renewals and many other effective security measures.
First, you should install the cracklib module for PAM. Cracklib tests password strength. If you are using RHEL, CentOS or […]

Linux OS Reboot and Service Restart Guide

Your brand new Linux server may seem a bit intimidating at first, but with a little training and practice, you will find it to be very manageable. The following is a quick guide to restarting services and your OS itself.
Reboot – Rebooting your server is quite simple. On the console, you can press CTRL+ALT+Delete. If […]

Use VLC to Stream Live Media

You do not have to pay big money to stream video or audio over the Internet. If you already have a dedicated server or VPS, you can use VLC to stream media to your users.
VLC is a free and open source video player and streaming media server. On the client side, you can use it […]

How to Manually Install Packages on a RHEL/CentOS Server

On Red Hat Enterprise Linux and Red Hat-based servers (ex: CentOS), the best way to install packages is to use YUM. By entering the yum command, you can download and install software from the distribution and third-party repositories without any difficulty. On occasion, however, you might need to install an rpm package that is not […]

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 […]

3 Ways to Configure Services to Start at Boot in CentOS: Part 2

In part 1 of this series, you learned how to use the command line interface (CLI) and a program called chkconfig to configure services to start at boot on a Linux dedicated server. In this part, you will learn how to use the unique Red Hat “Setup” utility and Webmin’s web-based control panel […]

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 Reinstall a Package with YUM

In the event that something happens to the software you have installed on your server, you may need to reinstall it. YUM, the package manager for Red Hat Enterprise Linux, Fedora, and CentOS, allows you to reinstall packages whenever necessary.
To reinstall a package with YUM, do the following:
# yum reinstall name-of-package
YUM will prompt you before […]

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 […]

How to Autostart Services In Red Hat, CentOS, and Fedora

On a Linux dedicated server, certain applications can run as daemons. These are programs that begin running when the server boots and remain in the memory for the duration of the server’s uptime. Normally, when you install one of these programs, the system will automatically add them to the appropriate directories, such as “/etc/rc.d/init.d”.
There are […]

Building Programs from Source on a Linux Server

The idea of building a program from source may seem overwhelming to you, and for most software installation on your server, you can avoid it.  Nevertheless, there may come a time when it is the best option or even the only option.  When that time comes, you will wish you kept reading this article.
Before you […]

The “setup” Command on Red Hat-Based Servers

Server configuration can be time consuming, even if you happen to have a web-based control panel. On Linux-based dedicated servers, you can find configuration files for most of the applications and services in the /etc directory. These are text files that are not difficult to edit, but they do often require you to […]

Fixing Problems with YUM

YUM is the package manager of choice for many Linux distributions, particularly Red Hat Enterprise Linux, CentOS, and Fedora. Other RHEL-based distributions also use YUM. When using a dedicated server, such as those offered by hosting company, you will most likely manage packages from the command line via SSH.
YUM has […]

How to Force YUM to Exclude Certain Packages

YUM is the package management system for several Linux distributions, including three major server operating systems: Red Hat Enterprise Linux (RHEL), Fedora, and CentOS. Generally speaking, you can always safely perform updates to the latest software packages offered in the distribution repositories.
There are, however, instances when certain updates are acceptable but others may not […]

Linux server package management

Running an unmanaged server gives you the freedom to install the applications you want and maintain relative autonomy regarding resource allocation and development. But having your own server also means you are the one responsible for security updates and installing anything you want to add to it.
This does not mean you should panic. […]