5.0-Nano: Introduction: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(Updated links)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Nav 5.0-Nano}}
{{Nav 5.0-Nano}}
'''Uniform Server 5.0-Nano'''
'''Uniform Server 5-Nano'''


== Overview ==
== Overview ==
Uniform Server has undergone a major architecture change to a certain extent this is transparent. The focus has been on ease of use and maximum flexibly while still retaining a small footprint. A fundamental change has been the removal of Perl for server control now replaced with PHP CLI. Advantages are both Apanel and server-control now share a common language along with a common set of PHP functions. Batch files no longer perform any control functionality they are used in the main to run PHP scripts and provide pop-up information windows.  
Uniform Server has undergone a major architecture change; to a certain extent this is transparent. The focus has been on ease of use and maximum flexibly while still retaining a small footprint. A fundamental change has been the removal of Perl which was used for server control, and now is replaced with PHP CLI. The advantage is that both Apanel and server-control now share a common language, as well as a common set of PHP functions. Batch files no longer perform any control functionality. They are used mainly to run PHP scripts and provide pop-up information windows.  


'''''[[#top | Top]]'''''
=== Control architecture ===
=== Control architecture ===
Control architecture has been rebuilt from the ground up; it now uses a mix of dynamic absolute paths and relative paths. Significance of this, for portability a virtual drive is no longer required. Service installation no longer requires a server relocation and conversion. Uniform Server now runs in either mode, as a standard program or a service or a mix of either in the folder it is extracted to. This folder in its entirety can be relocated and servers run from there for example a USB memory stick.
The control architecture has been rebuilt from the ground up; it now uses a mix of dynamic absolute paths and relative paths. Most significantly, a virtual drive is no longer required for portability. Installation as services no longer requires a server relocation and conversion. Uniform Server now runs in either mode, as a standard program or a service or a mix of either, directly in the folder it is extracted to. This folder in its entirety can be relocated and servers run from there, for example, a USB memory stick.


Net result is a more consistent architecture allowing independent control of each server. UniTray has had a chequered past, originally offered as a plugin now integrated into this version of Uniform Server. It’s a dual menu (tray icon), left and right mouse buttons selects either of two menus allowing the servers to be run in either in standard program mode or as a service respectively. For convenience common menu options are duplicated in both menus.   
The net result is a more consistent architecture, allowing independent control of each server. UniTray has had a chequered past, originally offered as a plugin, and now integrated into this version of Uniform Server. It’s a dual menu tray icon; left and right mouse buttons select either of two menus, allowing the servers to be run in either in standard program mode or as a service, respectively. For convenience, common menu options are duplicated in both menus.   
 
'''''[[#top | Top]]'''''


=== Apanel ===
=== Apanel ===
Although Apanel has been enhanced it retains its ease of use and ability to fine-tune the servers. It dynamically tracks user options selected and presents menu options appropriate to that selection. For example if you choose not to run the MySQL server all associate menu options are hidden.         
Apanel has been enhanced but it retains its ease of use and ability to fine-tune the servers. It dynamically tracks user options selected and presents menu options appropriate to that selection. For example, if you choose not to run the MySQL server, all associated menu options are hidden.         


'''''[[#top | Top]]'''''
=== Installation ===
=== Installation ===
After unpacking Uniform Server to any folder you can run the servers either as a standard program or run as a service straight out of the box. That’s the real power of this new architecture just click and go. Move the server to a new location for example another folder, hard drive or USB memory stick and again you are ready to run.
After unpacking Uniform Server to a folder, you can run the servers either as standard programs or run as services straight out of the box. That’s the real power of this new architecture; just click and go. You can move the server tree to a new location (another folder, hard drive or USB memory stick) and again you are ready to run.


'''''[[#top | Top]]'''''
=== Hidden ===
=== Hidden ===
Hidden behind the scenes is more flexibility, you can choose what to run and what to display at start-up. The defaults assume you wish to run or close both servers at the same time either in standard program mode or in service mode.
Hidden behind the scenes is more flexibility. You can choose what to run and what to display at start-up. The defaults assume you wish to run or close both servers at the same time, both in standard program mode and in service mode.


