https://wiki.uniformserver.com/index.php?title=Coral:_start_multi_servers&feed=atom&action=history
Coral: start multi servers - Revision history
2024-03-29T13:08:44Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://wiki.uniformserver.com/index.php?title=Coral:_start_multi_servers&diff=6317&oldid=prev
BobS: Expanded on using this before loading apps
2012-02-07T12:52:39Z
<p>Expanded on using this before loading apps</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:52, 7 February 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="margin-bottom:5px;font-size:25px;color: #31799F;">Multi-Servers</span></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="margin-bottom:5px;font-size:25px;color: #31799F;">Multi-Servers</span></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Multi-servers enable you to run more than one copy of The Uniform Server (Apache and MySQL) on the same PC. Moving servers to different ports also allows you to run The Uniform Server alongside other servers such as IIS. This page details the changes made when the Multi-servers menu is invoked.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Multi-servers enable you to run more than one copy of The Uniform Server (Apache and MySQL) on the same PC. Moving servers to different ports also allows you to run The Uniform Server alongside other servers such as IIS<ins style="font-weight: bold; text-decoration: none;">. It also allows you to have multiple separate instances of The Uniform Server running at the same time</ins>. This page details the changes made when the Multi-servers menu is invoked.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__TOC__</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__TOC__</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''NOTE:''' It it best to run this procedure on a newly-installed version of The Uniform Server, since applications will be unaware of the changes. If moved after installation, many applications will require changes to database fields in order to run properly. </ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| 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;"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| 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;"</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l51">Line 51:</td>
<td colspan="2" class="diff-lineno">Line 52:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Note:'''<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Note:'''<br /></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Ideally </del>you would run this menu on a newly extracted copy of The Uniform Server and then add any applications using appropriate configuration parameters. </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Normally </ins>you would run this menu on a newly extracted copy of The Uniform Server and then add any applications using appropriate configuration parameters. <ins style="font-weight: bold; text-decoration: none;">Changing the applications after moving the ports is difficult and error-prone. </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">When installing the applications, you will need to explicitly specify the new ports on any URLs, such as in http://localhost:83 (site location or server name) and 127.0.0.1:3308 (MySQL).</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Coral_start_multi_servers.gif]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Coral_start_multi_servers.gif]]</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l108">Line 108:</td>
<td colspan="2" class="diff-lineno">Line 112:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* UniServer\usr\local\mysql\bin\'''mysqld1.exe''' to UniServer\usr\local\mysql\bin\mysqld'''x'''.exe</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* UniServer\usr\local\mysql\bin\'''mysqld1.exe''' to UniServer\usr\local\mysql\bin\mysqld'''x'''.exe</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>----</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">-</ins>----</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 8-Coral]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 8-Coral]]</div></td></tr>
</table>
BobS
https://wiki.uniformserver.com/index.php?title=Coral:_start_multi_servers&diff=6166&oldid=prev
Ric: 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:29:36Z
<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;">Multi-Servers</span><br />
<br />
Multi-servers enable you to run more than one copy of The Uniform Server (Apache and MySQL) on the same PC. Moving servers to different ports also allows you to run The Uniform Server alongside other servers such as IIS. This page details the changes made when the Multi-servers menu is invoked.<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 />
==Multi Servers==<br />
{|<br />
|-valign="top"<br />
|<br />
Multi-servers enables you to run more than one copy of The Uniform Server (Apache and MySQL) on the same PC. To achieve this, the executables and services are renamed and the ports the servers run on are changed.<br />
<br />
Values under the '''old''' column are the current server values. After clicking “Run Move Servers” these values are overwritten in their corresponding configurations files with the values shown in the '''new''' column.<br />
<br />
Changes are reflected in the tray icon, which is numbered 1 to 9. This number generally corresponds to the digit appended to the executable and service names. The number of separate server sets is not limited to 9, but subsequent sets will not show a digit.<br />
<br />
'''Note:'''<br /><br />
Ideally you would run this menu on a newly extracted copy of The Uniform Server and then add any applications using appropriate configuration parameters. <br />
|<br />
[[Image:Coral_start_multi_servers.gif]]<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
==Files modified==<br />
After running Multi-servers the following files are updated:<br />
<br />
{|<br />
|-Vlaign="top"<br />
|<br />
'''Apache'''<br />
<br />
* UniServer\usr\local\apache2\conf\'''httpd.conf'''<br />
* UniServer\usr\local\apache2\conf\extra\'''httpd-vhosts.conf'''<br />
* UniServer\usr\local\apache2\conf\extra\'''ssl.conf'''<br />
|<br />
'''MySQL'''<br />
<br />
* UniServer\usr\local\mysql\'''my.ini'''<br />
* UniServer\usr\local\mysql\'''small_my.ini'''<br />
* UniServer\usr\local\mysql\'''medium_my.ini'''<br />
|-Vlaign="top"<br />
|<br />
'''PHP'''<br />
<br />
* UniServer\usr\local\php\'''php.ini'''<br />
* UniServer\usr\local\php\'''php.ini_development'''<br />
* UniServer\usr\local\php\'''php.ini_production'''<br />
|<br />
'''UniController'''<br />
<br />
* UniServer\uni_con\'''uni_con_program.hta'''<br />
* UniServer\uni_con\'''uni_con_service.hta'''<br />
* UniServer\uni_con\'''config_tracker.ini'''<br />
|-Vlaign="top"<br />
|<br />
'''Cron'''<br />
<br />
* UniServer\uni_con\cron_service\'''srvstart.ini'''<br />
* UniServer\uni_con\cron_service\'''start_automatic.vbs'''<br />
* UniServer\uni_con\cron_service\'''z_install.bat'''<br />
|<br />
'''Cron'''<br />
<br />
* UniServer\uni_con\cron_service\'''z_service_start.bat'''<br />
* UniServer\uni_con\cron_service\'''z_service_stop.bat'''<br />
* UniServer\uni_con\cron_service\'''z_uninstall_service.bat'''<br />
|}<br />
<br />
<br />
After running Multi-servers the following executables are renamed. Note: x is new digit appended to executable name.<br />
<br />
* UniServer\usr\local\apache2\bin\httpd1.exe to UniServer\usr\local\apache2\bin\httpd'''x'''.exe<br />
* UniServer\usr\local\mysql\bin\'''mysqld1.exe''' to UniServer\usr\local\mysql\bin\mysqld'''x'''.exe<br />
<br />
----<br />
<br />
[[Category: Uniform Server 8-Coral]]</div>
Ric