Scanning for rootkits with rkhunter

Continuing with the defence in depth articles, this article concentrates on installing and configuring rkhunter.

Rkhunter works along the same lines as the article describing chkrootkit in that it scans an already established system for rootkits but rkhunter also scans for other types of exploits.

Continue reading...

Scanning for rootkits with chkrootkit

Defence in depth is one of the basic tenets of server administration. Up to date and secure installations, firewalls, limiting ssh access and strong passwords are the front line.

But what about 'inside' the server? One method of monitoring the content of a server is to scan for rootkits on a regular basis.

Continue reading...

Assigning custom sudo privileges

Assigning 'standard' sudo privileges is fairly easy and is one of the first things a sysadmin will do when creating an administration user.

But what if you want to create another administrator but not give them access to all the commands as the sudo user?

Continue reading...

more tar and untar

As already hinted at in the tar and untar article, there is much more to archiving your files and folders than compressing and uncompressing.

We know how to extract a single file from the archive, but what about adding a single file or folder? What about deleting files without extracting the whole archive? This article concentrates on some advanced tar and untar techniques.

Continue reading...

tar and untar

When transferring files from one computer to another, the smaller the file and the least number of files possible speeds up the process enormously.

This article concentrates on compressing and uncompressing files and folders using the command line into, and from, different formats.

Continue reading...

System monitoring with munin

Sometimes it's nice to be able to glance at a graph and see a trend such as how the server handles the Friday rush. Exactly when is the swap space being utilised? Is mysql using cached queries?

Munin goes a long way to answering these questions with easy to read graphs and charts.

Continue reading...

Automatic update and upgrade

Fetching and installing security updates and fixes is a priority for any server administrator.

However, this can take time so why not have your server send you an email when an update is available?

Continue reading...

Users, groups and permissions - page 3

Now we've had a good look at the theory of users, groups and permissions, we can concentrate on applying this to our server.

We'll create files and folders and see what permissions have been applied and how to change them.

Continue reading...

Users, groups and permissions - page 2

Carrying on from the users and groups discussion on page 1, this article introduces permissions, what they are and in what way they apply.

Continue reading...

Users, groups and permissions - page 1

One of the concepts many people struggle with is that of users, groups and permissions. It's not only people migrating from a Windows OS but many people who already use Linux and Macs.

These concepts are the building blocks of the Linux OS and are the key-stone for all security measures on your VPS and server.

Continue reading...

System monitoring with top

The 'top' command gives a real-time overview of what is happening on your server. Easy configuration and a simple interface allow you to change the emphasis of the summary. For example, choose to concentrate on CPU use or memory use.

Continue reading...

Memory management

Administrating a server can be done on many levels. Basic monitoring should be done on a regular basis. This keeps you informed as to the general condition of your server and may warn of impending problems.

This article concentrates on memory management.

Continue reading...

Litespeed - Virtual Host Layout

This article outlines the layout used for the virtual hosts throughout the Litespeed Server setup articles.

Understanding the layout makes for quicker and easier setup of the server and consistency will save us time.

Continue reading...

Litespeed - configuration

Well, we've installed Litespeed with the latest PHP release, secured the admin area connection and upgraded to the latest version.

Now we can configure Litespeed to server our PHP sites and our Ruby on Rails Applications.

Continue reading...

Litespeed - upgrading the server

Litespeedtech are very good at releasing updated versions of the free and commercial webserver.

This article will take you through the two methods of upgrading to the latest version: automatic and manual upgrades.

Continue reading...

Litespeed - administration security

Now Litespeed is installed, we need to secure the administration area. We'll do this by adding a SSL connection to the administration port and configuring the server to accept connections to that port from our IP only (or from a group of IPs).

Continue reading...