In reality you can select a mix that best suites your requirement, options are selectable in a single control file.   
In reality, you can select a mix that best suits your requirement. The options are selectable in a single control file.   


'''''[[#top | Top]]'''''
== Summary of features ==
== Summary of features ==
{|
{|
Line 53: Line 47:
|}
|}


'''''[[#top | Top]]'''''
== Uniform Server releases ==
For reference, here are the Uniform Server stable releases and their main components. Note that earlier versions are likely to have significant security issues, and should not be used for production installations.


== Uniform Server releases ==
For reference, I have shown the current Uniform Server stable releases and their main components.
<table cellpadding="2">
<table cellpadding="2">
<tr>
<tr>
Line 452: Line 445:


<td>
<td>
&nbsp;
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6a-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.14
|- style="background:#f5f5f5;"
|MySQL 5.1.44-community
|-style="background:#f5f5f5;"
|PHP 5.2.13
|-style="background:#f5f5f5;"
|phpMyAdmin  3.2.5
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
 
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6b-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.44-community
|-style="background:#f5f5f5;"
|PHP 5.2.13
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.0
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
 
 
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.44-community
|-style="background:#f5f5f5;"
|PHP 5.3.2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.0
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
</td>
</tr>
<tr>


<td>
<td>
&nbsp;
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6.1-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.45-community
|-style="background:#f5f5f5;"
|PHP 5.3.2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
</td>


<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6.3-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.45-community
|-style="background:#f5f5f5;"
|PHP 5.3.2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.2
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>


<td>
<td>
&nbsp;
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6.4-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.46-community
|-style="background:#f5f5f5;"
|PHP 5.3.2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.2
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
</td>


<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.6.5-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.15
|- style="background:#f5f5f5;"
|MySQL 5.1.46-community
|-style="background:#f5f5f5;"
|PHP 5.3.2
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.3
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-dev
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098l)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>


</tr>
</tr>
</table>
</table>
'''''[[#top | Top]]'''''


== V5.0-Nano Folder Structure Overview ==
Note: 5.6.2-Nano was a security update (bug fix)
The following provides a quick overview of V5.*-Nano's main server areas.
 
 
== V5-Nano Folder Structure Overview ==
The following provides a quick overview of 5-Nano's main server areas.
{|
{|
|-
|-
Line 513: Line 662:
|}
|}


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


== UniTray - Quick start servers ==
== UniTray - Quick start servers ==
Line 549: Line 697:


|}
|}
'''''[[#top | Top]]'''''
 
=== Server Status - ''Diagnostics'' ===
=== Server Status - ''Diagnostics'' ===
Server Status provides a mixed bag of information:
Server Status provides a mixed bag of information:
Line 558: Line 706:
* Checks servers are accessible from the Internet, uses the above IP address
* Checks servers are accessible from the Internet, uses the above IP address


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


== Apanel ==
== Apanel ==
Apanel allows you to fine-tune the servers hence reduces the need to go in and edit the server configuration files manually.
Apanel allows you to fine-tune the servers hence reduces the need to go in and edit the server configuration files manually.
It has been enhanced with the folowing additional features:
It has been enhanced with the folowing additional features:


Line 573: Line 719:
'''''Note'':'''
'''''Note'':'''


The MySQL password should always be set using Apanel, setting it with phpMyAdmin results in MySQL lockout.
The MySQL password should ''always'' be set using Apanel. Setting it with phpMyAdmin results in MySQL lockout.
 
If this happens, you can use the MySQL password recovery feature to resolve the problem.
In this situation use the MySQL password recovery feature.
 
'''''[[#top | Top]]'''''


== Alternative control ==
== Alternative control ==
Esoteric batch files no longer exist; the ones you will find in folder alternative control have been reduced to a bare minimum. These now call PHP scripts that perform the real work.  
Esoteric batch files no longer exist; the ones you will find in folder alternative control have been reduced to a bare minimum. These now call PHP scripts that perform the real work.  


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


