installation guide to rubyonrails 3.0.0 on windows server 2003 sr2

Introduction

Ruby on Rails really needs no introduction if you’re in the web development space. It was born in 2003 from the frustration and anxiety behind the (usually) quite laborous web development languages and platforms at the time, with the credo of simply elegant. From the ground up it was written with a Model-View-Controller design, and powers a large batch of the web applications out there today (such as Twitter, github, basecamp and a lot of others).

This is an installation guide to getting Ruby on Rails 3.0.0 (released today) on Windows Server 2003 SR2.

Special thanks to @luislavena for his help on getting the WEBrick server to run with the new rails convention.

Download the Media

  • Head over to the main ruby on rails website. Click on the giant red arrow to grab the latest 3.0.0 release.
  • Find the Windows Installer link and grab the binary.
  • Find the rubyinstaller-1.9.2-p0.exe link and download it.

Installing Ruby on Rails

  • Launch the binary you downloaded. Hit Run at the usual Microsoft warning prompt.

  • Hit Next at the welcome screen.
  • Read through the license terms. Hit I accept the license when you’re ready to continue and hit Next.
  • Keep the default installation folder. Check the box next to Associate .rb and .rbw files with this Ruby installation. Leave the other one unchecked for now, we’ll manually add it to the system path later. Hit the Install button.
  • The installer will copy the necessary media. When the finished dialog pops up, jump for joy and hit the Finish button.

Add the Ruby path to the system PATH

I found that if you use the installer to add the Ruby binaries to your PATH, it’s only to your user’s path not to the local system path (where it’s accessible for unattended cron jobs, etc). Not a problem, we’ll fix that here.

  • Right-click on My Computer.
  • Hit the Properties option and then find the
    Advanced tab.
  • Click the Environment Variables button and locate the System Variables list in the bottom half of the screen.
  • Select the Path entry and hit the Edit button. Move to the end of the Variable Value list and add c:\ruby192\bin;
  • Hit Ok 3 times to close everything up

Installing Rails3.0.0

Ruby has a helpful package manager called RubyGems which assists you with installing necessary addons and their dependencies. It comes bundled with the Windows installer, so let’s continue with setting up Rails3.0.0.

  • Open a command prompt
  • Navigate to C:\ruby192;
  • Enter gem install rails. After a few moments, you’ll see a ton of status messages from rubygems.

Install sqlite3

SQLite3 is the default database layer for ruby on rails, or at least it’s the most common. I found that I needed to install it even for a basic hello world rails application. No problem!

  • Open a browser to http://www.sqlite.org/download.html
  • Scroll down the page until you spot the Precompiled Binaries For Windows section. Grab the third one in the list.
  • Extract the contents of the zip file to C:\windows\system32
  • Open a command prompt
  • Navigate to c:\ruby192
  • Type bundle install

Create a “Hello World” app

To test the Ruby on Rails 3.0.0 install, we’ll create a Hello World bona fide application.

  • Open a command prompt.
  • Navigate to C:\ruby192.
  • Type rails new c:\ruby192\helloworld
  • Rails will generate the necessary starting points for your web application!
  • Move into the newly created helloworld folder.
  • Rails comes with its own mini-web server called WEBrick. Start it up now to host your new application. Type ruby script/rails server.
  • By default WEBrick uses port 3000. Open a browser to http://localhost:3000 and take a look!
  • Tada! Your first Ruby on Rails application!

Enjoy!

installation guide to Microsoft Sharepoint 2007 on Windows Server 2003 SR2

Introduction

While the Content Management System (CMS) wars were raging, there was a response from pretty much every online company on the web. CMS packages such as WordPress, Drupal and Joomla! were steadily providing the enterprise with solutions for content presentation as well as document management.

Microsoft was pretty much on the sidelines for quite a number of years, with no real solution to offer. Then along came Sharepoint. Touted as both a document management system and CMS tool, Sharepoint has come along quite a ways. This is an installation guide for installing Microsoft Sharepoint 2007 on Windows Server 2003 SR2.

Downloading the Media

There really is no media to download. If your organization has a Technet subscription or other type of licensing arrangement with Microsoft then hopefully you’ll have your hands on the Sharepoint 2007 (also known as MOSS) media

Installation Steps

  • Launch the installation
  • Enter your license key
    enter moss2007 key
  • Read and accept the license terms of the software
    eula
  • Choose the Advanced setup
    choose advanced
  • Make sure the standalone type is selected
    standalone
  • If you wish to select a different folder for the sharepoint core media, then select the 2nd tab, File Location and change the folders you need to.
  • Once you’re ready, hit the Install Now button at the bottom. The media will begin to install
    install now
  • Once the media finishes, you’ll be presented with an option to run the Sharepoint Configuration Wizard. Make sure the checkbox is marked then hit Close.
  • At the Welcome screen, press Next
  • A warning box will prompt you about needing to restart IIS. Hit Yes
  • The wizard will then begin a 10 step automated configuration process. It can take a while.
  • Finally you’ll see the Configuration Successful dialog. Hit Finish and the install will attempt to open your default browser to your default Sharepoint2007 homepage.
  • You should finish things with a view of your Sharepoint homepage.

installation guide to Apache 2.2.16 on windows server 2003 SR2

Introduction

When it comes down to it, there really are only 2 widely deployed web server products: Microsoft’s Internet Information Systems (IIS) and Apache’s httpd. Although a “development” version of IIS ships with Windows Vista and Windows 7, they are definitely not suited or recommended for an actual site deployment. You’re going to need either Windows Server 2003 or 2008. Another option for those outfits running either Unix / Linux or who choose not to use IIS, can take advantage of the cross-platform, wildly successful httpd product from the Apache Group.

