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 Remove Old Linux Kernels

Linux distributions that use binary packages usually install kernel updates in separate directories from previous kernel versions. Therefore, it is possible to have several instances of Linux installed within the same system. This is a precaution that prevents you from overwriting your kernel with one that may not function the way you want, or at […]

How to Free Up Space by Removing Unwanted Packages

On Debian-based systems, the APT package management system stores downloaded packages even after you have installed them and keeps the handy in case you want to reinstall without having to re-download. After a certain amount of time, you might decide you no longer need to keep these packages around, especially if they are taking up […]

How to Remove MySQL Databases and Users

You may spend a good portion of any given day adding users and databases to your MySQL server, but you might not spend much time removing them, even after you or your users no longer need them. Nevertheless, it is very important to not leave unattended databases and users lying around for would-be attackers […]

How to Remove Old Downloaded Packages from APT

One of the routine end-of-year tasks you might want to perform is the removal of old packages that your system downloaded but may no longer need. You may have installed applications and later uninstalled them, but your package manager sometimes keeps those downloaded packages in case you need them later. Fortunately, with APT, it is […]

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

How to Install and Remove Packages with Webmin

One of the features Webmin has to make your system administration easier is a module for software package installation, updates, and removal. Using a graphical interface, you can keep your dedicated server updated and install new software whenever you need it.
To install software, do the following:

Login to Webmin and click “System”
Click the “Software Packages” […]

Server End of Year Tasks 3: Remove Deactivated Accounts

As we move one day closer to the end of the year, it is increasingly important that you take some time to look at your server and find out what needs improving. You might also want to do some general house keeping, especially if you have neglected these clean-up tasks throughout the course of the […]

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

File and Directory Removal on a Linux Server

Most of us are accustomed to the comforts of a desktop operating system. Deleting files usually involves clicking on their icons and pressing the delete key or dragging them to the trash. Regardless of which OS you use, you probably rarely drop to the command line to do your deleting.
For a Unix or Linux server […]

How to Delete Linux Files Completely with Shred

Deleting files is probably not something you think about on a regular basis, but you inevitably do it regularly without thinking.  Files come and go, but on a dedicated server, it is sometimes important to make sure the files you have deleted are truly gone.
The “rm” command in Linux is the standard command most sysadmins […]

Working with APT on a Debian Server

Debian GNU/Linux and other OSes based on the free and open source operating system, such as Ubuntu, use a package management system called APT to install, update, and remove software.  APT is very powerful and easy to use.  You can access it from the command line via SSH, giving you full control over the software […]

How to Remove Multiple Files from the Command Line

While web-based control panels are good for some tasks, bulk file management is not one of them.  It is quite a bit slower to have to navigate through various directories, especially if you have a good size dedicated server with many domains attached to it.  Using a web-based file manager can be downright painful.  Fortunately, […]

How to Remove Trojan.JS.Redirector.cq from Your WordPress Site

I had seen a post on Twitter about a bunch of MediaTemple accounts getting infected with this virus a few days ago, and it’s no surprise that the host hasn’t done anything about it yet. When I went to a client’s website during a call, Kaspersky caught the malicious code right away. Having a […]