Old:4.0-Mona: Introduction: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(Moved contents to Old:)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Nav 4.0-Mona}}
{{Nav 4.0-Mona}}
'''Uniform Server 4.0-Mona'''
'''The Uniform Server 4-Mona'''


Uniform Server’s architecture is resilient and has stood the test of time; 4.0-Mona enhances this by offering several [[4.0-Mona: Install|installation options]] along with integrated SSL support. All main components have been upgraded to the latest stable versions.
The Uniform Server’s architecture is resilient and has stood the test of time; 4-Mona enhances this by offering several [[Old:4.0-Mona: Install|installation options]] along with integrated SSL support. All main components have been upgraded to the latest stable versions.


Note: 4.1-Mona contains core component updates and enhancements.  
Note: 4.1-Mona contains core component updates and enhancements.  


Note: 4.2-Mona contains core component security updates and bug fixes. - Recommended upgrade
==== New features ====
==== New features ====
{|
|-
|
* Integrated SSL support
* Integrated SSL support
* Automated self-signed Certificate and Key generation
* Automated self-signed Certificate and Key generation
Line 13: Line 17:
* MySQL Password recovery
* MySQL Password recovery
* All main components upgraded
* All main components upgraded
| 
|
* Root drive installation (does not require a virtual drive)  
* Root drive installation (does not require a virtual drive)  
* Automatic free-drive detection
* Automatic free-drive detection
Line 19: Line 25:
* New UniTray plugin
* New UniTray plugin
* Apanel updated.
* Apanel updated.
|}


The following provides an overview of each new feature before looking at these; I have provided a list of the older Uniform Server versions for comparison.


The following provides an overview of each new feature before looking at these; I have provided a list of older Uniform Server versions for comparison.
== The Uniform Server releases ==
 