== Running multi-Servers on same PC ==
== Running multi-Servers on same PC ==
Uniform Server's architecture has always supported running multi-servers 5.0-Nano makes this task easier.  
Uniform Server's architecture has always supported running multi-servers; 5-Nano makes this task easier.  


Although the Mona series had this capability it was difficult to distinguish which one was running. This has been addressed by using numbered tray icons for each server (UniTray) started.
Although the Mona series had this capability it was difficult to distinguish which one was running. This has been addressed by using numbered tray icons for each server (UniTray) started.


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


== Related Information ==
== Related Information ==
'''''[[#top | Top]]'''''
 
=== How to install some popular applications ===
=== 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.<br>
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.<br>
Line 604: Line 745:
|[[Installing Joomla on 5.0-Nano | Joomla 1.5.15]]||&nbsp;||64.5 MB||- Run from a USB memory stick
|[[Installing Joomla on 5.0-Nano | Joomla 1.5.15]]||&nbsp;||64.5 MB||- Run from a USB memory stick
|-
|-
|[[Installing MediaWiki on 5.0-Nano | MediaWiki 1.15.1]]||&nbsp;||80.6 MB||- Run from a USB memory stick
|[[Installing MediaWiki on 5.0-Nano | MediaWiki 1.15.1]]||&nbsp;||80.6 MB||- Run from a USB memory stick (Do not run on PHP 5.3.1)
|-
|-
|[[Installing Moodle on 5.0-Nano | Moodle Moodle 1.9.7+]]||&nbsp;||104 MB||- Run from a USB memory stick - Requires Portable cron
|[[Installing Moodle on 5.0-Nano | Moodle Moodle 1.9.7+]]||&nbsp;||104 MB||- Run from a USB memory stick - Requires Portable cron
Line 614: Line 755:
'''''Note'':''' For each of the above packages there is a corresponding plugin downloadable from SourceForge.<br /> These plugins are specific to '''Uniform Server 5.5-Nano''' including '''5.5a-Nano''' and will not run on other versions.<br /> Download details are provided on each page.
'''''Note'':''' For each of the above packages there is a corresponding plugin downloadable from SourceForge.<br /> These plugins are specific to '''Uniform Server 5.5-Nano''' including '''5.5a-Nano''' and will not run on other versions.<br /> Download details are provided on each page.


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


=== Plugins ===
=== Plugins ===
Line 624: Line 764:
|[[5.0-Nano: Perl|'''V5.0_mini_perl''']]
|[[5.0-Nano: Perl|'''V5.0_mini_perl''']]
|Installs Perl core program with a collection of commonly used Perl modules. Plugin Options:
|Installs Perl core program with a collection of commonly used Perl modules. Plugin Options:
* V5.0_mini_perl - ActivePerl 5.10.0.'''1005'''
* V5.0_mini_perl - ActivePerl 5.10.1.'''1005'''
* V5.1_mini_perl - ActivePerl 5.10.0.'''1006'''
* V5.1_mini_perl - ActivePerl 5.10.1.'''1006'''
* V5.2_mini_perl - ActivePerl 5.10.1.'''1007'''
|All
|All
|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[5.0-Nano: Perl|'''V5.0_full_perl''']]
|[[5.0-Nano: Perl|'''V5.0_full_perl''']]
|Installs Perl core program and full set of Perl modules. Plugin Options:
|Installs Perl core program and full set of Perl modules. Plugin Options:
* V5.0_full_perl - ActivePerl 5.10.0.'''1005'''
* V5.0_full_perl - ActivePerl 5.10.1.'''1005'''
* V5.1_full_perl - ActivePerl 5.10.0.'''1006'''
* V5.1_full_perl - ActivePerl 5.10.1.'''1006'''
* V5.2_full_perl - ActivePerl 5.10.1.'''1007'''
|All
|All
|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[V5.0 AWStats|'''V5.0_AWStats_2.0''']]
|[[AWStats for 5-Nano|'''V5.0_AWStats_2.0''']]
|AWStats is a free powerful and fully featured tool that generates advanced server statistics, graphically.
|AWStats is a free powerful and fully featured tool that displays advanced server statistics graphically.


