How to Add and Remove APT Repositories

Ubuntu based Linux distributions rely on a program called APT to handle package management. Using the command “apt-get”, you can install, remove and update other programs. The packages installed with APT are determined by software repositories, and while every Linux distribution has default repositories, you can also add or remove third-party sources.
To add a Personal […]

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

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

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

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

Install and Configure APF Firewall on an Ubuntu Server

In a previous post, we learned how to install a basic LAMP server setup on an Ubuntu Server. Once you have Apache, MySQL, and PHP up and running, you should strongly consider reconfiguring your firewall to accommodate it, while still keeping your server secure. While you could labor at iptables configuration manually, […]

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

Quick Bash Command Tricks

Bash is the common shell environment used on Linux servers. If you manage a server, there is a good chance you will need to drop to the command line at some point and encounter Bash or one of its alternatives. The following are some basic commands that can help speed up your bash experience.
Reload […]

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

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

Aptitude Package Manager Alternative

In previous posts, we have examined some of the features of APT, the Debian package management system, and learned how to install, update, and remove packages. Aptitude is a text-based frontend for APT that makes it easier to browse through packages, search, and manage them.
While APT operates completely from the command line, Aptitude uses […]

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

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 Reconfigure Installed Debian Packages

If you have a dedicated server that runs Debian GNU/Linux or a derivative distribution, such as Ubuntu Server Edition, you should be familiar with apt-get. This is the command you normally use to install, uninstall, and update software packages. A simple installation string looks like this:
# apt-get install packagename
When a package is installed, […]

Configure Apt-Get to Send Update Email Notifications

Last week we looked a YUM’s update settings and found a way to make it send email notifications when updates are available. You can accomplish the same setup with APT for Debian-based Linux distributions. The benefit of doing this is to have apt-get do nothing but notify you when updates are available, rather […]

Fixing Problems with APT

APT (Advanced Packaging Tool) is the package management system for Debian GNU/Linux and Debian-based operating systems such as Ubuntu. Some Red Hat, CentOS and SUSE Linux users may also prefer to use APT, although it is not the default. As we have previously discussed, the main command for APT is “apt-get” followed by […]

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