Featured

Linux Cloud Technologies 2013

  Build the cloud on Linux!  This year looks very promising for Linux when it comes to building your private cloud using open source technologies.  Finally, Linux-based software and application

Read More
Linux Cloud Technologies 2013

Join CentOS 6 to Active Directory Domain

5
by on October 1, 2013 at 4:03 pm

Joining CentOS 6 or Red Hat Enterprise Linux 6 to an Active Directory Domain is relatively simple.  While Active Directory is proprietary software developed by Microsoft, it’s fairly ubiquitous in medium and large environments, thus integrating Linux and Windows services is very common in this day and age.  DNS has to be working properly.  You should be able to resolve mydomain.com using DNS.

First, we need to install winbind.  This is the Samba service that integrates users, passwords, and other important functions with Active Directory.

yum install samba-winbind

That command should install any and all dependencies necessary.  Another step is to install software necessary for initializing Kerberos tickets.  While not strictly necessary to join the Domain initially (I believe), it makes troubleshooting a little easier.

yum install krb5-workstation

After those two packages are installed, you can run authconfig-tui to automatically setup pam and other important config files.  See the screen shots below for example settings.

authconfig-tui

The above selections are appropriate.  Use fingerprint reader is not needed unless your workstation has a fingerprint reader.

authconfig-tui

This stage is very important.  Security model should be set to ADS.  Domain should be the name of the domain without the top level domain.  If your domain looks like my.domain.com, then you should put “MY” in this field.  Domain controllers are the FQDN for each domain controller you wish your system to use.  Unlike Windows, these are not automatically discovered by CentOS or RHEL 6.  Separate each domain controller by a space.  ADS REALM should be the full name of your Domain in ALL CAPS.  Template shell can be whichever you choose.  If you want to enable domain users the ability to log in by default, select one of the shells.  If you want to disable ssh/local login by default, select /sbin/nologin.

Next, select Join Domain and enter your Domain Admin username and password in the boxes provided.  You should enter just the username, do not enter any domain information here.

, , , , ,

How to RDP from CentOS 6 using Network Level Auth

0
by on October 1, 2013 at 3:22 pm

Connecting from CentOS 6 to Windows Server 2008 R2 used to be impossible if you had Network Level Authentication required on your Windows Servers. However, the latest version of rdesktop (1.8 as of this writing) finally integrates NLA. Unfortunately, if you’re using CentOS 6 or Red Hat Enterprise Linux 6, the newest version is not currently available from the EPEL or base repos.   In this article I’m going to show you how to build and install the software so it works correctly.

(more…)

in CentOS, How-To, Red Hat

, , , , , ,

Ad goes here

Join Fedora 19 to Active Directory Domain using realmd

13
by on September 23, 2013 at 4:24 pm

For years, Linux administrators have been successfully using Samba winbind to integrate Linux with Active directory.  While configuring a Linux host to join an Active Directory Domain is pretty simple, it still involves editing a few configuration files manually in most cases.  The new software, realmd, changes all of that, and makes joining a Linux host to an Active Directory Domain easier than ever before!

(more…)

, ,

Connect to SQL Server with Python

0
by on July 5, 2013 at 2:23 pm

Recently I was tasked to rewrite some Perl cgi scripts.  My time is valuable to me, so I rewrote them in Python!  One of the functions of the cgi scripts was to connect to a Microsoft SQL Server 2008 r2 instance.  A quick glance at the perl scripts showed me we were using ODBC to connect to SQL Server.  After a few hours of reading online, I settled upon what I believe is the best method, using pyodbc.

pyodbc is an open source library for python, available at https://code.google.com/p/pyodbc/  Installation is pretty straight forward, but I will outline the steps here and help you connect to SQL Server as well.

(more…)

in How-To, Red Hat

, , , ,

Centos 6 Apache Kerberos AD SSO

10
by on May 21, 2013 at 7:22 pm

I recently setup a RHEL / Centos 6 Apache websever at work that integrates with Active Directory (AD) and Kerberos for a single sign on (SSO) web resource.  This took me a lot more time than I thought it would, but that’s because the tutorials I was reading were either wrong, or didn’t apply to my situation.  I am outlining the steps I took below to help others who may wish to have a similar setup.

(more…)

in CentOS, How-To, Red Hat

, , , , , , ,

Linux Cloud Technologies 2013

0
by on February 7, 2013 at 7:53 pm

 

Build The Cloud On Linux!

Build The Cloud On Linux!

Build the cloud on Linux!  This year looks very promising for Linux when it comes to building your private cloud using open source technologies.  Finally, Linux-based software and applications for building and managing your private cloud are coming to maturity.  Look forward to more articles on creating and integrating your Linux Cloud throughout 2013!

On this page, you will find brief overview / review of different technologies available today that can help you move forward with building a successful cloud deployment.

(more…)

, , , , , ,

Debian Wheezy PXE server

2
by on January 1, 2013 at 4:47 pm

Creating a PXE boot server is both easy and useful.  PXE boot services allow an administrator to install or boot an operating system dynamically every time a machine is booted.  This method is especially useful for imaging multiple servers in an automated fashion.

I’m writing this entry to outline the steps necessary to create a Debian server that provides DHCP and PXE boot services of multiple to specific hosts on the same network.

Requirements:  Debian Wheezy or other compatible server with plenty of free space, and an additional server/computer on the same network (or virtual network) as the Debian server.  If you’re using something other than Debian Wheezy, I can’t assure you the packages will be the same and configured the same way.  This is Linux, after all.

(more…)

in Debian, How-To

, , , , , ,

Configuring CentOS 6 Web Server

29
by on May 9, 2012 at 7:07 pm

Centos 6 in 3DIn this article, I’m going to be outlining the steps to install and configure a complete web server on a base install of CentOS 6.  (Which should be compatible with Scientific Linux 6 as well as Red Hat Enterprise Linux 6)

I personally don’t prefer to install package groups relating to “LAMP” or similar during initial installation because I’m simply too lazy to review each and every package that is included in those groups, and what the dependencies are. By installing the required packages using yum, this allows you to install just the software you’re looking for, without worrying about dependencies. This software stack is time tested; we’ll install on CentOS’s latest release, and test a few popular applications while we’re at it!
(more…)

, , , , , , , , , , , , , , , ,

Ubuntu 12.04 Web Server

33
by on May 8, 2012 at 11:28 pm
Ubuntu MySQL php Apache

The Ubuntu Web Stack

In this article, I’m going to be outlining the steps to install and configure a complete web server on a base install of Ubuntu 12.04 LTS server edition.

I personally don’t prefer to install package groups relating to “LAMP” or similar during initial installation because I’m simply too lazy to review each and every package that is included in those groups, and what the dependencies are.  By installing the required packages using apt-get, this allows you to install just the software you’re looking for, without worrying about dependencies.  This software stack is time tested; we’ll install on Ubuntu’s latest release, and test a few popular applications while we’re at it!

(more…)

in Distros, How-To, Ubuntu

, , , , , , , ,

Categories