This plugin requires PERL to be installed use either Mini or Full Perl plugins see above..  
This plugin requires PERL to be installed use either Mini or Full Perl plugins see above..  
|All
|All
|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[V5.0 AWStats|'''V5.0_AWStats_1.0''']]
|[[AWStats for 5-Nano|'''V5.0_AWStats_1.0''']]
|AWStats is a free powerful and fully featured tool that generates advanced server statistics, graphically.
|AWStats is a free powerful and fully featured tool that displays advanced server statistics graphically.


For completeness this plugin includes V5.0_mini_perl.  
For completeness this plugin includes V5.0_mini_perl.  
Line 647: Line 789:
|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[Webalizer English|'''Webalizer English''']]
|[[Webalizer English|'''Webalizer English''']]
|Webalizer is a fast application that generates server statistics from Apache’s access log file.
|Webalizer is a fast application that analyzes server statistics from Apache’s access log file.


Analysis results are converted into standard WebPages with data presented in both text and graphical format.  
Analysis results are converted into standard WebPages with data presented in both text and graphical format.  
Line 653: Line 795:
|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[Webalizer Multi Languages|'''Webalizer Multi Languages''']]
|[[Webalizer Multi Languages|'''Webalizer Multi Languages''']]
|Webalizer is a fast application that generates server statistics from Apache’s access log file.
|Webalizer is a fast application that analyzes server statistics from Apache’s access log file.


Analysis results are converted into standard WebPages with data presented in both text and graphical format.  
Analysis results are converted into standard WebPages with data presented in both text and graphical format.  
Line 664: Line 806:
|[[FileZilla Server3: Introduction|'''V55_FileZillaFTPd''']]
|[[FileZilla Server3: Introduction|'''V55_FileZillaFTPd''']]
|Adds FileZilla Server to 5.5-Nano. Runs as a standard program or as a service. Core portable-FileFillaFTPd can be used independently of UniServer. Includes language files for UniTray  
|Adds FileZilla Server to 5.5-Nano. Runs as a standard program or as a service. Core portable-FileFillaFTPd can be used independently of UniServer. Includes language files for UniTray  
|V5.5 V5.5a
|V5.5 V5.5a V5.6 V5.6b


|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
|[[UniServer CA2: Introduction|'''V55_UniServer_CA''']]
|[[UniServer CA2: Introduction|'''V55_UniServer_CA''']]
|This plugin is slightly unusual it starts off as a Uniform Server plugin where you can install a CA and server certificate including a server key to the Apache server. After completion the entire plugin is transferred to a USB memory stick enhancing security by removing the CA’s key from your PC
|This plugin is slightly unusual it starts off as a Uniform Server plugin where you can install a CA and server certificate including a server key to the Apache server. After completion the entire plugin is transferred to a USB memory stick enhancing security by removing the CA’s key from your PC
|V5.5 V5.5a
|V5.5 V5.5a V5.6 V5.6b


|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
Line 675: Line 817:
|This plugin integrates portable Firefox into Uniform Server 5.5-Nano’s architecture. This allows Uniform Server to be run independently of the host PC. To achieve this it uses Portable Firefox and a PAC file. (PAC file prevents issues with Vista and W7 "hosts" file).  
|This plugin integrates portable Firefox into Uniform Server 5.5-Nano’s architecture. This allows Uniform Server to be run independently of the host PC. To achieve this it uses Portable Firefox and a PAC file. (PAC file prevents issues with Vista and W7 "hosts" file).  
|V5.5 V5.5a
|V5.5 V5.5a
|-valign="top" style="background:#f5f5f5;"
|[[UniServer USB: UniServer USB V55|'''V56UniServer_USB''']]
|This plugin integrates portable Firefox into Uniform Server 5.6-Nano’s architecture. This allows Uniform Server to be run independently of the host PC. To achieve this it uses Portable Firefox and a PAC file. (PAC file prevents issues with Vista and W7 "hosts" file).
|V5.6 V5.6b
|-valign="top" style="background:#f5f5f5;"
|[[Z controller Introduction|'''V56_ZCON''']]
|This plugin is an alternative controller for Uniform Server 5.6-Nano. It incorporates features from UniTray and Apanel with a user interface similar to UniController.
|V5.6 V5.6b


