https://wiki.uniformserver.com/index.php?title=Coral:_start_quick_start_detail&feed=atom&action=historyCoral: start quick start detail - Revision history2024-03-28T14:59:43ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.uniformserver.com/index.php?title=Coral:_start_quick_start_detail&diff=6161&oldid=prevRic: 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..."2011-11-12T13:26:27Z<p>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..."</p>
<p><b>New page</b></p><div><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-size:12px">'''''Coral'' :'''&nbsp; [[Coral: start quick start|Quick Start]] | [[Coral: start quick start detail|Quick Start - More Detail]] | [[Coral: start user configuration|User Configuration]] | [[Coral: start run as program|Run as a program]] | [[Coral: start run as service|Run as a service]] | [[Coral: start server utilities|Server Utilities]] | [[Coral: start multi servers|Multi-Servers]]</span></div><br />
<br />
{|style="margin-top:5px;"<br />
|-valign="top"<br />
|<br />
<span style="margin-bottom:5px;font-size:25px;color: #31799F;">Quick Start Guide - More Detail</span><br />
<br />
This guide adds more detail to the basic [[Coral: start quick start|Quick Start Guide]]. It covers installation and how to run The Uniform Server as a program or service.<br />
<br />
__TOC__<br />
<br />
|<br />
{| cellpadding="0" cellspacing="0" style="margin-left:6px;margin-bottom:5px;padding-left:6px;padding-right:6px;font-size:11px;background-color: #FFFFEB;border: 1px solid darkslateblue;"<br />
|-<br />
|colspan="2" style="font-weight:bold;"| UniServer&nbsp;8-Coral<br />
|-<br />
|&nbsp;||[[Coral: Introduction|Home]]<br />
|-<br />
|<span style="font-size: 14px;">ยป</span>||[[Coral: start quick start|Quick Start]]<br />
|-<br />
|&nbsp;||[[Coral: general intro|General]]<br />
|-<br />
|&nbsp;||[[Coral: apache intro|Apache]]<br />
|-<br />
|&nbsp;||[[Coral: mysql intro|MySQL]]<br />
|-<br />
|&nbsp;||[[Coral: php intro|PHP]]<br />
|-<br />
|&nbsp;||[[Coral: msmtp intro|MSMTP]]<br />
|-<br />
|&nbsp;||[[Coral: cron intro|CRON]]<br />
|-<br />
|&nbsp;||[[Coral: dtdns intro|DtDNS]]<br />
|-<br />
|&nbsp;||[[Coral: dbbackup intro|Db Backup]]<br />
|-<br />
|&nbsp;||[[Coral: perl intro|Perl]]<br />
|-<br />
|&nbsp;||[[Coral: index main|Main Index]]<br />
|}<br />
|}<br />
==Installation==<br />
The Unform Server does not have a typical program installation. Instead, just execute the downloaded file (Coral_x_x_x.exe). The installation extraction defaults to creating "C:\UniServer", with the folder structure as shown on the right. Once extracted, the servers are ready to run.<br />
{|<br />
|-valign="top"<br />
|<br />
While it may seem that by this point you have successfully completed the installation, there is one aspect that needs to be validated.<br />
<br />
'''Server Paths'''<br />
<br />
You can install The Uniform Server in nearly any location, with the exception that the '''''path to folder UniServer must not contain spaces'''''. Do not use "C:\Program Files", for example (which has other problems as well, such as restricted permissions and system restore inconsistencies). We recommend installing to the drive root, such as "C:\" or "D:\" for simplicity, but other locations, such as "C:\test1\appserver" work just as well.<br />
<br />
<br />
'''Note:''' The space character restriction is generic and applies to other WAMP stacks as well. Many applications that will be hosted on the server do not tolerate spaces in paths. The system restore issue applies mainly to individual component installs.<br />
<br />
If the current installation is on a faulty path, the situation can eaily be resolved by just moving the UniServer directory to a proper location. You do not have to delete the directory and reinstall. For example, just rename "D:\bad path\UniServer" to "D:\good_loc\UniServer".<br />
|<br />
[[Image:Coral_start_folders.gif]]<br />
|}<br />
'''''[[#top | Top]]'''''<br />
==Installing your Website or Test pages==<br />
Web pages are served from folder UniServer\'''www''' (B), which is commonly referred to as the server root folder. Simply copy your Website into the root folder www.<br />
<br />
''Note 1'': Unix installations use a root folder named''' htdocs'''. When using an application installation guide that refers to htdocs, use folder www instead.<br /><br />
''Note 2'': The file structure is not static. For example, running Vhost or database backup creates the new folders UniServer\vhosts or UniServer\db_backup respectively.<br />
<br />
<br />
The root folder '''www''' already contains a very simple web-site consisting of a single page named index.php. Its purpose is to provide a test page, allowing you to confirm that the server is functioning properly.<br />
<br />
<br />
Before installing your Website, you can delete the index.php file. Don't delete the .htaccess and favicon.ico files. They have the following purposes:<br />
<br />
* '''.htaccess''' - This file is part of the server security and should not be deleted.<br />
* '''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, but use the name '''favicon.ico''' so browsers will display it properly.<br />
<br />
'''Note''': Having a favicon image is not a requirement, but modern browsers attempt to load this image by default. If your server does not contain one, an error is logged in Apache's log file.<br />
<br />
'''''[[#top | Top]]'''''<br />
==Server Control==<br />
The UniServer folder contains two files '''Start_as_program.exe''' and '''Start_as_service.exe''' which open The Uniform Server's control menu for running the servers either as a standard program or as a service respectively. This control menu is referred to as UniController. <br />
<br />
===Run as Program===<br />
{|<br />
|-valign="top"<br />
|<br />
*'''Start_as_program.exe''' Opens a menu that runs the servers as a standard program. When using this menu nothing is installed to your operating system's registry. This is ideal for a development server, especially when running from a USB memory stick, since you do not have to perform anything special to stop or remove the servers.<br />
|<br />
[[Image:Coral_start_start_as_program.gif]]<br />
|-valign="top"<br />
|<br />
* '''Run servers''' - Click the button "Start Both" (A3). This starts both servers. Some pop-ups are initially displayed; you may click "no" to these (but see [[#Set New MySQL root password|Set New MySQL]] root password which follows). If challenged by your firewall, allow access for both Apache and MySQL. Your browser will automatically start and display the server splash page. Be aware that this is '''not''' the index.php file in wwww.<br />
* '''Your Web site''' - If you installed a Website in root folder www containing either an index.html or index.php page, clicking View www will display your page instead of the test page.<br />
<br />
|<br />
[[Image:Coral_start_standard_program_menu.gif]]<br />
|<br />
|}<br />
<br />
===Run as Service===<br />
{|<br />
|-valign="top"<br />
|<br />
* '''Start_as_service.exe''' Opens a menu that runs the servers as a service. The purpose of running them as a service is that when you restart your PC, the servers will automatically re-start. Using this menu you add the servers' program information to your operating system's registry. Although you can install and run services from a USB memory stick, you must remember to stop and uninstall the services before removing your USB stick.<br />
<br />
'''NOTE:''' For Windows 7 and Vista, you must have admin privileges.<br />
|<br />
[[Image:Coral_start_start_as_service.gif]]<br />
|-<br />
|<br />
* '''Install and Run services''' - Click the button "Install/Run Apache and MySQL service" (A3). This installs and runs both servers. Some pop-ups are initially displayed; click no to all pop-ups (but see [[#Set New MySQL root password|Set New MySQL root password]] following). If challenged by your firewall allow access for both Apache and MySQL. Your browser will automatically start and display the server splash page.<br />
* '''Your Web site''' - If you installed a Website in root folder www containing either an index.html or index.php page, clicking '''View www''' will display your page instead of the test page.<br />
|<br />
[[Image:Coral_start_run_as_service_menu.gif]]<br />
|}<br />
'''''[[#top | Top]]'''''<br />
==Server Utilities==<br />
<br />
Although there are a bewildering number of menu items. Running the servers either as a standard program or as a service requies just a single button click as explained above. UniController has several additional menu items, providing independent control of many server features and functions.<br />
<br />
{|<br />
|-valign="top"<br />
|<br />
'''Server utilities''':<br />
<br />
These menu items provide useful features, such as single button access to PHPMyAdmin and server configuration.<br />
<br />
* '''B7) View www''' - Displays your website in the default browser. It's equivalent to typing the following into a browser: '''<nowiki>http://localhost/</nowiki>'''<br />
<br />
[[Coral: start server utilities|Server utilities - detailed]]<br />
|<br />
[[Image:Coral_start_menu_options.gif]]<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
==Important - Security Feature==<br />
The servers are safe to use even when connected to the Internet, since they are locked down, allowing only local access. In other words, the servers are accessible only to the PC on which they are running. Internet and Intranet access are denied.<br />
<br />
In order to allow access to your server by other users (Internet or Intranet), you must manually enable the required functions, thereby putting your servers on-line. <br />
<br />
'''''[[#top | Top]]'''''<br />
==Set New MySQL root password==<br />
{|<br />
|-valign="top"<br />
|<br />
Although you can skip setting a new MySQL root password it is recommended you set this password at the first opportunity.<br /><br />
Well! This is the first opportunity; click '''Yes''' at the pop-up.<br />
<br />
* Set New MySQL Password menu opens (See image on right)<br />
* '''A)''' Enter a new password<br />
* '''B)''' Click the '''Change Password''' button.<br />
* '''Note:''' You can re-open this menu from UniController as follows:<br />
<span style="padding:6px;background-color:#99FFFF"> Server Configuration > MySQL > Change Password </span><br />
|<br />
[[Image:Coral_mysql_change_root_password.gif]]<br />
|}<br />
'''''[[#top | Top]]'''''<br />
==How to put the servers on-line==<br />
Putting your servers on-line takes just a few clicks as follows:<br />
<br />
{|<br />
|-valign="top"<br />
|<br />
* On the server menu, click "'''Server Configuration'''" button (B4 in Server Utilities above)<br />
* In the new window click dropdown menu "'''General'''"<br />
* From the dropdown click "'''Root www - Change password and access'''"<br />
* In the new window click "'''Local, Intranet and Internet Access'''" (J) see image on right.<br />
<br />
If your servers are accessible from the Internet, users will now be able to view your web-site.<br />
<br />
Note 1:<br />
<br />
The '''Access''' section controls who can gain access to your server.<br /><br />
Three radio buttons H, I and J provide Local, Intranet and Internet access respectively, full details see [[Coral: general access www|page www]]<br />
<br />
<br />
Note 2: A similar menu is provided for [[Coral: general access ssl|ssl]] folder control.<br />
<br />
<br />
<span style="padding:6px;background-color:#99FFFF"> Server Configuration > General > Root www - Change password and access > MySQL > Change Password </span><br />
|<br />
[[Image:Coral_general_www_access.gif]]<br />
<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
==How to check Server Internet Access==<br />
<br />
Clicking the '''Server Status''' menu button opens a pop-up displaying a list of the current server parameters and their status. Server Internet accessibility is provided by the first two items. The first provides your IP address as seen from the Internet while the second confirms whether your server is accessible. <br />
<br />
{|<br />
|-valign="top"<br />
|<br />
* Servers must be running and connected to Internet<br />
* Run server status, click '''Server Status''' button (B2 see Server Utilities above)<br />
* IP address displayed with green indicator (A) Confirms IP<br />
* Accessible from Internet '''= Yes''' with green indicator (B) confirms server is accessible<br />Note: Your server, if it is accessible, will pass this test even if you have restricted access to local access only.<br />
<br />
If you have put your servers on-line, any user on the Internet now has access to your server by typing the following into their browser address bar: '''<nowiki>http://xxx.xxx.xxx.xxx/</nowiki>''' (replace the x's with your IP address)<br />
<br />
===Possible Problems===<br />
'''IP Address:''' Red indicator and no ip address. Your PC is not connected to the Internet!<br />
<br />
<br />
'''Access:''' Red indicator and accessible from Internet '''= No'''<br />
<br />
* Must be connected to Internet and an IP address displayed (A).<br />
* Your PC is connected to a router. You must forward port 80 in the router settings.<br />
* For Windows 7 and Vista, check the firewall for public access to the servers.<br />
* Still no access? Is your service provider blocking port 80?<br />
<br />
|<br />
[[Image:Coral_start_server_status.gif]]<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
==Where to next==<br />
<br />
[[Coral: start user configuration|User Configuration]] - Splash page at start up. User defined buttons www and ssl<br />
<br />
<br />
<br />
----<br />
<br />
[[Category: Uniform Server 8-Coral]]</div>Ric