Old:4.0-Mona: Support Information

From The Uniform Server Wiki
Revision as of 11:33, 20 May 2009 by Ric (talk | contribs)
Jump to navigation Jump to search

 

The Uniform Server 4-Mona

General support information for Uniform Server 4.0-Mona

This support page provides information for downloading full packages of the core components. In addition includes small snippets of information that may be of use these are in no particular order.

Note:

If you are going to download and install full versions of the core components check introduction page for release details and correct package to download.

Running Perl scripts

To run Perl scripts

  • Copy your Perl scripts to folder uniform_server\udrive\cgi-bin
  • They can have the file extension .pl or .cgi
  • At the top of each page include the line:
    #!/usr/bin/perl
    Make sure there are no characters after perl
  • 4.0-Mona has a test page to view this type the following into your browser:
    http://localhost/cgi-bin/test.pl

Check out New Users: Quick Perl CGI for examples.

Perl CGI Hello World a collection of short scripts includes CGI.pem module.

Top

MySQL Password

  • All passwords including MySQL default to root
  • The default MySQL user name is root
  • The MySQL server name is localhost
  • All name/password pairs are set to root root

Top

PHP mail function

If your scripts use PHP’s mail() function the default settings will not work.

There are several ways to resolve this check out PHP mail function page for details.

Top

Core Components

Although grate care has been taken to include most commonly used modules with the main distribution of 4.0-Mona. Occasions will arrise when you need a module that's not. This section provides information for the core components used in 4.0-Mona I would recommend you download these and save to individual folders for later use thus allowing you to import any modules you require.

Top

Apache

Visit Apache HTTP Server Project for latest information.

Apache is not distributed in a simple archive format in order to obtain the binaries you have two options either install the downloaded package and pick-up the binaries or run msiexec to extract the binaries.

Uniform Server 4.0-Mon uses the following Windows binaries:

Win32 Binary including OpenSSL 0.9.8i (MSI Installer): apache_2.2.11-win32-x86-openssl-0.9.8i.msi

Download the above file from: Downloading the Apache HTTP Server page

Note: A usful link to Apache archive site for Win32 binaries

Run msiexec

First create a batch file named extract_msi.bat in the folder you saved the download to and add this line:

msiexec /a apache_2.2.11-win32-x86-openssl-0.9.8i.msi

Save the file and double click to run. It appears as if you are installing the program however it just extracts the files. Save to a folder of your choice, in this folder you will find the Apache files these are several folders down.

Note: If the above fails use the following method:

Install

If you do not have msiexec install and extract the binaries as follows:

The process is easy, install, copy the installed folder to another location and finally uninstall.

Install package

  1. Download: apache_2.2.11-win32-x86-openssl-0.9.8i.msi save to any folder.
  2. Double click to run the installation program.
  3. Tick the I accept box click NEXT
  4. Read the read me material click NEXT
  5. A form is displayed enter some dummy information as follows:
  • Network Domain: fred.com
  • Server name: www.fred.com
  • Admin email: fred@someone.com
  • Click All users radio button
  • Click Next
  1. Click Typical radio button
    Click Next
  2. Folder path accept default: c:\Program Files\Apache Software Foundation\Apache2.2\
    Click Next
  3. Review changes click Install
  4. Wait for Install finish
  5. Stop services using icon in system tray (bottom right)
  6. Save main folder Apache 2.2 (created in default path 7) to another folder (Apache229_ref).
  7. Open add remove programs and delete Apache.

Of importance you now have access to all Apache's modules allowing you to select the ones you need.

Top

PHP

Download site php.net

We are not interested in installing PHP on our PC hence download a zip package:

Windows Binaries section

  • PHP 5.2.8 zip package [10,115Kb] - 08 December 2008

After downloading unzip to any folder, locate folder php-5.2.8-Win32\ext copy any extensions you require to folder uniform_server\udrive\usr\local\php\extensions.

Note: Useful link Unsupported Historical Releases (Archive) Top

PERL

Download site Activestate download page.

We are not interested in installing Perl on our PC hence download a zip package

  • 4.0-Mona use this version ActivePerl-5.10.0.1003-MSWin32-x86-285500.zip 14-May-2008 08:30 17M (Extracted 53.4 MB)
  • After downloading unzip to any folder, and add libraries as required to folder uniform_server\udrive\usr\lib

Top

MySQL

Go to the MySQL downloads page scroll down to Windows downloads section. You require the file named Without installer (unzip in C:\) to the right of this click on Pick a mirror

  • Save the file mysql-noinstall-5.1.30-win32.zip to any folder of your choice. (Size: 112.8M)
  • Un-Zip the file into a folder this creates a new folder named: mysql-noinstall-5.1.30-win32 Inside this folder you will find another folder named mysql-5.1.30-win32 containing the MySQL files.

Although 4.0-Mona is complete you may like to use some of the utilities supplied in the full download (extracted size 429 MB)

Note: If you require a program to check the MD5 pop over to Portable Apps look in the utilities section and download winMd5Sum portable checker

Top