|-valign="top" style="background:#f5f5f5;"
|-valign="top" style="background:#f5f5f5;"
Line 684: Line 836:
|?
|?
|}
|}
'''''[[#top | Top]]'''''
 


== Security related information ==
== Security related information ==
Line 696: Line 848:
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.
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.
|}
|}
'''''[[#top | Top]]'''''
 
=== Run your own CA (Certificate Authority) ===
=== Run your own CA (Certificate Authority) ===
{|
{|
Line 705: Line 857:
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.
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.
|}
|}
'''''[[#top | Top]]'''''
 
=== CAcert ===
=== CAcert ===
{|
{|
Line 711: Line 863:
|[[SSL Part 2: Home|'''CAcert''']] ||A complete tutorial on how to obtain a free signed server certificate from CAcert certificate authority.
|[[SSL Part 2: Home|'''CAcert''']] ||A complete tutorial on how to obtain a free signed server certificate from CAcert certificate authority.
|}
|}
'''''[[#top | Top]]'''''
 


== Other Topic Links ==
== Other Topic Links ==
Line 736: Line 888:
- How to avoid the hosts file. Uses V4.0-Mona (V4.1-Mona), Firefox and PAC
- How to avoid the hosts file. Uses V4.0-Mona (V4.1-Mona), Firefox and PAC
|}
|}
'''''[[#top | Top]]'''''
 


== Summary ==
== Summary ==
Uniform Server 5.0-Nano is a significant upgrade although the main architecture has changed along with the main components and many new features added control remains simple. Just a few mouse clicks will have the servers running either as a standard program or service.
The Uniform Server 5-Nano is a significant upgrade although the main architecture has changed along with the main components and many new features added control remains simple. Just a few mouse clicks will have the servers running either as a standard program or service.
Scratch the surface a little and you will find a wealth of flexibility allowing you to tailored the servers. Dig deeper and you have access to a set of common PHP function allowing you to redesign server control should you wish.
Scratch the surface a little and you will find a wealth of flexibility allowing you to tailored the servers. Dig deeper and you have access to a set of common PHP function allowing you to redesign server control should you wish.


[[5.0-Nano: Install and Run | '''How to Install and run 5.0-Nano''']]  
[[5.0-Nano: Install and Run | '''How to Install and run 5-Nano''']]  


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


----
----


[[Category: Uniform Server 5.0-Nano]]
[[Category: Uniform Server 5.0-Nano]]

Latest revision as of 15:21, 13 December 2011

 

Uniform Server 5-Nano

Overview

Uniform Server has undergone a major architecture change; to a certain extent this is transparent. The focus has been on ease of use and maximum flexibly while still retaining a small footprint. A fundamental change has been the removal of Perl which was used for server control, and now is replaced with PHP CLI. The advantage is that both Apanel and server-control now share a common language, as well as a common set of PHP functions. Batch files no longer perform any control functionality. They are used mainly to run PHP scripts and provide pop-up information windows.

Control architecture

The control architecture has been rebuilt from the ground up; it now uses a mix of dynamic absolute paths and relative paths. Most significantly, a virtual drive is no longer required for portability. Installation as services no longer requires a server relocation and conversion. Uniform Server now runs in either mode, as a standard program or a service or a mix of either, directly in the folder it is extracted to. This folder in its entirety can be relocated and servers run from there, for example, a USB memory stick.

The net result is a more consistent architecture, allowing independent control of each server. UniTray has had a chequered past, originally offered as a plugin, and now integrated into this version of Uniform Server. It’s a dual menu tray icon; left and right mouse buttons select either of two menus, allowing the servers to be run in either in standard program mode or as a service, respectively. For convenience, common menu options are duplicated in both menus.

Apanel

Apanel has been enhanced but it retains its ease of use and ability to fine-tune the servers. It dynamically tracks user options selected and presents menu options appropriate to that selection. For example, if you choose not to run the MySQL server, all associated menu options are hidden.