== Uniform Server releases ==
For reference, I have shown the current Uniform Server stable releases and their main components.  
For reference, I have shown the current Uniform Server stable releases and their main components.  
<table cellpadding="2">
<table cellpadding="2">
<tr>
<tr>
<td>
<td>
{| cellpadding="4" cellspacing="1" style="background:#888888;"
{| cellpadding="4" cellspacing="1" width="100%" style="background:#888888;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
!&nbsp;&nbsp;''Uniform Server 3.2a''&nbsp;&nbsp;
!&nbsp;&nbsp;''Uniform Server 3.2a''&nbsp;&nbsp;
Line 45: Line 52:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|&nbsp;  
|&nbsp;  
|-style="background:#f5f5f5;"
|&nbsp;
|}
|}
</td>
</td>
<td>
<td>
{| cellpadding="4" cellspacing="1" style="background:#888888;"
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#888888;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
!&nbsp;&nbsp;''Uniform Server 3.3''&nbsp;&nbsp;
!&nbsp;&nbsp;''Uniform Server 3.3''&nbsp;&nbsp;
Line 67: Line 73:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|&nbsp;  
|&nbsp;  
|-style="background:#f5f5f5;"
| &nbsp;
|}
|}
</td>
</td>
<td>
<td>
{| cellpadding="4" cellspacing="1" style="background:#888888;"
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#888888;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
!&nbsp;&nbsp;''Uniform Server 3.5 Apollo''&nbsp;&nbsp;
!&nbsp;&nbsp;''Uniform Server 3.5 Apollo''&nbsp;&nbsp;
Line 89: Line 94:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|eAccelerator 0.9.5.1  
|eAccelerator 0.9.5.1  
|-style="background:#f5f5f5;"
| &nbsp;
|}
|}
</td>
</td>
<td>
<td>
</td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
<td>
{| cellpadding="4" cellspacing="1" style="background:#000000;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.0 Mona''&nbsp;&nbsp;
! &nbsp;&nbsp;''Uniform Server 4.0 Mona''&nbsp;&nbsp;
Line 105: Line 107:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|PHP 5.2.8
|PHP 5.2.8
|- style="background:#f5f5f5;"
|&nbsp;
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|phpMyAdmin  3.0.1.1
|phpMyAdmin  3.0.1.1
Line 117: Line 117:
|}
|}
</td>
</td>
<td>
<td>
{| cellpadding="4" cellspacing="1" style="background:#000000;"
&nbsp;
</td>
 
</tr>
 
<tr>
 
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.1 Mona''&nbsp;&nbsp;
! &nbsp;&nbsp;''Uniform Server 4.1 Mona''&nbsp;&nbsp;
Line 127: Line 136:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|PHP 5.2.9-1
|PHP 5.2.9-1
|-style="background:#f5f5f5;"
|phpMyAdmin  3.1.3.1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|eAccelerator 30953_5.2.9.1
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098k)
|}
</td>
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.2 Mona''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.11
|- style="background:#f5f5f5;"
|MySQL 5.1.34-community
|-style="background:#f5f5f5;"
|PHP 5.2.9-2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.1.3.1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|eAccelerator 30953_5.2.9.2
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098k)
|}
</td>
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.3 Mona''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.11
|- style="background:#f5f5f5;"
|MySQL 5.1.35-community
|-style="background:#f5f5f5;"
|PHP 5.2.10
|-style="background:#f5f5f5;"
|phpMyAdmin  3.2.0
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|eAccelerator 30953_5.2.10
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098k)
|}
</td>
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.4-Mona''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.13
|- style="background:#f5f5f5;"
|MySQL 5.1.38-community
|-style="background:#f5f5f5;"
|PHP 5.3.0
|-style="background:#f5f5f5;"
|phpMyAdmin  3.2.2-rc1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|eAccelerator 0.9.6-rc1
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098k)
|}
</td>
</tr>
<tr>
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.5-Mona''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
|- style="background:#f5f5f5;"
|&nbsp;
| Apache 2.2.14
|- style="background:#f5f5f5;"
|MySQL 5.1.41-community
|-style="background:#f5f5f5;"
|PHP 5.3.1
|-style="background:#f5f5f5;"
|phpMyAdmin  3.2.4
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|eAccelerator 0.9.6-rc1
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|}
</td>
 
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 4.5a-Mona''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.14
|- style="background:#f5f5f5;"
|MySQL 5.1.41-community
|-style="background:#f5f5f5;"
|PHP 5.2.12
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|phpMyAdmin  3.1.2
|phpMyAdmin  3.2.4
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1004
|ActivePerl 5,10,0,1004
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|eAccelerator 30953_5.2.9.1
|eAccelerator 0.9.6-rc1
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098k)
|SSL pre-installed (ssl_098k)
|}
|}
</td>
</td>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
</tr>
</table>
</table>


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


== V4.0-Mona Structure Overview ==
== V4.0-Mona Structure Overview ==
The following provides a quick overview of V4.*-Mona's main server areas.
The following provides a quick overview of 4-Mona's main server areas.
{|
{|
|-
|-
|valign="top"|
|valign="top"|
'''''A) Top-Level'''''<br>Server control - Start/Stop servers:
'''''A) Top-Level'''''<br />Server control - Start/Stop servers:
* Server_Start.bat
* Server_Start.bat
* Stop.bat
* Stop.bat
Line 155: Line 281:
* UniController.exe
* UniController.exe


'''''C) CGI Scripts'''''<br>Place all your CGI scripts in  this folder
'''''C) CGI Scripts'''''<br />Place all your CGI scripts in  this folder
* Perl Scripts - .pl
* Perl Scripts - .pl


'''''E) Secure Web Root Folder'''''
'''''E) Secure Web Root Folder'''''
* Place all site/pages to be encrypted<br> in this folder.
* Place all site/pages to be encrypted<br /> in this folder.
* Uses Open SSL 098i
* Uses Open SSL 098i


'''''H) Web Root Folder'''''
'''''H) Web Root Folder'''''
* Place all other site/pages in this folder.<br>This is the Standard Web-Server folder
* Place all other site/pages in this folder.<br />This is the Standard Web-Server folder
|
|
[[Image:Structure_1.gif]]
[[Image:Structure_1.gif]]
|valign="top"|
|valign="top"|
'''''B) USB Disk-root'''''<br>Server control - Start/Stop servers:
'''''B) USB Disk-root'''''<br />Server control - Start/Stop servers:
* usb_server_start.bat
* usb_server_start.bat
* usb_server_stop.bat
* usb_server_stop.bat
Line 180: Line 306:


'''''G) Local Folder
'''''G) Local Folder
* Apache Server, configuration and logfiles.<br>Location of server certificate and key.
* Apache Server, configuration and logfiles.<br />Location of server certificate and key.
* MySQL Server, configuration file and databases.
* MySQL Server, configuration file and databases.
* PHP interpreter and configuration file.
* PHP interpreter and configuration file.
|}
|}


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


