|
Extra Utilities
|
The UniController Extra menu groups additional utilities that do not easily fit into other categories.
PC-Win start-up
This menu option is the only one that writes data to the registry hence is not truly portable. It allows you to automatically run UniController and optionally Apache and MySQL servers when you start your computer.
Open PC-Win start-up menu and configure as follows:
Extra > PC-Win start-up
- 1) Apache server check box enables/disables running Apache server at start-up.
- 2) MySQL server check box enables/disables running MySQL server at start-up
- 3) Run at start-up check box enables/disables auto run at start-up
- Checked - Option enabled
- UnChecked - Option disabled
Note: UniController is automatically run when Run at start-up is enabled while items 1) and 2) are optional enable/disable as desired.
|
|
The above uses command line parameter pc_win_start to automatically control the servers. UniController supports other command line parameters see page Command Line Parameters.html for details.
Manual Alternative
The following are manual instructions that replicate option 3) above.
Enable run at start-up
- Right-click Start, and then click Explore. Windows Explorer opens and displays your Start menu.
- In the left pane, navigate to the folder C:\UniServerZ.
- Left click on this folder to open it in the right pane.
- In the right pane:
- Right-click on the program UniController.exe
- In the pop-up click Copy.
- In the left pane, navigate to folder Startup Menu/Programs/Startup and left click folder Startup.
- In the right pane, right-click anywhere and then click Paste Shortcut.
- Still in the right pane, right click the UniControlder shortcut
- In the pop-up slect properties.
- In the Target field add a parameter to the end of the path as shown below
C:\UniserverZ\UniController.exe pc_win_start
Dsable run at start-up
- Right-click Start, and then click Explore. Windows Explorer opens and displays your Start menu.
- In the left pane, left click on folder Startup Menu/Programs/Startup.
- In the right pane, right click on the UniControlder shortcut in the pop-up click Delete
The following are manual instructions that replicate options 1) and 2).
Edit file: C:\UniServerZ\home\us_config\us_config.ini and change the following section as appropriate:
[PCSTARTUP]
RunAtPcStartUpEnabled=false
RunApacheAtStartUp=false
RunMysqlAtStartUp=false
Cron
The Uniform Servers portable Cron plugin has been integrated into Uniform Server Zero. Cron's configuration file has been pre-populated with various scripts to be run. These are essentially four-line templates that require enabling to run the appropriate applications from the Cron script.
- Full Cron details; see Cron page which includes:
Page also includes additional information and test scripts.
Edit Win hosts file
This menu option allows you to directly run the Uniform Server edit Windows hosts file utility C:\UniServerZ\utils\EdHost.exe
Extra > Edit Win hosts file
Note: Win 7 and 8 users, at the User Account Control pop-up click Yes to allow changes to this computer.
A) Add IP address/Domain name pair as follows:
- 1) Enter a domain name (host name) for example fred.com
- 2) IP Address no need to change this leave as 127.0.0.1
- 3) Click Add button. Adds entry to the hosts file.
- Also updates displayed host list on right.
- Note: Reset button 4) resets the host name field.
B) Delete IP address/Domain name pair as follows:
- 5) Select IP address/Domain name pair to delete.
- 6) Click Delete button. Deletes pair from the hosts file.
- Also updates displayed host list on right.
- Note: Reset button 7) resets the form to its default state.
|
|
|