This is the installation guide to installing Apache httpd 2.2.16 on Windows Server 2003 sr2. Enjoy and I hope it comes in handy!

Download the Media

Proceed to the Apache website downloads area at : http://httpd.apache.org/download.cgi.

Scroll down until you see the Win32 Binary without crypto (no mod_ssl) (MSI Installer).

Installing the Media

Run the installer, and let’s get going.


  • At the installer splash screen, hit Next when ready.

  • At the license agreement screen, read through the terms and conditions of Apache’s UA. Select I accept the terms in this license agreement and hit Next to continue.

  • Scan through the ReadMe First points and hit the Next button when ready.

  • For Network Domain use localhost. For Server Name use localhost. For Administrator’s Email Address, I would just use a fake entry. Ensure that the For all users, on port 80, as a service is selected. Don’t worry if you already have another web process listening on that port. We’ll change it later. Hit Next when ready to proceed.

  • Use the Typical setup type and hit Next.

  • Specify an installation location for Apache 2.2.16. Note that this is only the home of the core media, not the home of your website(s). Leaving it at the default location is fine. Hit Next when ready.

  • Click the Install button when you’re ready to proceed.

  • After a few moments of file copying, you should see the Completed Installation Wizard screen. Hit Finish when ready.

Post Installation Step #1: Changing the port number

If you have another web server hosting on port 80 (such as IIS), or you wish to use a different port value, then we can take care of this now.


  • From the Start menu, navigate into All Programs -> Apache HTTP Server 2.2 -> Configure Apache Server -> Edit the Apache httpd.conf Configuration File.

  • Scroll down the file (or use a Find) until you hit the Listen value. Change it from 80 to another port value. I chose 9090.
  • Save the file and close it.

  • Restart the Apache Server by finding the green arrow on top of the red feather icon in the system task try. Left-click it and select the restart option.

  • Open up a web browser and navigate to http://localhost:9090. If Apache is configured correctly and running, you will simply see the text It works!.

Post installation step #2: Changing the Web Content home

As I mentioned during the initial steps of this install guide, the Apache media is only the core files needed to run the web server. This is completely different from the actual content being served. Perhaps you already have a folder location for your website and/or another team has already put one together and you need to configure Apache where this is.


  • From the Start menu, navigate into All Programs -> Apache HTTP Server 2.2 -> Configure Apache Server -> Edit the Apache httpd.conf Configuration File.

  • Scroll down (or use a Find) until you encounter the DocumentRoot property. By default it’s set to “C:/Program Files/Apache Software Foundation/Apache2.2/htdocs”. Change this path to reflect the location of your web content (for example “c:/inetpub/wwwroot”).
  • Save the file and close it.

  • Restart the Apache Server by finding the green arrow on top of the red feather icon in the system task try. Left-click it and select the restart option.

All done!

installation guide to mysql 5.5.5 on windows server 2003 sr2

Introduction

The popular open source library MySQL has only enjoyed a steady explosive growth curve over the past few years all over the world. This is largely due to the overwhelming success of web content management systems / blogging platforms such as WordPress and it’s PHP construction, multi-platform support and an unrestrictive and non-choking usage license within the enterprise and/or home environment.

This is an installation guide to getting MySQL Community Server 5.5.5 on to Windows Server 2003 SR2.
[Read more...]

installation guide to cold fusion 9.0.1 on iis6.0 and windows server 2003 sr2

Introduction

I still can remember the “old days” of web development when there was really only learning HTML and Netscape Javascript, or working with CGI for doing actual server-side processing. Active Server Pages were still in development in a Microsoft lab. Then someone handed me something called “Cold Fusion”, and it didn’t have anything to do with a fusion reaction (yes I was a geek at an early age). Cold Fusion used an HTML-like markup, but gave you the power and processing of a server-side language! It was love at first site for me.

This installation guide will focus on installing Cold Fusion 9.0.1 onto Windows Server 2003 SR2 and using it through an IIS6.0 website.
[Read more...]

installation guide to tomcat7.0.0 on iis6.0

Install Guide to Tomcat 7.0.0 on IIS6.0

Introduction

Tomcat7 from Apache is the latest version of the popular open-source Java servlet container. While there are many benefits for running Tomcat7 in your environment, the largest incentive for choosing this specific version is the integration and adoption of the Java Servlet 3.0 specification. If that’s not enough for you, then what about the fact that it was built on the JDK6 from the ground up.

This is an installation guide for setting up Tomcat7.0.0 on Windows Server 2003 SR2 and connecting with IIS6.0.
[Read more...]

installation guide to php 5.3.2 on iis6.0 with fastcgi

Installation Guide to PHP 5.3.2 on IIS6.0 with FastCGI

Introduction

PHP still remains a dominating force in web development today, even with the rising popularity of Microsoft’s ASP.NET toolchain. PHP powers the extremely popular open source WordPress content management system, and is definitely involved in a wide variety of web sites and applications ranging from simple data management and presentation to highly complex applications in the Facebook realm such as Zynga’s massively popular Farmville and FrontierVille.

This installation guide will help you get started on using PHP in your own Windows Server 2003 environment with the help of IIS6.0.
[Read more...]

installation guide to oracle java development kit 6u20 on windows server 2003 sr2

Installation Guide to Oracle Java Development Kit 6u20 on Windows Server 2003 SR2

Introduction

While the usage of Oracle’s Java is now 99% strictly server-side in the world of web server farms, it is a mature and robust platform to deliver many rich and powerful applications. This is an installation guide to getting the JDK 6u20 on to your Windows Server 2003 SR2.
[Read more...]