5.3-Nano: Introduction: Difference between revisions
m (Minor grammar and spelling changes) |
|||
Line 3: | Line 3: | ||
== Overview == | == Overview == | ||
This is a supplementary section to the 5-Nano series | 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. | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 151: | Line 151: | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
== V5. | == 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 V5.*-Nano's main server areas. | ||
{| | {| | ||
Line 200: | Line 200: | ||
Download Uniform Server 5.*-Nano from [https://sourceforge.net/projects/miniserver/files/ Sourceforge] choose either '''UniServer5_*.exe''' or '''UniServer5_*.zip''' | Download Uniform Server 5.*-Nano from [https://sourceforge.net/projects/miniserver/files/ Sourceforge] choose either '''UniServer5_*.exe''' or '''UniServer5_*.zip''' | ||
There are currently | There are currently five versions, with the main difference being the version of PHP: | ||
* UniServer5_0.exe or UniServer5_0.zip - PHP 5.2.10 | * UniServer5_0.exe or UniServer5_0.zip - PHP 5.2.10 | ||
* UniServer5_1.exe or UniServer5_1.zip - PHP 5.3.0 | * UniServer5_1.exe or UniServer5_1.zip - PHP 5.3.0 | ||
* UniServer5_2.exe or UniServer5_2.zip - PHP 5.2.11 | * UniServer5_2.exe or UniServer5_2.zip - PHP 5.2.11 | ||
* UniServer5_3.exe or UniServer5_3.zip - PHP 5.3.0 | * UniServer5_3.exe or UniServer5_3.zip - PHP 5.3.0 | ||
* UniServer5_4.exe or UniServer5_4.zip - PHP 5.3.1 | |||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 214: | Line 215: | ||
# Save '''UniServer5_*.exe''' to any folder | # Save '''UniServer5_*.exe''' to any folder | ||
# Double click '''UniServer5_*.exe''' | # Double click '''UniServer5_*.exe''' which is a self-extracting archive and unpacks to the current folder (where you saved the file).<br />''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. | ||
# Navigate to folder '''UniServer''' '''A)''' | # Navigate to folder '''UniServer''' '''A)''' | ||
# Run ( | # Run (double click on) '''Start.exe''' which starts Unitray. | ||
# Left click on the tray icon, and click on '''Start UniServer''' (top menu) | # Left click on the tray icon, and click on '''Start UniServer''' (top menu) | ||
# Starts both Apache and MySQL servers | # Starts both Apache and MySQL servers | ||
# If not already running your browser will automatically start and display '''Intro page''' | # If not already running, your browser will automatically start and display '''Intro page''' | ||
# Stop the servers. Left click on the tray icon, and click on '''Stop UniServer''' (second menu item) | # Stop the servers. Left click on the tray icon, and click on '''Stop UniServer''' (second menu item) | ||
'''''Note 1'':''' | '''''Note 1'':''' | ||
When the servers are run or stopped you will be challenged by your firewall | 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'':''' | '''''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 '''<nowiki>http://localhost</nowiki>''' into your browser. | 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 '''<nowiki>http://localhost</nowiki>''' into your browser. | ||
'''''Note 3'':''' | '''''Note 3'':''' | ||
The server is fully portable | 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'':''' | '''''Note 4'':''' | ||
Run as a service | 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. | ||
| | | | ||
[[Image:Structure_nano_1.gif]] | [[Image:Structure_nano_1.gif]] | ||
Line 244: | Line 245: | ||
== UniTray - Quick start servers == | == 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 | 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 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. | The third menu item, allowing you to control individual servers, offers finer control. | ||
{|width="100%" | {|width="100%" | ||
|- valign="top" align="center" | |- valign="top" align="center" | ||
Line 280: | Line 281: | ||
=== Server Status - ''Diagnostics'' === | === Server Status - ''Diagnostics'' === | ||
Server Status provides a mixed bag of information: | 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 | * 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 ports servers are configured for. | ||
* Displays what servers are running and in what mode (standard program or service) | * Displays what servers are running and in what mode (standard program or service) | ||
* With servers running displays IP address as seen from the Internet. | * With servers running, displays IP address as seen from the Internet. | ||
* Checks servers are accessible from the Internet, | * Checks if servers are accessible from the Internet, using the above IP address | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
== Design Notes == | == Design Notes == | ||
Several scripts have been redesigned reason for this was to separate out configuration from the actual script making it a little more user friendly. | 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 change them to suite | 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: | ||
{| | {| | ||
|- | |- | ||
|[[Cron Design: Introduction | '''Portable Cron''']] ||--- What makes Cron tick pun intended. Emphasis of the design was for portable use (USB memory stick) | |[[Cron Design: Introduction | '''Portable Cron''']] ||--- What makes Cron tick (pun intended). Emphasis of the design was for portable use (USB memory stick) | ||
|- | |- | ||
|[[My Ini Design: Introduction | '''My Ini Files''']] ||--- Passing ini files | |[[My Ini Design: Introduction | '''My Ini Files''']] ||--- Passing .ini files is easy, however to update them requires a small additional function. | ||
|} | |} | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
== Summary == | == Summary == | ||
Changes are transparent however some configuration is required. | Changes are transparent, however some configuration is required. | ||
[[5.3-Nano: Portable Cron | '''Next page''']] covers Cron configuration | [[5.3-Nano: Portable Cron | '''Next page''']] covers Cron configuration |
Revision as of 18:38, 23 November 2009
5.x-Nano: Introduction | Cron | DtDNS | Database Backup | msmtp
|
|
Uniform Server 5.2 and 5.3 -Nano
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.
Summary of new features
|
Uniform Server 5-Nano releases
For reference, I have shown the current Uniform Server 5-Nano releases and their main components.
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
V5.*-Nano Folder Structure Overview
The following provides a quick overview of V5.*-Nano's main server areas.
A) Top-Level
C) CGI Scripts
D) Secure Web Root Folder
F) Server programs
H) Web Root Folder
|
B) Alternative control:
E) UniServer control scripts
G) Local Folder
|
Download
Download Uniform Server 5.*-Nano from Sourceforge choose either UniServer5_*.exe or UniServer5_*.zip
There are currently five 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
Quick Start
Install and run:
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. |
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
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
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. |
Summary
Changes are transparent, however some configuration is required.
Next page covers Cron configuration