Introduction

This guide will provide all necessary steps on how to create, bundle, upload, run and connect Debian ETCH AMI on Amazon Elastic Compute Cloud (Amazon EC2). For this guide we have used a Ubuntu 9.04. However, any other Linux distribution can also be used as long as it contains java and ruby packages. For more information about Amazon EC2 read  here.

This page is not in any way an affiliate to Amazon Web Services. !

Prerequisites

  • Internet connection
  • registered user account for S3 and EC2 services with Amazon Web Services (AWS) 
  • Amazaon Access Key ID
  • Amazon Secret Access Key
  • Amazon Account Number
  • Amazon X.509 Certificate
  • at least 1GB free hard drive space
  • following packages need to be installed:
apt-get install ssh debootstrap ruby 
sun-java6-bin libopenssl-ruby curl

Before we start



 As you will see in the next sections of this guide many different files are required to successfully use Amazon's EC2 Web Services. For the sake of simplicity, we will create a directory "aws" in ~/ and store all necessary files there for a quick access. There will be three exceptions:

This guide provides a step-by-step installation of VMware-server-2.0.2 on Debian Squeeze Linux. Here we assume that user has already obtained VMware-server-2.0.2-<minor version>.i386.tar.gz installation pack along with a serial number provided upon the user registration.

System specs:

  • Linux debian 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux
  • installation package ~/VMware-server-2.0.2-203138.i386.tar.gz

This article describes a simple way on how to create a home made debian package and include it into a local package repository. Although we could use a existing Debian/Ubuntu package, we will start from scratch by creating our own minimalistic unofficial debian package. Once our package is ready, we will include it into our local package repository. This article illustrates very simplistic approach of creating debian package, however it may serve as a template in many different scenarios.

Creating a binary executable

First we need to create some simple program, compile it and test it. Our program will do nothing else just print "linuxconfig.org" on the screen. Here is a code:

#include <iostream> 
 
int main()
{
  using namespace std;
  cout << "linuxconfig.org\n";
 
return 0;
}

Save the above code as linuxconfig.cc. At this point make sure that you have compiler installed on your system by executing:

This guide describes step-by-step installation of GNU/IceCat web browser on Debian 6.0 "Squeeze". At the moment there are no pre-compiled packages for a Debian so we are going to do this nicely from command line by compiling GNU IceCat 5 from a sources code.

Step 1: Pre-requisites installation

First we need to install all pre-requisites. As a root use apt-get to fetch and install all required packages:

# apt-get install libgnomevfs2-dev bzip2 python zip \
pkg-config libgtk2.0-dev libnotify-dev libgl1-mesa-dev \
libasound2-dev libidl-dev libgl1-mesa-dev libiw-dev \
libxt-dev build-essential

Step 2: Yasm ( Modular Assembler ) compilation

Although yasm is part of the Debian repository and it is available as a pre-compiled package GNU IceCat requires yasm >= 1.1.0. From this reason we will need to compile yasm from source.

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.