Posts Tagged Linux

Multiple IP Addresses on the same physical connection (Linux)

There are times when a server can be allocated more than one IP Address even though it contains only one physical network card. To associate these IP addresses with the server some manipulation of networking settings will need to be performed. The steps outlined in this walk-through are for RedHat based systems. This tutorial is for statically assigned IP Addresses (as a server generally will have).
Read the rest of this entry »

Tags: , , , ,

Setting Up a PXE Boot Server on CentOS 5.5

One of the nice things about all current network cards is that virtually all of them are capable of booting to a network server. This tutorial will show you how to set up a server using the Preboot Execution Environment, or PXE (pronounced Pixie). It is very easy to set up and can be immensely useful. For the purposes of this tutorial, I will be using CentOS 5.5 x86_64 as the host system. All packages can be found in the official CentOS repositories. For the tutorial, I will use CentOS 5.5 x86_64 as the PXE boot OS as well. I will also have examples of some other systems you can set up to boot to, though I will not go into as much detail about them.
Read the rest of this entry »

Tags: , , , ,

OpenLDAP on CentOS 5.4 – Part 4 – The Data

For part 3 of this tutorial, which covers the client side configuration for OpenLDAP, click here.

The Data

At this point, we’ve planned our directory, installed and configured the server, and configured the client. We’ve tested that the client can communicate with the server. Now we need to put some data in our directory. To do that, we’re going to use the LDAP Data Interchange Format, or LDIF, to create records to insert. I’ll cover the two main ways to add records to the directory, and I’ll also show you how to use scripts provided with OpenLDAP to convert your existing users.

Read the rest of this entry »

Tags: , , ,

Securing SSH

SSH is how most administrators connect to their servers. It is also one of the most commonly attacked ports on a Linux Server. If you followed my previous tutorial about how to install fail2ban, you’ve probably noticed that you receive many emails about failed attacks. In this tutorial, I’ll show a few more steps that can be taken to lock down the SSH daemon and your server even further.
Read the rest of this entry »

Tags: ,

OpenLDAP on CentOS 5.4 – Part 3 – The Client

For part 2 of this tutorial, which covers the installation and configuration of the server, click here.

Client Configuration

Now that we’ve gotten our server up and running, it’s time to configure a client to use it. Many Linux distributions require you to manually edit the proper files to configure LDAP authentication, but Red Hat and its derivatives use an automatic system instead. In fact, the files that are required for client configuration should not be configured manually at all. You risk losing your changes since any time you run the configuration wizard it resets the PAM files that allow LDAP authentication.
Read the rest of this entry »

Tags: , , , ,