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 […]
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 […]
Linux services or daemons are programs that typically start when the system boots and remain running in the background until the system shuts down. What follows are three distinct ways to manage services RHEL and CentOS servers.
1. chkconfig – You can use this simple command to show current services, enable them, disable them, […]
Setting your date and time correctly on your Linux server is very important. Your server logs and other important information will all reflect the timezone of your server. In most cases, you will want to set your server’s time to match your own local time, but if your server is remote or hosting sites for […]
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 […]
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 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. […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
Virtualization can save you time and money when used efficiently. This has made it very popular for small, medium, and large sized data center operations. Whether you have a single server or a fleet of them, virtualization has its benefits.
KVM and Xen are two virtualization options for Linux servers, both with their advantages. Xen is […]
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, […]
Virtualization is a great tool for testing, learning, and general server skills practice. Using a virtualization tool like VirtualBox, you can install a server operating system within a virtual machine on your desktop or laptop. Once installed, you can pretty much do whatever you want with it and use it to learn more about […]
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 […]
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 […]
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 […]
Webmin is a web-based control panel for Linux/Unix system administration. If you have ever wondered if there was an easier way to manage many of the routine tasks you perform from the command line on your dedicated server, Webmin may be just the tool you need.
You can download the Webmin from the project’s website […]
Setting up a single server can teach you a great deal about system administration, and it can even be fun for those who love technology. But when you are placed in a position to deploy several servers, having to setup each one with the right operating system, software, network configuration, and security features can be […]
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 […]
When you have website errors or connection problems with your dedicated server, a good place to look for issues is the Apache log directory. There, you will find access logs, error logs, and others. On Red Hat Enterprise Linux, CentOS, and Fedora, the log files are typically located in /var/log/httpd. On Debian-based […]
Security is always an ongoing concern for Linux system administrators, and if it is not, it should be. The variety and number of threats to server security are profound, and smart server administrators are proactive in securing their dedicated servers from would-be attackers, viruses, and vulnerabilities.
Security-Enhanced Linux (SELinux) was originally developed for the US […]
ImageMagick is a powerful software suite that gives users the ability to create, manipulate, and process images in a variety of formats, including JPEG, TIFF, and PNG. It comes with a collection of command line tools for batch image conversion and many other tasks. It also serves as a frontend for a […]
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. […]