Coral: start quick start

From The Uniform Server Wiki
Revision as of 00:25, 16 November 2011 by BobS (talk | contribs) (Added VC9 Libraries reference)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Quick Start Guide

The Uniform Server’s default configuration is set to allow only local access; users on your network or the Internet cannot access your server. This allows you to develop and view your website locally in a secure environment.

This guide shows you how to run the servers as standard programs. When run as standard programs, nothing is installed to the Windows registry. The servers are therefore fully portable.

UniServer 8-Coral
» Quick Start
  Db Backup
  Main Index

Start the Servers

For reference, The Uniform Server's folder structure is shown on the right.

  • A) Navigate to the UniServer folder
  • Locate the file Start_as_program.exe
  • Double click. This starts the server menu
  • Click No to pop-ups
    (But see Set New MySQL root password following).

Coral start start as program.gif

  • From Server Menu
  • Click Start Both button (A3). Starts servers
  • If challenged by your firewall, allow access
  • A browser opens, displaying splash page.
  • Buttons/Indicators change state

Coral start standard program menu.gif

Coral start folders.gif

Note: There are various start-up conditions. If you receive a message unable to connect and are provided an option from your browser to try again, wait until all disk activity completes and click the "try again" button. Alternatively, wait a reasonable time to view the initial splash page, and enter the following into your browser: http://localhost/us_splash/index.php

If you do not have the VC9 library, when you attempt to start the servers, you will get a runtime error popup. See VC9 Libraries to resolve this.


Set New MySQL root password

Although you can skip setting a new MySQL root password, it is highly
recommended that you set this password at the first opportunity.
Well! This is the first opportunity; click Yes at the pop-up.

  • The Set New MySQL Password menu opens (See image on right)
  • A) Enter a new password
  • B) Click the Change Password button.

Coral mysql change root password.gif


Root folder www - Test

The root folder www contains a very simple web-site consisting of a single page named index.php.

Clicking menu button View www displays this page confirming that Apache is serving pages from this folder.


Add your Website or test pages

Copy your Website or test pages into the root folder www.

Before doing this you can delete the content of this root folder, with the exception of files .htaccess and favicon.ico.

  • .htaccess - This file is part of the server security and should not be deleted.
  • favicon.ico - This is a small image file displayed in a browser next to a Web page name. You can replace this with your own file. The name is important and should always be favicon.ico


View pages

The default server name is localhost. Use this to access pages as follows:

Index Pages

To access index pages (such as index.htm, index.html, index.php) type the following into your browser.


Specific pages

Display a specific page by appending its name to the server name. For example, if your test page is named test.php, then type the following into your browser:


The Apache server automatically searches for index pages and displays the first one it finds. If it cannot find an index page, a directory listing is displayed instead.


Stop the Servers

Note: Server control buttons toggle between start and stop.

  • From the Server Menu
  • A3) Click Stop Both button. Stops servers
  • Buttons/Indicators change state
  • You can now close the server menu.

Coral stop standard program menu.gif


Where to go next

This quick guide shows how to start and stop the servers and display a test page. You can copy an entire web-site into the root folder www and it will then be served by Apache.

Quick Start – More Detail - An expanded quick guide providing more detail