Installation

After unpacking Uniform Server to a folder, you can run the servers either as standard programs or run as services straight out of the box. That’s the real power of this new architecture; just click and go. You can move the server tree to a new location (another folder, hard drive or USB memory stick) and again you are ready to run.

Hidden

Hidden behind the scenes is more flexibility. You can choose what to run and what to display at start-up. The defaults assume you wish to run or close both servers at the same time, both in standard program mode and in service mode.

In reality, you can select a mix that best suits your requirement. The options are selectable in a single control file.

Summary of features

  • Integrated SSL support
  • Automated self-signed Certificate and Key generation
  • Name/password access to secure server
  • Server status - Includes diagnostics
  • Server status - IP address as seen from Internet
  • Server status - Accessibility check from Internet
  • MySQL Password recovery
  • Main components upgraded
  • Server Control - Uses PHP scripts. No longer uses Perl
 
  • Integrated portable Cron
  • Integrated DtDNS IP Updater
  • Run from any location (does not require a virtual drive)
  • Run as standard program or as a service
  • Alternative batch file control.
  • Run multi-servers on same PC
  • Integrated UniTray
  • Apanel updated.
  • Perl Mini or Full plugin

Uniform Server releases

For reference, here are the Uniform Server stable releases and their main components. Note that earlier versions are likely to have significant security issues, and should not be used for production installations.

  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)
  Uniform Server 5.0-Nano  
Apache 2.2.13
MySQL 5.1.38-community
PHP 5.2.10
phpMyAdmin 3.2.2-rc1
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 30953_5.2.10
SSL pre-installed (ssl_098k)
  Uniform Server 5.1-Nano  
Apache 2.2.13
MySQL 5.1.38-community
PHP 5.3.0
phpMyAdmin 3.2.2-rc1
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
  Uniform Server 5.2-Nano  
Apache 2.2.14
MySQL 5.1.39-community
PHP 5.2.11
phpMyAdmin 3.2.2
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
 
  Uniform Server 5.3-Nano  
Apache 2.2.14
MySQL 5.1.39-community
PHP 5.3.0
phpMyAdmin 3.2.2
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
 
  Uniform Server 5.4-Nano  
Apache 2.2.14
MySQL 5.1.41-community
PHP 5.3.1
phpMyAdmin 3.2.3
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
UTF-8 Compatible
  Uniform Server 5.5-Nano  
Apache 2.2.14
MySQL 5.1.41-community
PHP 5.3.1
phpMyAdmin 3.2.4
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098l)
UTF-8 Compatible

 

 

  Uniform Server 5.5a-Nano  
Apache 2.2.14
MySQL 5.1.41-community
PHP 5.2.12
phpMyAdmin 3.2.4
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 0.9.6-rc1
SSL pre-installed (ssl_098k)
UTF-8 Compatible
  Uniform Server 5.6a-Nano  
Apache 2.2.14
MySQL 5.1.44-community
PHP 5.2.13
phpMyAdmin 3.2.5
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6b-Nano  
Apache 2.2.15
MySQL 5.1.44-community
PHP 5.2.13
phpMyAdmin 3.3.0
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6-Nano  
Apache 2.2.15
MySQL 5.1.44-community
PHP 5.3.2
phpMyAdmin 3.3.0
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6.1-Nano  
Apache 2.2.15
MySQL 5.1.45-community
PHP 5.3.2
phpMyAdmin 3.3.1
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6.3-Nano  
Apache 2.2.15
MySQL 5.1.45-community
PHP 5.3.2
phpMyAdmin 3.3.2
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6.4-Nano  
Apache 2.2.15
MySQL 5.1.46-community
PHP 5.3.2
phpMyAdmin 3.3.2
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible
  Uniform Server 5.6.5-Nano  
Apache 2.2.15
MySQL 5.1.46-community
PHP 5.3.2
phpMyAdmin 3.3.3
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-dev
SSL pre-installed (ssl_098l)
UTF-8 Compatible

Note: 5.6.2-Nano was a security update (bug fix)


V5-Nano Folder Structure Overview