== UniController V2 (V2.1)==
== UniController V2 (V2.1)==
{|
{|width="100%"
|-
|-valign="top"
|[[Image:UnicontrollerV2.gif]]||'''''UniController'':'''<br /> Has a minimal user interface and built in diagnostics.<br />''Checks server ports in use''<br />Has the capability to run multi-servers.<br />Includes auto-drive detection with option to manually override.<br />Independent control of Apache and MySQL servers<br />Apache configuration syntax check.<br />Option to open a MySQL CMD (command) window.
|'''''UniController'':'''
|}
* Has&nbsp;a&nbsp;minimal&nbsp;user&nbsp;interface&nbsp;and&nbsp;built&nbsp;in&nbsp;diagnostics.
Apart from test all buttons perform what’s displayed.
* Checks server ports in use
 
* Has the capability to run multi-servers.
* Auto-drive detection with option to manually override.
* Independent control of Apache and MySQL servers
* Apache configuration syntax check.
* Option to open a MySQL CMD (command) window.
|width="247px"|[[Image:UnicontrollerV2.gif]]
|
Apart from test all buttons perform what’s displayed.<br />
Test hides its functionality because it supports options that are rarely used.
Test hides its functionality because it supports options that are rarely used.
* The initial click checks server port status.
* The initial click checks server port status.
* Then offers a choice to check Apache configuration syntax.
* Then offers a choice to check Apache configuration syntax.
* Finally offers a choice to run a MySQL prompt.
* Finally offers a choice to run a MySQL prompt.
Note: Upgraded to V2.1 in V4.1-Mona (bug fix associated with running multi-servers)
'''''Note'':''' Upgraded to V2.1 in V4.1-Mona (bug fix associated with running multi-servers)
|}


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


== UniTray and Apanel ==
== UniTray and Apanel ==
UniTray and Apanel now have menu options supporting SSL and MySQL password recovery.
{|
|-valign="top"
|
'''Apanel:'''


Creating a new personal server '''certificate''' and '''key''' are initiated by a single mouse click.
* New menu options supporting SSL and MySQL password recovery.
* Creating a new personal server '''certificate''' and '''key''' are initiated by<br />a single mouse click.
* New menu items are found under the '''Plugin Manager''' section
* Restore MySQL password
* Server Key & Cert Gen
|&nbsp;
|
'''UniTray:'''


Note: The MySQL password should always be set using Apanel setting it with phpMyAdmin results in MySQL lockout. In this situation use the new MySQL password recovery feature.
* New menu options supporting SSL and MySQL password recovery.
* Creating a new personal server '''certificate''' and '''key''' are initiated by<br /> a single mouse click.
* UniTray tracks 4.0-Mona's installation modes; Basic, Disk-Root<br />or Service and offers menu items appropriate to that mode.
|}
'''''Note'':'''


