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 Extract Specific Files from a Tarball

One of the most common methods of archiving files on a Linux or Unix server is called tar. Tar can store any number of files in individual archives and can be used in conjunction with compression programs like gzip and bzip2. Normally, when you want to extract files from a tarball, you simply run the […]

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

Server End of Year Tasks 1: Check Your Backups

As we come to the close of another year, it is a good time to perform some routine tasks on your server, especially if you have been putting them off until “the right time”. The beginning of a new year is usually busy, so you should take the time now to get those tasks done […]

Dedicated Server Terminology: Part 3

This is a continuation of Dedicated Server Terminology parts 1 and 2.
11. Cache – Caching gives your server a distinct advantage by keeping the most frequently-used data in memory or easily accessible on the disk.  Just as an operating system might cache important application data, you can configure your web server to cache […]

How to Archive, Compress, and Uncompress Files

Linux servers and many other servers with Unix-like operating systems rely on archiving and compression tools like tar and gzip to rotate logs, store backups, and even cache websites.  In those cases, dedicated server’s software will automatically make use of those tools.  If, however, you ever need to extract data from those archives or make […]

How to Create Compressed Archives

Disk space on a dedicated server is a premium commodity. One convenient way to save hard drive space on your server is to compress files and directories. This is particularly useful for files that are not commonly used or that only serve as backups. It is also useful if you need to […]