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

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

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

The Benefits and Drawbacks of Using Aptitude for Package Management

If you spend enough time around Debian and Ubuntu folks, you are sure to see someone praising the benefits of Aptitude over Apt-Get for package management. Aptitude, which has both an n-curses semi-graphical version and a command-line version, is superior according to some, but there are plenty who still prefer apt-get. What follows are some […]

How to Perform an In-Box Upgrade on an Ubuntu VPS

In-box upgrades on any operating system can be tricky. You are essentially updating all of the software, including the kernel, while keeping all of the current data. This makes it inherently risky, and some would argue against it and maintain that you should either not do upgrades or only do backups and clean installs.
For Ubuntu […]

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

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

How to Add Repositories to Ubuntu Server

Ubuntu is well known for being one of the most popular Linux-based desktop operating systems, but it is also become popular for server usage as well. The highly-acclaimed cloud platform OpenStack is built around Ubuntu, and many web hosts now offer it as an option for their VPS and dedicated server clients. This brief tutorial […]

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 Force Installation of Ubuntu Packages Kept Back

Ever so often, you might try to update your Ubuntu Server packages and find that certain ones are “kept back” during the upgrade process. These will often be kernel or other mission critical packages that do not get updated.
The reason some packages might get kept back is that some dependencies have been changed for them, […]

Improve PHP Performance with HipHop

HipHop can improve your server’s PHP performance. No, I do not mean the hip hop you might hear on your favorite rapper’s latest album. In this case, HipHop refers to some PHP improvements originally created by Facebook and then released as free and open source software. HipHop can significantly increase PHP web application speed and […]

Ubuntu Server Name Resolution Settings

If you have been following our Ubuntu server series, you have learned how to setup a LAMP server and configure an APF firewall. In order to do any of this, you likely already had your networking configured correctly, but if you do not, this brief tutorial explain how to setup name servers and ensure they […]

Install LAMP on an Ubuntu Server Quickly and Easily

LAMP is a software stack for servers that refers to Linux Apache MySQL and PHP. It is still one of the most common configurations for servers and web applications, and it is very easy to install on Ubuntu servers. Simply follow these instructions:
The first part of LAMP, namely Linux, should already be installed, so […]

How Do I Create an Ubuntu User with a Home Directory?

On an Ubuntu server, you might encounter a problem when it comes time to create a new user manually. Running the “useradd” command will create a user but do nothing else. It will not ask you to create a password or create a home directory. There are two easy solutions for this:
1. Run useradd […]

How to Manually Install Packages on a Debian Server

On Debian and Debian-based servers (such as Ubuntu Server), the primary method of package installation is APT. Using the apt-get command, you can download and install software from the distribution and third-party repositories with relative ease. There may come a time, however, when you need to install a deb package that is not from your […]

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

How to Install Webmin in Ubuntu

Ubuntu is the most popular desktop Linux solution, and because of this, many system administrators have become comfortable using it even on the server. Ubuntu does offer a server edition, and it is just as powerful and useful as any of the other Linux server distributions. This brief guide will explain how to install Webmin, […]

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: Debian GNU/Linux

Although it is not specifically designed for servers, Debian GNU/Linux is a popular choice for system administrators because of its stability, security, and long stable release cycle. Debian has also been around for a very long time (19 years) and is regarded as one of the most reliable operating systems in terms of staying true […]

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

How to Install Webmin on a Debian Server

Webmin is a free and open source graphical system administration interface for Unix-like operating systems. In previous posts, we have explored some of the ways that you can use Webmin to make your system administration easier. We also learned how to install Webmin on CentOS. Today, we will look at another popular Linux-based operating system: […]

How to Fix APT Dependency Problems

APT is a package management system for Debian and other Linux distributions based on it, such as Ubuntu. For the most part, APT is easy to use for installing, removing, and updating packages.
With a normal APT install, using the apt-get command, a package will install without any problems. Installing a package in an APT repository […]

Linux VPS: Choosing the right Linux Distribution for your LAMP

Running a LAMP VPS means choosing a distro to go along with your server space; a choice that often comes with a number of judgments on the part of so-called “experts” in the field. Everyone has their favorite distro for their own reasons, but each one performs admirably in its own space. Choosing one comes […]

SUDO vs SU: What Really Matters

If you spend a decent amount of time talking to people in the Linux and free software community, you are bound to stumble upon the sudo vs su debate.  Some system administrators swear by sudo and argue it is the only way to truly keep your administrative account secure.  Others argue in favor of su, […]

How to Add an APT Repository

APT is a free and open source package management system used by many popular Linux distributions, such as Debian and Ubuntu.  APT provides an easy way to install, update, and remove packages for your server.  By default, APT includes repositories for your installation CD and the default online distribution repositories.  If you want access to […]

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

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

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

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

How to use APT to install Linux software

Last week we learned how to install Linux applications with YUM. This is the common method used for most Linux servers based on Red Hat Linux. For Debian, however, another package management tool, called APT, is the default. APT, which stands for Advanced Packaging Tool, was originally designed for “.deb” packages, […]