'''Apanel:'''
The MySQL password should always be set using Apanel setting it with phpMyAdmin results in MySQL lockout.
 
The two new menu items are found under the '''Plugin Manager''' section
 
* Restore MySQL password
* Server Key & Cert Gen 


'''UniTray:'''
In this situation use the new MySQL password recovery feature.


UniTray tracks 4.0-Mona's installation modes; Basic, Disk-Root or Service and offers menu items appropriate to that mode.


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


== Server_Start.bat and Stop.bat ==
== Server_Start.bat and Stop.bat ==
Line 228: Line 366:
Server_Start.bat now supports auto-drive detection this can be overridden to provide a fixed drive letter by either modifying the batch file or passing parameters to the batch file.
Server_Start.bat now supports auto-drive detection this can be overridden to provide a fixed drive letter by either modifying the batch file or passing parameters to the batch file.


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


== New batch files usb_server_start.bat usb_server_stop.bat ==
== New batch files usb_server_start.bat usb_server_stop.bat ==
Line 235: Line 372:
Note: UniController 2 tracks its location allowing it to run from either [[4.0-Mona: Install#Disk root | disk root]] or a [[4.0-Mona: Install#Basic | sub-folder]] hence only a single version of UniController required.  
Note: UniController 2 tracks its location allowing it to run from either [[4.0-Mona: Install#Disk root | disk root]] or a [[4.0-Mona: Install#Basic | sub-folder]] hence only a single version of UniController required.  


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


== Running multi-Servers on same PC ==
== Running multi-Servers on same PC ==
Uniform Server's architecture has always supported running multi-servers however 4.0-Mona makes this task easier that said you do need to edit some files covered in detail [[4.0-Mona: Multi-Servers | here]].
The Uniform Server's architecture has always supported running multi-servers however 4-Mona makes this task easier that said you do need to edit some files covered in detail [[4.0-Mona: Multi-Servers | here]].


Note: 4.1-Mona new plugin script that automates this process.
'''''Note'':''' 4.1-Mona new plugin script automates this process.


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


== Related Information ==
== Related Information ==


# UniController is based on [[Unicon: Introduction | Unicon]] with a few enhancements.<br />Note:UniController uses '''my.cnf''' while Unicon uses '''my-small.cnf''' hence are not interchangeable.<br /> If you wish to recompile UniController2 the instructions are comatible. Source code can be found in folder *\udrive\docs\SRC.
=== How to install some popular applications ===
 
Please note all these applications can be installed and run from a USB memory stick.<br />
'''''[[#top | Top]]'''''
Some require a small amount of editing to removed hard coded paths.<br />
== How to install some popular applications ==
Please note all these applications can be installed and run from a USB memory stick.<br>
Some require a small amount of editing to removed hard coded paths.<br>
Packages that require Cron jobs to be run are catered by a portable-cron this requires three additional files.
Packages that require Cron jobs to be run are catered by a portable-cron this requires three additional files.
{|
{|
Line 270: Line 402:
|}
|}


'''''[[#top | Top]]'''''
 
=== Plugins ===
The following lists plugins available for The Uniform Server 4-Mona series:
{|cellpadding="4" cellspacing="1" width="100%" style="background:#888888;"
|-style="background:#e8e8e8;"
|'''''Plugin Name'''''||'''''Description'''''
|-valign="top" style="background:#f5f5f5;"
|
[[Old:4.0-Mona: UniTray|'''UniTray_2''']]
|
Adds a tray menu control to UniServer-Mona. Supports all three installation modes basic, disk-root and run as service. Supports multi-server installations (requires a single file name change).
|-valign="top" style="background:#f5f5f5;"
|
[[UniServer AWStats for 4-Mona|'''UniServer_AWStats''']]
|
AWStats is a free powerful and fully featured tool that generates advanced server statistics, graphically.
|-valign="top" style="background:#f5f5f5;"
|
[[UniServer CA: Introduction|'''UniServer_CA''']]
|
UniServer CA is both a plugin and a portable certificate authority (CA). It allows you to sign certificates (server and personal)
Intended for Personal Servers and Intranet use. Note: Mona’s ssl.conf file has support for CA and personal certificates
in the form of a template (commented lines).
|-valign="top" style="background:#f5f5f5;"
|
[[UniServer CD: Introduction|'''UniServer_CD''']]
|
Transforms 4.1-Mona into a CD development system. Similar to UniServer_USB uses Portable Firefox plus a PAC file to resolves local web-addresses..
|-valign="top" style="background:#f5f5f5;"
|
[[FileZilla Server2: Introduction|'''UniServer_FileZillFTPd''']]
|
Adds FileZilla Server to 4.1-Mona Supports all three-installation modes. Core portable-FileFillaFTPd can be used independently of UniServer.
|-valign="top" style="background:#f5f5f5;"
|
[[UniServer_USB:_Introduction|'''UniServer_USB''']]
|
This makes Uniform Server 4.1-Mona totally independent of host PC. Adds portable Firefox. Host browser not required. Uses PAC file to resolve Web addresses “hosts” file not required. (Example of use see tutorial [[USB MediaWiki | '''USB MediaWiki''']] for complete step-by-step guide)
|-valign="top" style="background:#f5f5f5;"
|
[[UniServer Zend Optimizer|'''UniServer_Zend_Optimizer''']]
|
Some application encode PHP scripts using Zend Guard to run these scripts on Uniform Server
requires the installation of Zend Optimizer. This plugin provides a quick way to install
Zend Optimizer on Uniform Server Mona.
|}
 
 
=== Design ===
# UniController is based on [[Unicon: Introduction | Unicon]] with a few enhancements.<br />Note:UniController uses '''my.cnf''' while Unicon uses '''my-small.cnf''' hence are not interchangeable.<br /> If you wish to recompile UniController2 the instructions are comatible. Source code can be found in folder *\udrive\docs\SRC.
 
 
== Security related information ==
The following topics and tutorials show how to harness the power of SSL built into The Uniform Server.
 
=== Password protect folders/files plus ssl ===
[[Authentication: Introduction|'''Authentication''']] covers Apache’s basic authentication, viable over the Internet when secured using SSL. The techniques shown eliminate the need for additional programming and remove the requirement to have mod-rewrite enabled. A full-blown secure server is not required! Double logins are eliminated.
 
=== Run your own CA (Certificate Authority) ===
[[UniServer CA: Introduction|'''UniServer CA Introduction''']]. A complete tutorial how to use UniServer,s CA plugin to create root CA and server certificate for the Apache server. Also covers personal certificates for accessing secure areas of the server.
 
 
=== CAcert ===
[[SSL Part 2: Home|'''CAcert''']] A complete tutorial on how to obtain a free signed server certificate from CAcert certificate authority.
 
 


== Other Topic Links ==
== Other Topic Links ==
Line 277: Line 474:
[[USB self-contained server | USB self-contained server]] - How to avoid the hosts file. Uses V4.0-Mona (V4.1-Mona), Firefox and PAC
[[USB self-contained server | USB self-contained server]] - How to avoid the hosts file. Uses V4.0-Mona (V4.1-Mona), Firefox and PAC


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


== Summary ==
== Summary ==
Uniform Server 4.0-Mona is a significant upgrade including several enhancements it reminds me of a classic from “Only Fools” where Trigger claims that he's had his road sweeper's broom for 20 years.
The Uniform Server 4-Mona series is a significant upgrade, including several enhancements. It reminds me of a classic from “Only Fools” where Trigger claims that he's had his road sweeper's broom for 20 years. Then he adds a little gem, that the broom has had 17 new heads and 14 new handles.  


Then he adds a little gem, that the broom has had 17 new heads and 14 new handles.  
Yep! That applies to 4-Mona, however it still has the look and feel of Uniform Server 3.5 even down to its file structure, so it remains familiar and easy to use. The wealth of material for 3.5 is transferable to 4-Mona.


Yep! Applies to 4.0-Mona however it still has the look and feel of Uniform Server 3.5 even down to its file structure hence remains familiar and easy to use. The wealth of material for 3.5 is transferable to 4.0-Mona (4.1-Mona).
[[Old:4.0-Mona: Install | How to Install 4-Mona]]


[[4.0-Mona: Install | How to Install 4.0-Mona]] (4.1-Mona)


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


----
----


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

Latest revision as of 13:01, 21 June 2013

 

The Uniform Server 4-Mona

The Uniform Server 4-Mona

The Uniform Server’s architecture is resilient and has stood the test of time; 4-Mona enhances this by offering several installation options along with integrated SSL support. All main components have been upgraded to the latest stable versions.

Note: 4.1-Mona contains core component updates and enhancements.

Note: 4.2-Mona contains core component security updates and bug fixes. - Recommended upgrade

New features

  • Integrated SSL support
  • Automated self-signed Certificate and Key generation
  • Name/password access to secure server
  • UniController V2 includes diagnostics
  • MySQL Password recovery
  • All main components upgraded
 
  • Root drive installation (does not require a virtual drive)
  • Automatic free-drive detection
  • Two new batch files for root drive control.
  • Running multi-servers on same PC
  • New UniTray plugin
  • Apanel updated.

The following provides an overview of each new feature before looking at these; I have provided a list of the older Uniform Server versions for comparison.

The Uniform Server releases

For reference, I have shown the current Uniform Server stable releases and their main components.

  Uniform Server 3.2a  
Apache 2.0.54
MySQL 4.1.12a
PHP 5.0.4
 
phpMyAdmin 2.6.3-rc1
ActivePerl 5.8.7.813
 
  Uniform Server 3.3  
Apache 2.0.55
MySQL 5.0.17
PHP & Extensions 5.1.1
phpMyBackupPro 1.7.1
phpMyAdmin 2.6.4-pl4
ActivePerl 5.8.7.815
 
  Uniform Server 3.5 Apollo  
Apache 2.0.59
MySQL 5.0.37
PHP Version 5.2.3
phpMyBackupPro v.2.1
phpMyAdmin 2.10.2
ActivePerl 5.8.8.820
eAccelerator 0.9.5.1
  Uniform Server 4.0 Mona  
Apache 2.2.11
MySQL 5.1.30-community
PHP 5.2.8
phpMyAdmin 3.0.1.1
ActivePerl 5,10,0,1003
eAccelerator 0.9.5.3
SSL pre-installed (ssl_098j)

 

  Uniform Server 4.1 Mona  
Apache 2.2.11
MySQL 5.1.33-community
PHP 5.2.9-1
phpMyAdmin 3.1.3.1
ActivePerl 5,10,0,1004
eAccelerator 30953_5.2.9.1
SSL pre-installed (ssl_098k)
  Uniform Server 4.2 Mona  
Apache 2.2.11
MySQL 5.1.34-community
PHP 5.2.9-2
phpMyAdmin 3.1.3.1
ActivePerl 5,10,0,1004
eAccelerator 30953_5.2.9.2
SSL pre-installed (ssl_098k)
  Uniform Server 4.3 Mona  
Apache 2.2.11
MySQL 5.1.35-community
PHP 5.2.10
phpMyAdmin 3.2.0
ActivePerl 5,10,0,1004
eAccelerator 30953_5.2.10
SSL pre-installed (ssl_098k)
  Uniform Server 4.4-Mona  
Apache 2.2.13
MySQL 5.1.38-community
PHP 5.3.0
phpMyAdmin 3.2.2-rc1
ActivePerl 5,10,0,1004
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
  Uniform Server 4.5-Mona  
Apache 2.2.14
MySQL 5.1.41-community
PHP 5.3.1
phpMyAdmin 3.2.4
ActivePerl 5,10,0,1004
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098l)
  Uniform Server 4.5a-Mona  
Apache 2.2.14
MySQL 5.1.41-community
PHP 5.2.12
phpMyAdmin 3.2.4
ActivePerl 5,10,0,1004
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)

 

 


V4.0-Mona Structure Overview

The following provides a quick overview of 4-Mona's main server areas.

A) Top-Level
Server control - Start/Stop servers:

  • Server_Start.bat
  • Stop.bat
  • disk_start.vbs
  • UniController.exe

C) CGI Scripts
Place all your CGI scripts in this folder

  • Perl Scripts - .pl

