5.0-Nano: Introduction: Difference between revisions

Punctuation and grammatical changes; some clarification and additional explanation.
(Punctuation and grammatical changes; some clarification and additional explanation.)
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 48:
|}
|}


'''''[[#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 624: Line 618:
Note: 5.6.2-Nano was a security update (bug fix)
Note: 5.6.2-Nano was a security update (bug fix)


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


== V5.0-Nano Folder Structure Overview ==
== V5-Nano Folder Structure Overview ==
The following provides a quick overview of V5.*-Nano's main server areas.
The following provides a quick overview of 5-Nano's main server areas.
{|
{|
|-
|-
Line 670: Line 663:
|}
|}


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


== UniTray - Quick start servers ==
== UniTray - Quick start servers ==
Line 706: Line 698:


|}
|}
'''''[[#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 715: Line 707:
* 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 730: Line 720:
'''''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 771: Line 757:
'''''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 853: Line 838:
|?
|?
|}
|}
'''''[[#top | Top]]'''''
 


== Security related information ==
== Security related information ==
Line 865: Line 850:
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 874: Line 859:
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 880: Line 865:
|[[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 905: Line 890:
- 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.
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.