Coral: start multi servers: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(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...")
 
(Expanded on using this before loading apps)
 
Line 6: Line 6:
<span style="margin-bottom:5px;font-size:25px;color: #31799F;">Multi-Servers</span>
<span style="margin-bottom:5px;font-size:25px;color: #31799F;">Multi-Servers</span>


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.
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. It also allows you to have multiple separate instances of The Uniform Server running at the same time. This page details the changes made when the Multi-servers menu is invoked.


__TOC__
__TOC__


'''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. 
|
|
{| 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;"
{| 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;"
Line 51: Line 52:


'''Note:'''<br />
'''Note:'''<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.  
Normally you would run this menu on a newly extracted copy of The Uniform Server and then add any applications using appropriate configuration parameters. Changing the applications after moving the ports is difficult and error-prone. 
 
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).
 
|
|
[[Image:Coral_start_multi_servers.gif]]
[[Image:Coral_start_multi_servers.gif]]
Line 108: Line 112:
* UniServer\usr\local\mysql\bin\'''mysqld1.exe''' to UniServer\usr\local\mysql\bin\mysqld'''x'''.exe
* UniServer\usr\local\mysql\bin\'''mysqld1.exe''' to UniServer\usr\local\mysql\bin\mysqld'''x'''.exe


----
 
-----


[[Category: Uniform Server 8-Coral]]
[[Category: Uniform Server 8-Coral]]

Latest revision as of 12:52, 7 February 2012

Multi-Servers

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. It also allows you to have multiple separate instances of The Uniform Server running at the same time. This page details the changes made when the Multi-servers menu is invoked.

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.

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

Multi Servers

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.

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.

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.

Note:
Normally you would run this menu on a newly extracted copy of The Uniform Server and then add any applications using appropriate configuration parameters. Changing the applications after moving the ports is difficult and error-prone.

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).

Top

Files modified

After running Multi-servers the following files are updated:

Apache

  • UniServer\usr\local\apache2\conf\httpd.conf
  • UniServer\usr\local\apache2\conf\extra\httpd-vhosts.conf
  • UniServer\usr\local\apache2\conf\extra\ssl.conf

MySQL

  • UniServer\usr\local\mysql\my.ini
  • UniServer\usr\local\mysql\small_my.ini
  • UniServer\usr\local\mysql\medium_my.ini

PHP

  • UniServer\usr\local\php\php.ini
  • UniServer\usr\local\php\php.ini_development
  • UniServer\usr\local\php\php.ini_production

UniController

  • UniServer\uni_con\uni_con_program.hta
  • UniServer\uni_con\uni_con_service.hta
  • UniServer\uni_con\config_tracker.ini

Cron

  • UniServer\uni_con\cron_service\srvstart.ini
  • UniServer\uni_con\cron_service\start_automatic.vbs
  • UniServer\uni_con\cron_service\z_install.bat

Cron

  • UniServer\uni_con\cron_service\z_service_start.bat
  • UniServer\uni_con\cron_service\z_service_stop.bat
  • UniServer\uni_con\cron_service\z_uninstall_service.bat


After running Multi-servers the following executables are renamed. Note: x is new digit appended to executable name.

  • UniServer\usr\local\apache2\bin\httpd1.exe to UniServer\usr\local\apache2\bin\httpdx.exe
  • UniServer\usr\local\mysql\bin\mysqld1.exe to UniServer\usr\local\mysql\bin\mysqldx.exe