E) Secure Web Root Folder

  • Place all site/pages to be encrypted
    in this folder.
  • Uses Open SSL 098i

H) Web Root Folder

  • Place all other site/pages in this folder.
    This is the Standard Web-Server folder

B) USB Disk-root
Server control - Start/Stop servers:

  • usb_server_start.bat
  • usb_server_stop.bat

D) Plugins Folder

  • key_cert_gen - Scripts to generate new server certificate and key
  • restore_mysql_password - Script to restore MySQL back to root
  • Services - Scripts to install UniServer as a service (copied to C drive)
  • move_servers - (4.1-Mona) Script changes server ports renames equitables

F) Bin Folder

  • Location of the PERL interipter

G) Local Folder

  • Apache Server, configuration and logfiles.
    Location of server certificate and key.
  • MySQL Server, configuration file and databases.
  • PHP interpreter and configuration file.


UniController V2 (V2.1)

UniController:
  • Has a minimal user interface and built in diagnostics.
  • Checks server ports in use
  • Has the capability to run multi-servers.
  • Auto-drive detection with option to manually override.
  • Independent control of Apache and MySQL servers
  • Apache configuration syntax check.
  • Option to open a MySQL CMD (command) window.

Apart from test all buttons perform what’s displayed.
Test hides its functionality because it supports options that are rarely used.

  • The initial click checks server port status.
  • Then offers a choice to check Apache configuration syntax.
  • Finally offers a choice to run a MySQL prompt.

