Coral: start run as service

From The Uniform Server Wiki
Revision as of 13:28, 12 November 2011 by Ric (talk | contribs) (Created page with "<div id="top" style="margin:0;padding: 0px 0px 0px 5px; color: #000; background-color: #FFFFEB; border: 1px solid darkslateblue;"><span id="top" style="margin:0;padding: 0px;font...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Run as a service

Folder UniServer contains a file Start_as_service.exe which opens the server control menu UniController. This menu allows you to install and run The Uniform Server as a service.

UniServer 8-Coral
  Home
» Quick Start
  General
  Apache
  MySQL
  PHP
  MSMTP
  CRON
  DtDNS
  Db Backup
  Perl
  Main Index

UniController Menu

When using this menu, you install the servers as services; it adds data to your operating system’s registry. The dvantages of running as a service, when you restart your PC, servers’ will automatically re-start. You can install and run services from a USB memory stick however, you must remember to stop and uninstall services before removing your USB stick.

NOTE: For Vista and Win7, admin privileges are required. To run as administrator, right click on Start_as_service.exe and click Properties and then choose run as administrator.


  • Install and Run services - Click button Install/Run Apache and MySQL service (A3). This installs and runs both servers. If challenged by your firewall allow access. Your browser will automatically start and display the server splash test page. Buttons A1, A2 and A3 toggle to display uninstall. Buttons A4 and A5 are enabled and display stop service. Indicators change from red to green when services have been installed and are running.


  • Stop and Uninstall services - Click button Stop/Uninstall Apache and MySQL service (A3). This stops and uninstalls both servers. Server menu returns to initial state as shown at right.


  • Buttons (A1,A4) and (A2,A5) provide independent control of Apache and MySQL servers respectively.

Coral run as service menu.gif

Top

Interlinked server control

The server control menus are interlinked; this prevents you running both menus at the same time. If you have a single server Apache or MySQL running as a service and close the “run as a service” menu and then open the “run as a program menu”, you will find its corresponding server buttons are greyed out.

Similarly the reverse is true. A single server Apache or MySQL running as a program will have its corresponding server buttons greyed out in the “run as a service menu”

This interlinking applies when running multi-servers; the first server started (Apache or MySQL) will have its corresponding buttons greyed out in all other server menus. This means you can have a single instance of the MySQL server running and have several different Apache servers running, all accessing the one MySQL server.

Top

Where to next

Run as a program - UniController menu run server as a program

Server Utilities - UniController menu Server Utilities