Old:4.0-Mona: Introduction

From The Uniform Server Wiki
Jump to navigation Jump to search

 

The Uniform Server 4-Mona

Uniform Server 4.0-Mona

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

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 older Uniform Server versions for comparison.

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)

Top

V4.0-Mona Structure Overview

The following provides a quick overview of V4.0-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)

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.

Top

UniController V2

UniController:
Has a minimal user interface and built in diagnostics.
Checks server ports in use
Has the capability to run multi-servers.
Includes 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.

Top

UniTray and Apanel

UniTray and Apanel now have menu options supporting SSL and MySQL password recovery.

Creating a new personal server certificate and key are initiated by a single mouse click.

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.

Apanel:

The two new menu items are found under the Plugin Manager section

  • Restore MySQL password
  • Server Key & Cert Gen

UniTray:

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

Top

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.

Top

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.

Top

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

Top

Related Information

  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.

Top

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

Top

Other Topic Links

Zend Optimizer Pugin - Download and install

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

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

Top

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.

Then he adds a little gem, that the broom has had 17 new heads and 14 new handles.

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.

How to Install 4.0-Mona

Top