Note: Upgraded to V2.1 in V4.1-Mona (bug fix associated with running multi-servers)


UniTray and Apanel

Apanel:

  • New menu options supporting SSL and MySQL password recovery.
  • Creating a new personal server certificate and key are initiated by
    a single mouse click.
  • New menu items are found under the Plugin Manager section
  • Restore MySQL password
  • Server Key & Cert Gen
 

UniTray:

  • New menu options supporting SSL and MySQL password recovery.
  • Creating a new personal server certificate and key are initiated by
    a single mouse click.
  • UniTray tracks 4.0-Mona's installation modes; Basic, Disk-Root
    or Service and offers menu items appropriate to that mode.

Note:

The MySQL password should always be set using Apanel setting it with phpMyAdmin results in MySQL lockout.

In this situation use the new MySQL password recovery feature.


Server_Start.bat and Stop.bat

These perform the same function as for 3.5-Apollo in that they start and stop the servers.

Server_Start.bat now supports auto-drive detection this can be overridden to provide a fixed drive letter by either modifying the batch file or passing parameters to the batch file.


New batch files usb_server_start.bat usb_server_stop.bat

These new batch files perform an identical function to the above however they have been configured to run from a drive’s root (top level). The drive can be a hard disk or USB stick this removes the need for a virtual drive. It also offers a small increase in speed.

