The Fedora 20 Active Directory Integration Guide : Introduction

Linux has come a long way toward being more user friendly in the last few years, and Fedora 20 is no exception.  One area in which it shines is its incredibly smooth integration with Active Directory through realmd.  What makes realmd (and sssd) so powerful is that because PAM uses them as part of its authentication chain, any existing application that uses PAM for authentication has automatic access to Active Directory after the machine is joined to the domain.

However, because this is a relatively new addition, there is not a lot of accurate information on the web about how to perform many everyday tasks.  There are also a lot of out of date guides or guides that assume you are using local accounts or manually performing ldap lookups.

This guide is designed to make setting up a network of Fedora 20 servers integrated with Active Directory simple and hassle free.  It makes the following assumptions:

  • You have already installed 2 Active Directory domain controllers, named dc1 and dc2
  • You have chosen the domain name corp.mydomain.com and the NT name CORP
  • You have created yourself a regular account username, and a domain administrator account username.da
  • We will be installing 1 server per major service or application

Table Of Contents

  1. Joining A Domain
  2. Mail Server
  3. File Server
  4. Jenkins
  5. Apache and Nagios

How to specify a kickstart file when installing Fedora 20 in UEFI mode

There are a lot of articles on the web that will tell you how to specify a kickstart file when installing Fedora 20 in BIOS mode, but when I had to recently install a number of systems in UEFI mode, I had trouble finding any resources.  When you have to install more than a couple systems, making a custom image for each one with a ks.cfg file at the root is highly impractical so being able to specify a kickstart file is important.

Installing in BIOS mode is easy.  Just press <escape> at the installation menu and you are greeted with a

boot:

prompt that allows you to send custom parameters to the installer.  However if you choose to boot your installation in UEFI mode, you are greeted with the Grub 2 screen and pressing escape doesn’t work.  Instead, highlight the Install Fedora 20 option (but don’t press <enter>) and press e to edit the menu option.  This will bring you into a fullscreen editor with the following text.

linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora 20 x86_64 quiet
initrdefi /images/pxeboot/initrd.img

If you want to specify a custom kickstart file that has a repo configured in it, you can replace the inst.stage2 parameter with a ks parameter.

linuxefi /images/pxeboot/vmlinuz inst.ks=nfs:10.0.0.1:/kickstart/machinename-ks.cfg quiet
initrdefi /images/pxeboot/initrd.img

Press F10 to continue booting with the updated grub menu and the installation will proceed exactly as if you had used the old method of typing linux ks=nfs:10.0.0.1:/kickstart/machinename-ks.cfg.

10 Useful Free Tools and Resources For Your Blog

toolsBlogging is part art, part science.  To create a truly great blog, you will need help.  If you have money you can just outsource everything to experts and have them do most (if not all) of it for you.  But what if you are just getting started and don’t have much extra cash floating around?  Luckily, there are some great online tools at your disposal that are completely free.  Here are a few of my favorites.

How to find and install a professional looking WordPress theme for your blog

In this video I will demonstrate how to find and install a professional looking WordPress theme for your blog.

By default, WordPress is installed with a rather plain looking theme.

There are other themes included in the WordPress package but none of them are very esthetically pleasing.

Luckily, there are other sites where you can find professional looking themes for free.

How To Install WordPress

How to install WordPress using the DreamHost 1 click installer:

  1. First, browse to https://panel.dreamhost.com/
  2. Enter your username and password and click the login button
  3. Next, look for the ‘One-Click Installs’ link on the left hand side of your screen near the top and click it
  4. On the next screen scroll down and find the WordPress icon and click it
  5. Then click the ‘Custom Installation’ button
  6. From the first dropdown menu that appears, select the website that you wish to install WordPress to and click ‘Install it for me now!’

The DreamHost installer will now install and configure your WordPress site for you. Within a few minutes you should receive and an email in your inbox with a link that will allow you to immediately log in and start using your WordPress website.