The following provides a quick overview of 5-Nano's main server areas.

A) Top-Level
Server control:

  • Start.exe - Starts UniTray
  • help.bat - Unitray menu information

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

  • Perl Scripts - .pl

D) Secure Web Root Folder

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

F) Server programs

  • Destination for Perl plugins
    Either mini or full Perl

H) Web Root Folder

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

B) Alternative control:

  • Batch file start/stop service or program
  • Batch file UniTray start/stop
  • Start_2.exe - Start UniTray without pop-up

E) UniServer control scripts

  • key_cert_gen - Scripts to generate new server certificate and key
  • main - Scripts to run servers either as a standard program or service.
  • move_servers - Script to change server ports rename executables and service
  • perl - Scripts to change shebang and convert to Unix format
  • php_dev_production - Switch php.ini to either development or production
  • restore_mysql_password - Script to restore MySQL back to root
  • tray_menu - UniTray program, configuration file and tray images

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.


UniTray - Quick start servers

At first sight both menus give the impression Uniform Server is complex to run. However majority of menu items are for connivance allowing you to select and run additional features should you want to use them.

The first two menu items control both servers; that’s all you need to start and stop the servers.

The third menu item allowing you to control individual servers offers finer control.

LEFT MENU
Run servers as a standard program
COMMENT
Quick Start guide
RIGHT MENU
Run servers as a service

Run Servers as standard Program

  • Start UniTray: In folder UniServer double click on Start.exe tray icon created.
  • L3) Check servers are runnable: Left or Right click tray icon > click Server Status.
    All ports must be free to use.
  • L1) Start Uniform Server. Left click tray icon > click Start UniServer
  • L2) Stop Uniform Server. Left click tray icon > click Stop UniServer
  • L4) Close UniTray. Left or Right click tray icon > click Exit


Run Servers as a Service

  • Start UniTray: In folder UniServer double click on Start.exe tray icon created.
  • R3) Check servers are runnable: Left or Right click tray icon > click Server Status.
    All ports must be free to use.
  • R1) Start Uniform Server. Right click tray icon > click Install and Run all Services
  • R2) Stop Uniform Server. Right click tray icon > click Stop and Remove All Services
  • R4) Close UniTray. Left or Right click tray icon > click Exit

Note: Double click on tray icon to open Apanel in default browser.

Server Status - Diagnostics

Server Status provides a mixed bag of information:

  • Before starting servers checks to see if ports are in use which would prevent the servers starting
  • Displays what ports servers are configured for.
  • Displays what servers are running and in what mode (standard program or service)
  • With servers running displays IP address as seen from the Internet.
  • Checks servers are accessible from the Internet, uses the above IP address


Apanel

Apanel allows you to fine-tune the servers hence reduces the need to go in and edit the server configuration files manually. It has been enhanced with the folowing additional features:

Apanel new features:

  • Auto tracking of user selected server control options.

Note:

The MySQL password should always be set using Apanel. Setting it with phpMyAdmin results in MySQL lockout. If this happens, you can use the MySQL password recovery feature to resolve the problem.

Alternative control

Esoteric batch files no longer exist; the ones you will find in folder alternative control have been reduced to a bare minimum. These now call PHP scripts that perform the real work.


Running multi-Servers on same PC

Uniform Server's architecture has always supported running multi-servers; 5-Nano makes this task easier.

Although the Mona series had this capability it was difficult to distinguish which one was running. This has been addressed by using numbered tray icons for each server (UniTray) started.


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 are catered for by portable-cron this requires three additional files.

Package   Installed Size  
Drupal 6.15   45.7 MB - Run from a USB memory stick - Requires Portable cron
Joomla 1.5.15   64.5 MB - Run from a USB memory stick
MediaWiki 1.15.1   80.6 MB - Run from a USB memory stick (Do not run on PHP 5.3.1)
Moodle Moodle 1.9.7+   104 MB - Run from a USB memory stick - Requires Portable cron
WordPress 2.9   47.7 MB - Run from a USB memory stick
Xoops 2.4.2   61.0 MB - Run from a USB memory stick