Note: UniController 2 tracks its location allowing it to run from either disk root or a sub-folder hence only a single version of UniController required.


Running multi-Servers on same PC

The Uniform Server's architecture has always supported running multi-servers however 4-Mona makes this task easier that said you do need to edit some files covered in detail here.

Note: 4.1-Mona new plugin script automates this process.


Related Information

How to install some popular applications

Please note all these applications can be installed and run from a USB memory stick.
Some require a small amount of editing to removed hard coded paths.
Packages that require Cron jobs to be run are catered by a portable-cron this requires three additional files.

Package   Installed Size  
Drupal 6.9   51.1 MB - Run from a USB memory stick - Portable cron
Joomla 1.5.9   64.5 MB - Run from a USB memory stick
MediaWiki 1.13.3   79.4 MB - Run from a USB memory stick
Moodle Moodle 1.9.4+   102 MB - Run from a USB memory stick - Portable cron
WordPress 2.7   52.3 MB - Run from a USB memory stick
Xoops 2.3.2b   62.6 MB - Run from a USB memory stick


Plugins

The following lists plugins available for The Uniform Server 4-Mona series:

Plugin Name Description

UniTray_2

Adds a tray menu control to UniServer-Mona. Supports all three installation modes basic, disk-root and run as service. Supports multi-server installations (requires a single file name change).

