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

Manage Your Log Files with Logstash

Your dedicated server has lots of logs. Almost every service and program running on a Linux or Unix server has a log file associated with it that includes relevant information about processes, errors and warnings. Sifting through all of those logs can be a pain, especially if you need to review old logs or compare […]

How to Update Your OpenSSL Version to Fix Heartbleed Bug

Heartbleed, the highly publicized OpenSSL bug with the unfortunate name, has a lot of system administrators scurrying to fix the problem. If you have not heard about it by now, it is a security hole found in OpenSSL’s TLS heartbeat extension that a cyber criminal can use to reveal 64k of memory on a connected […]

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

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

How to Install OpenVZ on CentOS

CentOS is one of the most popular free and open source server operating systems. OpenVZ is a popular open source system for creating virtual private servers. Combine the two together, and you have a low-cost yet powerful VPS system. The following is a brief installation guide to get OpenVZ running on CentOS.
Step 1. Add […]

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

How to Reinstall Packages on a Linux Server

Linux has a very unique method of installing applications. Most Linux distributions rely on package management systems that download package archives containing all of the files for an application and then copy them to their correct locations. Once the files are installed, any changes you make to them can affect the functionality of the app. […]

Server OS Profile: CentOS

Sometimes you need enterprise-level software but cannot afford the enterprise-level price. Such is often the case with dedicated servers. Many individuals and companies operate on a limited budget and cannot afford to pay for licensing and support for an enterprise server OS such as Red Hat Enterprise Linux. Others simply may not need the paid […]

How to Install and Remove Packages in FreeBSD

If you have used Linux servers, you are probably very familiar with the package management systems, such as YUM or APT. Unless you used Gentoo, however, you may find the package management system in FreeBSD to be noticeably different. What follows is a quick start guide to FreeBSD’s package management system called Ports Collection and […]

How to Connect to a Virtualbox VM Via SSH (Part 1)

In some previous posts, you learned how to setup a Virtualbox virtual machine (VM) for the purpose of creating a test server environment. Once you have a functioning test server, you are free to always work on it within the virtual machine, but if you ever want to connect to it remotely, you probably soon […]

How to Get Colored Man Pages in Linux

A man page is one of the most valuable tools available on a Linux dedicated server. Although the name might seem to imply something masculine, the word “man” is actually short for “manual”, and on a Linux server, you have probably not come close to unlocking its full potential until you have read some of […]

How to Set Processor Affinity for a Specific Task

Linux operating systems work very well with multi-processor servers. Today’s dedicated servers almost always have multiple processors or cores. When you have 4, 8, or even more logical CPUs, you can use Linux’s scheduling system to assign specific tasks to individual CPUs. As long as the task is assigned to that particular CPU, it will […]

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

How to Setup and Use KVM: Part 2

This guide will describe how to install and setup KVM on a Red Hat/CentOS server. The end result will be a system capable of hosting multiple virtual machines, all of which operate on a bridge network, meaning they are equally accessible within the same LAN and would appear to a remote user as though they […]

How to Update Packages with Webmin

In the previous post, you learned how to install and remove software packages using Webmin’s graphical interface. Today, you will learn how to update individual packages and do a system-wide upgrade, all from within Webmin’s control panel.
Just like installing and removing packages, Webmin will rely on your package manager (APT, Yum, etc.) to update […]

Are There Benefits to Manually Installing Software?

Linux servers have a distinct advantage over most proprietary operating systems because of their extensive package management systems. Whether a server uses YUM or APT, it is much easier and faster to install and update software than using traditional manual installation methods. This raises the question: is it ever a good idea to install software […]

How to Install FFMPEG in CentOS

Websites have graduated far beyond simple text-based one-page documents. Most include all sorts of multimedia, from videos to full animated applications. Many small website owners may rely on cloud service providers for their music and video streaming, but if you ever need to host your own media content, you will probably need a program that […]

How to Build a Chroot Environment in CentOS

The purpose of a chroot jail is to allow you to run a virtual file system within a larger one. You can use it for any number of reasons, including virtual shared hosting accounts. The user whose login account is associated with a chroot jail can use an entire virtual Linux distribution within the jail, […]

What to Do When Package XYZ is Not Available

Dedicated Servers do not need a lot of software to run. You have your operating system, basic system services, the web server, mail server, database server, and a firewall. Depending on your setup, you may have other applications, but you usually do not need to install any exotic software. Web applications cover most frontend functions. […]

YUM Tutorial: Undo Package Updates with Rollback

In almost all situations, keeping your server up-to-date with the latest packages is the smart thing to do. In some cases, however, updates (especially more involved upgrades) may cause certain web applications to stop functioning properly or may introduce a new bug that the developers missed.
To make sure you do not get one of these […]

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 Install Webmin on a CentOS Server

Webmin is a free and open source web-based interface for Unix and Linux system administration. It is more powerful and more comprehensive than the typical web-based control panel, and it is also completely free to download and use. You can install Webmin on just about any Linux distribution, BSD variant, or other Unix-like operating system. […]

How to Install Local RPM or DEB Files

One of the common problems you may encounter with a Linux server is that locally-installed packages require dependencies in order to work. When you install software directly from your distribution’s package repository: yum or apt-get, for example, these programs will install any necessary dependencies automatically. Sometimes, however, you need to download a single .deb or […]

How to Install Software on a Linux Server

Installing software on a Linux dedicated server depends on several factors.  Namely:

The Linux distribution you are using
The package availability of the software you want to install
The source of the software.

Linux distributions use package management systems to make installation of software easy.  In most cases, these distributions have online repositories that allow you to quickly and […]

How to Install ModSecurity in CentOS

ModSecurity is an application firewall that protects your server from script exploits found in web applications.  It is a great tool you can use to tighten security and adds another layer of protection in addition to your network firewall.  This is a brief guide that should help you get ModSecurity installed on a dedicated server […]

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

YUM Auto Update Alert

On a dedicated server running CentOS, there are two common options for running system updates: manual or automatic. There are, however, less common options, such as scheduling your own auto updates with a cron job or having your system alert you whenever new updates are available.
There are a couple of reasons why you might […]

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 34sp.com, you will most likely manage packages from the command line via SSH.
YUM has […]