Note: For each of the above packages there is a corresponding plugin downloadable from SourceForge.
These plugins are specific to Uniform Server 5.5-Nano including 5.5a-Nano and will not run on other versions.
Download details are provided on each page.


Plugins

The following lists plugins avaiable for Uniform Server Nano series:

Plugin Name Description Compatability
V5.0_mini_perl Installs Perl core program with a collection of commonly used Perl modules. Plugin Options:
  • V5.0_mini_perl - ActivePerl 5.10.1.1005
  • V5.1_mini_perl - ActivePerl 5.10.1.1006
  • V5.2_mini_perl - ActivePerl 5.10.1.1007
All
V5.0_full_perl Installs Perl core program and full set of Perl modules. Plugin Options:
  • V5.0_full_perl - ActivePerl 5.10.1.1005
  • V5.1_full_perl - ActivePerl 5.10.1.1006
  • V5.2_full_perl - ActivePerl 5.10.1.1007
All
V5.0_AWStats_2.0 AWStats is a free powerful and fully featured tool that displays advanced server statistics graphically.

This plugin requires PERL to be installed use either Mini or Full Perl plugins see above..

All
V5.0_AWStats_1.0 AWStats is a free powerful and fully featured tool that displays advanced server statistics graphically.

For completeness this plugin includes V5.0_mini_perl.

All
Webalizer English Webalizer is a fast application that analyzes server statistics from Apache’s access log file.

Analysis results are converted into standard WebPages with data presented in both text and graphical format.

All
Webalizer Multi Languages Webalizer is a fast application that analyzes server statistics from Apache’s access log file.

Analysis results are converted into standard WebPages with data presented in both text and graphical format.

All
USV5_FileZillaFTPd Adds FileZilla Server to 5-Nano series. Runs as a standard program or as a service. Core portable-FileFillaFTPd can be used independently of UniServer. V5.0-V5.4
V55_FileZillaFTPd Adds FileZilla Server to 5.5-Nano. Runs as a standard program or as a service. Core portable-FileFillaFTPd can be used independently of UniServer. Includes language files for UniTray V5.5 V5.5a V5.6 V5.6b
V55_UniServer_CA This plugin is slightly unusual it starts off as a Uniform Server plugin where you can install a CA and server certificate including a server key to the Apache server. After completion the entire plugin is transferred to a USB memory stick enhancing security by removing the CA’s key from your PC V5.5 V5.5a V5.6 V5.6b
V55UniServer_USB This plugin integrates portable Firefox into Uniform Server 5.5-Nano’s architecture. This allows Uniform Server to be run independently of the host PC. To achieve this it uses Portable Firefox and a PAC file. (PAC file prevents issues with Vista and W7 "hosts" file). V5.5 V5.5a
V56UniServer_USB This plugin integrates portable Firefox into Uniform Server 5.6-Nano’s architecture. This allows Uniform Server to be run independently of the host PC. To achieve this it uses Portable Firefox and a PAC file. (PAC file prevents issues with Vista and W7 "hosts" file). V5.6 V5.6b
V56_ZCON This plugin is an alternative controller for Uniform Server 5.6-Nano. It incorporates features from UniTray and Apanel with a user interface similar to UniController. V5.6 V5.6b
V5.0_Zend_Optimizer

V5.1_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 Nano. Tobe released

?


Security related information

The following topics and tutorials show how to harness the power of SSL built into 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

DtDNS Introduction

- Shows how to obtain an account at DtDNS for users with a dynamic IP address

PHP CLI Introduction

- Short code snippets for running PHP CLI scripts.

PHP cURL Introduction

- Short code snippets as used in Server Status diagnostics and DtDNS updater PHP CLI

USB self-contained server

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


Summary

The Uniform Server 5-Nano is a significant upgrade although the main architecture has changed along with the main components and many new features added control remains simple. Just a few mouse clicks will have the servers running either as a standard program or service. Scratch the surface a little and you will find a wealth of flexibility allowing you to tailored the servers. Dig deeper and you have access to a set of common PHP function allowing you to redesign server control should you wish.

How to Install and run 5-Nano