5.3-Nano: Introduction: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
m (Text replace - "projects/uniformserver" to "projects/miniserver")
 
(5 intermediate revisions by 3 users not shown)
Line 429: Line 429:
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
|- style="background:#e8e8e8;"
!   ''Uniform Server 5.6.8-Nano''  
!   ''Uniform Server 5.6.9-Nano''  
|- style="background:#f5f5f5;"
|- style="background:#f5f5f5;"
| Apache 2.2.16  
| Apache 2.2.16  
Line 438: Line 438:
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.5
|phpMyAdmin  3.3.5
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-snv425
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098o)
|-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.15-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.17
|- style="background:#f5f5f5;"
|MySQL 5.1.52-community
|-style="background:#f5f5f5;"
|PHP 5.3.3
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.8
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-snv425
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098o)
|-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.16-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.17
|- style="background:#f5f5f5;"
|MySQL 5.1.53-community
|-style="background:#f5f5f5;"
|PHP 5.3.4
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.8.1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-snv425
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098o)
|-style="background:#f5f5f5;"
|UTF-8 Compatible
|}
</td>
</tr>
<tr>
<td>
{| cellpadding="4" cellspacing="1" width="100%"  style="background:#000000;"
|- style="background:#e8e8e8;"
! &nbsp;&nbsp;''Uniform Server 5.7.0-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.17
|- style="background:#f5f5f5;"
|MySQL 5.5.8-community
|-style="background:#f5f5f5;"
|PHP 5.3.4
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.8.1
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|-style="background:#f5f5f5;"
|eAccelerator 1.0-snv425
|-style="background:#f5f5f5;"
|SSL pre-installed (ssl_098o)
|-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.7.1-Nano''&nbsp;&nbsp;
|- style="background:#f5f5f5;"
| Apache 2.2.17
|- style="background:#f5f5f5;"
|MySQL 5.5.8-community
|-style="background:#f5f5f5;"
|PHP 5.3.5
|-style="background:#f5f5f5;"
|phpMyAdmin  3.3.9
|-style="background:#f5f5f5;"
|-style="background:#f5f5f5;"
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006
|ActivePerl 5,10,0,1005<br />ActivePerl 5,10,0,1006

Latest revision as of 16:09, 17 October 2012

 

Overview

This is a supplementary section to the 5-Nano series. It contains new material corresponding to parts that have been redesigned, updated or are new additions.

Various plugins are available for 5-Nano series. Check the following page for version compatibility

Top

Summary of new features

  • Updated integrated portable Cron
  • Updated integrated DtDNS IP Updater
  • New integrated Database Backup
  • New integrated msmtp an SMTP client

Top

Uniform Server 5-Nano releases

For reference, here are the current Uniform Server 5-Nano releases and their main components.

  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
  Uniform Server 5.6.6-Nano  
Apache 2.2.15
MySQL 5.1.47-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
  Uniform Server 5.6.7-Nano  
Apache 2.2.15
MySQL 5.1.48-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
  Uniform Server 5.6.8-Nano  
Apache 2.2.16
MySQL 5.1.49-community
PHP 5.3.3
phpMyAdmin 3.3.4
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible
  Uniform Server 5.6.9-Nano  
Apache 2.2.16
MySQL 5.1.49-community
PHP 5.3.3
phpMyAdmin 3.3.5
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible
  Uniform Server 5.6.15-Nano  
Apache 2.2.17
MySQL 5.1.52-community
PHP 5.3.3
phpMyAdmin 3.3.8
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible
  Uniform Server 5.6.16-Nano  
Apache 2.2.17
MySQL 5.1.53-community
PHP 5.3.4
phpMyAdmin 3.3.8.1
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible
  Uniform Server 5.7.0-Nano  
Apache 2.2.17
MySQL 5.5.8-community
PHP 5.3.4
phpMyAdmin 3.3.8.1
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible
  Uniform Server 5.7.1-Nano  
Apache 2.2.17
MySQL 5.5.8-community
PHP 5.3.5
phpMyAdmin 3.3.9
ActivePerl 5,10,0,1005
ActivePerl 5,10,0,1006
eAccelerator 1.0-snv425
SSL pre-installed (ssl_098o)
UTF-8 Compatible

 

 

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

Top

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

Top

Download

Download Uniform Server 5.*-Nano from Sourceforge and choose either UniServer5_*.exe or UniServer5_*.zip

There are currently seven versions, with the main difference being the version of PHP:

  • UniServer5_0.exe or UniServer5_0.zip - PHP 5.2.10
  • UniServer5_1.exe or UniServer5_1.zip - PHP 5.3.0
  • UniServer5_2.exe or UniServer5_2.zip - PHP 5.2.11
  • UniServer5_3.exe or UniServer5_3.zip - PHP 5.3.0
  • UniServer5_4.exe or UniServer5_4.zip - PHP 5.3.1
  • UniServer5_5.exe or UniServer5_5.zip - PHP 5.3.1 - UniTray redesigned - Language packs updated
  • UniServer5_6.exe or UniServer5_6.zip - PHP 5.3.2

Subnumber versions of 5.6 (5.6.1-5.6.7) are Top

Quick Start

Install and run:

  1. Save UniServer5_*.exe to any folder
  2. Double click UniServer5_*.exe which is a self-extracting archive and unpacks to the current folder (where you saved the file).
    Note: The exe does not install anything to the registry or other areas of a PC. It just creates folder UniServer and extracts all subfolders and files to this folder.
  3. Navigate to folder UniServer A)
  4. Run (double click on) Start.exe which starts Unitray.
  5. Left click on the tray icon, and click on Start UniServer (top menu)
  6. Starts both Apache and MySQL servers
  7. If not already running, your browser will automatically start and display Welcome page
  8. Stop the servers. Left click on the tray icon, and click on Stop UniServer (second menu item)

Note 1:

When the servers are run or stopped you will be challenged by your firewall. Always ALLOW ACCESS to the Internet, even when running the servers locally for development.

Note 2:

The Web root folder H) UniServer\www contains example pages (intro page). With the exception of file .htaccess, delete its content and copy your web site (folders and pages) to this folder. To view your web site, run the servers and type http://localhost into your browser.

Note 3:

The server is fully portable. For example, copy folder UniServer A) and all its content to a USB stick and run the servers from there.

Note 4:

Run as a service: At step 5, right click and use the top menu to install and run as a service. Use the second menu item to stop and uninstall services.

Top

UniTray - Quick start servers

At first sight both menus give the impression Uniform Server is complex to run. However the majority of menu items are for convenience, 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 if servers are accessible from the Internet, using the above IP address

Top

Design Notes

Several scripts have been redesigned. The reason for this was to separate out configuration from the actual script, making it a little more user friendly.

None of the scripts are written in stone, hence you may change them to suite your own requirements. To point you in the right direction I have included some design notes:

Portable Cron --- What makes Cron tick (pun intended). Emphasis of the design was for portable use (USB memory stick)
My Ini Files --- Passing .ini files is easy, however to update them requires a small additional function.

Top

Summary

Changes are transparent, however some configuration is required.

Next page covers Cron configuration

Top