UniServer_AWStats

AWStats is a free powerful and fully featured tool that generates advanced server statistics, graphically.

UniServer_CA

UniServer CA is both a plugin and a portable certificate authority (CA). It allows you to sign certificates (server and personal) Intended for Personal Servers and Intranet use. Note: Mona’s ssl.conf file has support for CA and personal certificates in the form of a template (commented lines).

UniServer_CD

Transforms 4.1-Mona into a CD development system. Similar to UniServer_USB uses Portable Firefox plus a PAC file to resolves local web-addresses..

UniServer_FileZillFTPd

Adds FileZilla Server to 4.1-Mona Supports all three-installation modes. Core portable-FileFillaFTPd can be used independently of UniServer.

UniServer_USB

This makes Uniform Server 4.1-Mona totally independent of host PC. Adds portable Firefox. Host browser not required. Uses PAC file to resolve Web addresses “hosts” file not required. (Example of use see tutorial USB MediaWiki for complete step-by-step guide)

UniServer_Zend_Optimizer

Some application encode PHP scripts using Zend Guard to run these scripts on Uniform Server requires the installation of Zend Optimizer. This plugin provides a quick way to install Zend Optimizer on Uniform Server Mona.


Design

  1. UniController is based on Unicon with a few enhancements.
    Note:UniController uses my.cnf while Unicon uses my-small.cnf hence are not interchangeable.
    If you wish to recompile UniController2 the instructions are comatible. Source code can be found in folder *\udrive\docs\SRC.


Security related information

The following topics and tutorials show how to harness the power of SSL built into The Uniform Server.

Password protect folders/files plus ssl

Authentication covers Apache’s basic authentication, viable over the Internet when secured using SSL. The techniques shown eliminate the need for additional programming and remove the requirement to have mod-rewrite enabled. A full-blown secure server is not required! Double logins are eliminated.

Run your own CA (Certificate Authority)

UniServer CA Introduction. A complete tutorial how to use UniServer,s CA plugin to create root CA and server certificate for the Apache server. Also covers personal certificates for accessing secure areas of the server.


CAcert

CAcert A complete tutorial on how to obtain a free signed server certificate from CAcert certificate authority.


Other Topic Links

Perl CGI Hello World - Short snippets to get you started with Perl

USB self-contained server - How to avoid the hosts file. Uses V4.0-Mona (V4.1-Mona), Firefox and PAC


Summary

The Uniform Server 4-Mona series is a significant upgrade, including several enhancements. It reminds me of a classic from “Only Fools” where Trigger claims that he's had his road sweeper's broom for 20 years. Then he adds a little gem, that the broom has had 17 new heads and 14 new handles.

Yep! That applies to 4-Mona, however it still has the look and feel of Uniform Server 3.5 even down to its file structure, so it remains familiar and easy to use. The wealth of material for 3.5 is transferable to 4-Mona.

How to Install 4-Mona