Shibboleth IdP and SP Installation and Configuration

Shibboleth is a free open source implementation for identity management, providing a web-based single sign-on mechanism across different organizational boundaries. It is a federated system, supporting secure access to resources across security domains. Information about a user is sent from a home identity provider (IdP) to a service provider (SP) which prepares the information for protection of sensitive content and use by applications. If you are not familiar with Shibboleth and how it works, you may be benefited from the Shibboleth home page. In this tutorial we will cover installation of the IdP first and then we will perform the necessary configuration to customize the IdP for an organization. Afterwards, we will install and configure the shibboleth SP and will setup a basic scenario to protect a resource.

IdP Installation
This is an installation guide to setup an IdP with the basic features. For a detail introduction to the identity provider or Shibboleth, please refer to¬†Understanding Shibboleth. This tutorial uses CentOS 5.6 as the OS for IdP server. » Read more…

TPM emulator, TrouSerS & IMA on Android

In this tutorial, we will cover the installation of TPM emulator, TrouSerS (the open source Trusted Computing Software Stack) and IMA (Integrity Measurement Architecture) on the Android platform. This tutorial is based on Ubuntu 10.10 (x86), Android source code (froyo version) & Android golfish kernel 2.6.29. This tutorial is aimed at relative newbies so each step will be explained in detail. Here are the steps that are needed to successfully download, build and run a specific kernel (with the above mentioned features) on the emulator. » Read more…

Introduction to Private Cloud Computing with Ubuntu Enterprise Cloud

In this article I will introduce the reader to private cloud computing while discussing the nature of a private cloud with UEC based Eucalyptus as a case study to maintain order.

Private Cloud

A private cloud is a cloud computing infrastructure implemented as a service provider rather using a public cloud as a consumer of the service.

The main aspects that sets private clouds apart from a commercial public cloud is where the infrastructure is implemented and how it is deployed and maintained. A private cloud is typically hosted on the company servers within their own network infrastructure and administrative domain. » Read more…

Web Fax for Asterisk

CSRDU has just released its first open source contribution through It’s a PHP-based script (plus a dialplan) for sending fax through asterisk from a web interface. You can read more about it on my blog here.

The source can be downloaded from the sourceforge website at the following link:

You can also download (and contribute) through SVN here:

Auto Scale with Amazon Elastic Compute Cloud (EC2)

In this video, we talk about Auto Scale feature of the Elastic Compute Cloud (EC2). Auto Scale allows AWS to automatically start new instances of AMIs as more and more load is put on the instance. You can define triggers (policies) that define what the low and high limits are. Whenever these limits are breached, instances can be started or stopped depending on the policies. In this video, we start from scratch and setup the Auto Scale feature.

All comments are welcome.

Produced by:
Mohammad Nauman (recluze) and Toqeer Ali

Getting Started with Amazon EC2 – Install, Configure, Connect

The second in the series of Amazon Web Service tutorial videos. Here we describe how to create a keypair for shell access to an Amazon Machine Image instance, how to do basic firewall configuration to enable remote login and finally start and connect to the a basic Amazon Linux AMI.

All comments and questions would be most welcome.

Produced by: Mohammad Nauman (voice) and Toqeer Ali

Introduction to Amazon Web Services [Video]

The first in a series of videos by CSRDU about Amazon Web Services (AWS). Here, we talk about the different web services and technologies offered by AWS. It’s supposed to make sense of the different services that AWS offers and whether you need them or not. (Click to view larger version on YouTube)

Produced by:
Mohammad Nauman (recluze) and Toqeer Ali

PostgreSQL Point-in-time Recovery (using WAL)

PostgreSQL is an opensource and free-to-use Object-Relational Database Management System (ORBMS) and is controlled by a group of developers and development companies. PostgeSQL has three modes of backup, i.e. dump, dump all and Write Ahead Log (WAL). I would not focus here on the difference between the three, but will introduce WAL of postgresql. Write Ahead Log is a section of Postgresql where all the psql commands that have been executed are stored. Creating a copy of these logs and executing them again will restore any crashed database. This method is called Point-in-Time recovery, where WAL’s from a certain point in time are re-run to restore (crashed or lost)¬†databases. The tutorial will walk you through the important steps for both backup and recovery of postgresql database using this method.

» Read more…

Tutorial Set I

As an added activity at CSRDU, we’ll be posting links to tutorials that different CSRDU members have written. These are different from ‘contributions’ to CSRDU that are edited and posted in full on our own site.

Here’s the first set of tutorials that might be considered more general purpose. Many members have written tutorials that are very useful from a research perspective and we will try to include them in further posts inshallah. For now, enjoy the first set of more general tutorials that might be useful for a much wider community. You can always comment on the original posts (or even here) to ask questions about the tutorials.

  1. CSS Layout by recluze
  2. XPath Example by recluze
  3. Web services using Apache Tomcat and Eclipse by recluze
  4. Web Services Example 1 by recluze
  5. LAMP Customize Installation by Toqeer Ali
  6. How to Install TPM (Linux, Kernel 2.6.30) by Waqar Afridi
  7. Deploying Visual + Crystal Reports Projects [old] by recluze
  8. Using Codesmith and .netTiers by recluze
  9. Zimbra Installation, configuration and Email recovery by Toqeer Ali
  10. Mysql service fail to start by Toqeer Ali
  11. OpenERP Installation on Linux(source) by Mudasser Ali
  12. Monit Installation and Configuration by Toqeer Ali
  13. FreeSwitch Introduction, Prerequisites for Installation,Installtion and Directory Structure by Toqeer Ali
  14. Eclipse Setup for Android by Mudasser Ali
  15. Python Development in Eclipse in (Ubuntu and Windows) in 12 steps by Mohsin
  16. Use of Python DB APIs (psycopg2) for a PostgreSQL Database by Mohsin

CSRDU Initial Meeting Points

An initial CSRDU strategy meeting was held last week where we discussed some very important matters regarding the present and future of CSRDU. We came up with some important points about the goals, objectives and working of CSRDU. To facilitate a transparent working system, we’re posting this information on our blog so that newcomers can better judge how their interests can align with our goals. Remember, though, that CSRDU is a work in progress. All comments, criticism and suggestions are more than welcome. Please raise your voice if you have something to say. We would be glad to listen if there’s even the slightest chance it can lead to improvement. » Read more…