Old:4.0-Mona: Support Information: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
mNo edit summary
(Punctuation and grammatical changes; some clarification and reorganization.)
Line 1: Line 1:
{{Nav 4.0-Mona}}
{{Nav 4.0-Mona}}
'''General support information for Uniform Server 4.0-Mona'''
===General support information for Uniform Server 4-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.
This support page provides information for downloading full packages of the core components. In addition, it includes small snippets of information that may be of use.  


'''''Note'':'''
'''''Note'':'''


If you are going to download and install full versions of the core components check [[4.0-Mona: Introduction | introduction]] page for release details and correct package to download.  
If you are going to download and install full versions of the core components, check [[4.0-Mona: Introduction | 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:<br />'''#!/usr/bin/perl'''<br />Make sure there are no characters after perl
* 4.0-Mona has a test page to view this type the following into your browser:<br />'''<nowiki>http://localhost/cgi-bin/test.pl</nowiki>'''
Check out [[New Users: Quick Perl CGI | New Users: Quick Perl CGI]] for examples.
 
[[Perl CGI Hello World | Perl CGI Hello World]] a collection of short scripts includes CGI.pem module.
 
'''''[[#top | 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 | 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 | PHP mail function]] page for details.
 
'''''[[#top | Top]]'''''


== Core Components ==
== 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.
Although great care has been taken to include most commonly used modules with the main distribution of 4-Mona, occasions will arise when you need a module that's not included. This section provides information for the core components used in 4-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 | Top]]'''''
=== Apache ===
=== Apache ===
Visit [http://httpd.apache.org/ Apache HTTP Server Project] for latest information.
Visit [http://httpd.apache.org/ Apache HTTP Server Project] for the 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.
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:
Uniform Server 4-Mona 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'''
Win32 Binary including OpenSSL 0.9.8i (MSI Installer): '''apache_2.2.11-win32-x86-openssl-0.9.8i.msi'''
Line 50: Line 22:
Download the above file from: [http://httpd.apache.org/download.cgi Downloading the Apache HTTP Server page]
Download the above file from: [http://httpd.apache.org/download.cgi Downloading the Apache HTTP Server page]


'''''Note'':''' A usful link to [http://archive.apache.org/dist/httpd/binaries/win32/ Apache archive site] for Win32 binaries
'''''Note'':''' Here is a useful link to [http://archive.apache.org/dist/httpd/binaries/win32/ Apache archive site] for Win32 binaries.


==== Run msiexec ====
==== Run msiexec ====
Line 64: Line 36:


==== Install ====
==== Install ====
If you do not have '''msiexec''' install and extract the binaries as follows:
If you do not have '''msiexec''', simply install and extract the binaries as follows:


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


'''Install package'''   
'''Install package'''   
Line 73: Line 45:
# Tick the '''I accept''' box click '''NEXT'''
# Tick the '''I accept''' box click '''NEXT'''
# Read the read me material click '''NEXT'''
# Read the read me material click '''NEXT'''
# A form is displayed enter some dummy information as follows:
# A form is displayed; enter some dummy information as follows:
::* Network Domain:  '''fred.com'''
::* Network Domain:  '''fred.com'''
::* Server name: '''www.fred.com'''
::* Server name: '''www.fred.com'''
Line 88: Line 60:
<li> Open '''add remove programs''' and delete Apache.  
<li> Open '''add remove programs''' and delete Apache.  
</ol>
</ol>
Of importance you now have access to all Apache's modules allowing you to select the ones you need.
Best of all, you now have access to all Apache modules, allowing you to select the ones you need.
 
 
=== MySQL ===
Go to the MySQL [http://dev.mysql.com/downloads/mysql/5.1.html#win32 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.


'''''[[#top | Top]]'''''
Although 4-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 [http://portableapps.com/apps/utilities/winmd5sum_portable Portable Apps] look in the utilities section and download '''winMd5Sum portable checker'''


=== PHP ===
=== PHP ===
Download site [http://www.php.net/downloads.php php.net]
Download site [http://www.php.net/downloads.php php.net]


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


'''Windows Binaries section'''
'''Windows Binaries section'''
Line 104: Line 86:


'''''Note'':''' Useful link [http://www.php.net/releases/ Unsupported Historical Releases (Archive)]
'''''Note'':''' Useful link [http://www.php.net/releases/ Unsupported Historical Releases (Archive)]
'''''[[#top | Top]]'''''


=== PERL ===
=== PERL ===
Line 111: Line 92:
We are not interested in installing Perl on our PC hence download a zip package
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)  
* 4-Mona uses 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'''
* After downloading, unzip to any folder and add libraries as required to folder '''uniform_server\udrive\usr\lib'''


'''''[[#top | Top]]'''''
==== Alternative ====
==== Alternative ====
'''''Note'':''' It is possible to upgrade Perl by using V5-Nano Perl plugins.
'''''Note'':''' It is possible to upgrade Perl by using V5-Nano Perl plugins.


However do not follow the V5 install instructions, for the exe files instead of copying to folder UniServer copy to folder '''''udrive''''', double click on the downloaded exe, allow to overwrite. Delete the exe to save space.
However do not follow the V5 install instructions for the exe files. Instead of copying to folder UniServer, copy them to folder '''''udrive''''', double click on the downloaded exe, allow to overwrite. Delete the exe to save space.


The zip file instructions are the same.
The zip file instructions are the same.
Line 149: Line 129:
|}
|}


If space is at a premium Perl users can start with mini-Perl and add modules as required from full-Perl.  
If space is at a premium, Perl users can start with mini-Perl and add modules as required from full-Perl.  


'''''Note'':''' Don't mix modules from different versions.
'''''Note'':''' Don't mix modules from different versions.


'''''[[#top | Top]]'''''


=== MySQL ===
== Running Perl scripts ==
Go to the MySQL [http://dev.mysql.com/downloads/mysql/5.1.html#win32 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'''
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:<br />'''#!/usr/bin/perl'''<br />Make sure there are no characters after perl
* 4-Mona has a test page to view this type the following into your browser:<br />'''<nowiki>http://localhost/cgi-bin/test.pl</nowiki>'''
Check out [[New Users: Quick Perl CGI | New Users: Quick Perl CGI]] for examples, and
[[Perl CGI Hello World | Perl CGI Hello World]], which is a collection of short scripts, including CGI.pem module.


* 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.
== MySQL Password ==


Although 4.0-Mona is complete you may like to use some of the utilities supplied in the full download (extracted size 429 MB) 
* 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'''


'''''Note'':''' If you require a program to check the MD5 pop over to [http://portableapps.com/apps/utilities/winmd5sum_portable Portable Apps] look in the utilities section and download '''winMd5Sum portable checker'''
== PHP mail function ==
 
If your scripts use PHP’s mail() function, the default settings will not work.
'''''[[#top | Top]]'''''
There are several ways to resolve this. Check out the [[PHP mail function | PHP mail function]] page for details.


----
----


[[Category: Uniform Server 4.0-Mona]]
[[Category: Uniform Server 4.0-Mona]]

Revision as of 19:20, 7 June 2011

 

The Uniform Server 4-Mona

General support information for Uniform Server 4-Mona

This support page provides information for downloading full packages of the core components. In addition, it includes small snippets of information that may be of use.

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.

Core Components

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

Apache

Visit Apache HTTP Server Project for the 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-Mona 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: Here is a useful 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, simply install and extract the binaries as follows:

Install the package, 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.

Best of all, you now have access to all Apache modules, allowing you to select the ones you need.


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-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

PHP

Download site php.net

Since we are not interested in installing PHP on our PC, 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)

PERL

Download site Activestate download page.

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

  • 4-Mona uses 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

Alternative

Note: It is possible to upgrade Perl by using V5-Nano Perl plugins.

However do not follow the V5 install instructions for the exe files. Instead of copying to folder UniServer, copy them to folder udrive, double click on the downloaded exe, allow to overwrite. Delete the exe to save space.

The zip file instructions are the same.

ActivePerl 5.10.0.1005

File name Compressed Uncompressed Comments
V5.0_mini_perl.exe 5.07 MB 16.5 MB Contains Perl core program with a collection of commonly used Perl modules.
V5.0_mini_perl.zip 7.13 MB 16.5 MB Contains Perl core program with a collection of commonly used Perl modules.
V5.0_full_perl.exe 10.6 MB 52.2 MB Contains Perl core program and full set of Perl modules.
V5.0_full_perl.zip 16.0 MB 52.2 MB Contains Perl core program and full set of Perl modules.

ActivePerl 5.10.0.1006

File name Compressed Uncompressed Comments
V5.1_mini_perl.exe 5.14 MB 16.9 MB Contains Perl core program with a collection of commonly used Perl modules.
V5.1_mini_perl.zip 7.21 MB 16.9 MB Contains Perl core program with a collection of commonly used Perl modules.
V5.1_full_perl.exe 10.9 MB 54.1 MB Contains Perl core program and full set of Perl modules.
V5.1_full_perl.zip 16.5 MB 54.1 MB Contains Perl core program and full set of Perl modules.

If space is at a premium, Perl users can start with mini-Perl and add modules as required from full-Perl.

Note: Don't mix modules from different versions.


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-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, and Perl CGI Hello World, which is a collection of short scripts, including CGI.pem module.


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

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 the PHP mail function page for details.