Installing ucUniTray 3.5-Apollo: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Installing ucUniTray 3.5-Apollo |} </div> {| c...)
 
m (Protected "Installing ucUniTray 3.5-Apollo" [edit=sysop:move=sysop])
(No difference)

Revision as of 21:00, 13 June 2008

MPG UniCenter

Installing ucUniTray 3.5-Apollo

Uniform Server 3.5-Apollo.

This unofficial UniTray plugin is based on the one originally designed for UniServer 3.2. I was recently hauled over the coals by a friends son for not including the 3.5 version on his memory stick.

OK there is not yet an official version (currently being worked on and will be released soon), what I was using was my hacked version while demonstrating new features of Uniform Server 3.5, had no idea he thought the tray icon was cool. Seems his friends also liked it hence I have been persuaded to publish it as is.

Confusion

To avoid any confusion at a later date I have named this version ucUniTray. Nothing special about uc just stands for UniCenter.

Background

UniTray uses as it core component AeTrayMenu designed by Onno Broekmans who released it into the public domain under the following licence creative commons. This program has stood the test of time and well worth downloading to obtain the excellent documentation.

I copied this from his site:

AeTrayMenu puts a tray icon in your system tray. When you click on it with your left or right mouse button, a popup menu will appear. The menus that appear are fully configurable.

Features

An overview of the most important features of AeTrayMenu:

  • Fully configurable;
  • Separate menus for left and right click;
  • Run programs and launch documents;
  • Support for submenus;
  • Service control options:
  • Start, stop, pause and resume services;
  • Separate tray icons and tray icon hints for service states;
  • Easy access to "Services" control panel applet
  • Special menu design with sidebar and more;
  • Execute multiple commands for one menu item;
  • Handling of multiple instances.

If you want to hack it around for your own use his support documentation is excellent and very readable; download it and enjoy.

Where to obtain ucUniTray

Download my hacked version; file ucUniTray.exe and save it to any folder of your choice.

MD5 = cfeb8f352c2bae3576b3e28f26173952

The file is a self-extracting archive; double click to run, no need to change the path.

Installation

Depending on your preference there are two methods to install ucUniTray:

Method 1:

  1. Save the file ucUniTray.exe to any folder.
  2. Double click on the file and let it extract to that folder.
  3. Copy the folder ucUniTray to *\Uniform Server\udrive\plugins folder.
  4. Copy the files in the folder "Main Folder" to folder *\Uniform Server (where Server_Start.bat is located).
  5. Start the Tray Icon by double clicking on Start_ucUniTray.bat a small icon appears in the tray bottom right.
  6. Left mouse click on this icon, from the pop-up menus you control the servers.
  7. To remove the tray icon first stop the servers and then click on “Exit”
  8. The icon may remain however mouse over the icon and it will disappear.

Method 2:

  1. Save the file ucUniTray.exe to folder *\Uniform Server\udrive\plugins
  2. Double click on the file and let it extract to that folder.
  3. If you wish you can delete the file ucUniTray.exe to say space.
  4. Copy the files in the folder "Main Folder" to the folder *\Uniform Server (where Server_Start.bat is located).
  5. Start the Tray Icon by double clicking on Start_ucUniTray.bat a small icon appears in the tray bottom right.
  6. Left mouse click on this icon, from the pop-up menus you control the servers.
  7. To remove the tray icon first stop the servers and then click on “Exit”
  8. The icon may remain however mouse over the icon and it will disappear.

Note: Folder *\Uniform Server now contains the following files and folder:

  • Disk Start.vbs
  • Server_Start.bat
  • Start_ucUniTray.bat
  • Stop.bat
  • Stop_ucUniTray.bat
  • ucUniTray.exe
  • udrive
  • UniController.exe

That completes the plugin installation.

Top

Testing

Start_ucUniTray:

Double click on "Start_ucUniTray.bat" a small UniServer icon will appear in your system tray (bottom right). A left mouse click on this icon brings up the main menu.

There is one important selection Exit this closes and removes the menu icon, remember to stop the servers first.

The right menu gives access and control of UniServer. You can also access some of the advanced features

Stop_ucUniTray:

Double click on "Stop_ucUniTray.bat" this closes the menu and removes it from your system tray.

ucUniTray Menus

Main Menu

 

Menu Option Comment
Start UniServer Starts both Apache and MySQL servers
Stop Uniserver Stops both Apache and MySql servers
Admin Panel Displays Admin Panel in browser. Allows you to configure UniForm Server
phpMyAdmin Displays phpMyAdmin in browser. Allows you to manipulate MySQL server
phpMyBackupPro Displays phpMyBackupPro browser. Back-up MySQL server
Advanced See table below
Explore See table below
Exit Closes the menu and removes it from your system tray.
Note: Stop the servers first
About Displays information about ucUniTray

Top

Advanced

 

Menu Option Comment
Edit Apache Configuration Opens httpd.conf in Notepad
Edit MySQL Configuration Opens my-small in Notepad
Edit PHP Configuration Opens php.ini in Notepad
Apache Error Log Opens Apache error.log in Notepad for viewing
Apache Access Log Opens Apache access.log in Notepad for viewing
PERL :: Command Prompt Opens a command prompt at the correct path for PERL
PHP  :: Command Prompt Opens a command prompt at the correct path for PHP
Reload Menu Reloads ucUniTray.ini file. Allows you to instantly test
changes made to this file no need to stop and re-start
UniTray.

Top

Explore

 

Menu Option Comment
Server Information Display information in browser window (http://localhost/server-info)
Server Status Display Apache Status in browser window (http://localhost/server-status)
PHP Information Display PHP information in browser window (http://localhost/apanel/phpinfo.php)
UniServer Opens Windows Explorer at udrive folder
Apache Opens Windows Explorer at apache2 folder
MySQL Opens Windows Explorer at mysql folder
PHP Opens Windows Explorer at php folder
WWW Root Opens Windows Explorer at www (folder that contains your web site/s)
WWW Path Displays folder WWW in your browser (http://localhost/)
Script Root Opens Windows Explorer at cgi-bin folder
Images Root Opens Windows Explorer at www/images (assumes you have an image folder)
Images Path Displays images folder in browser (http://localhost/images/) assumes
you do not have an htaccess file to prevent this.
Explore plugins Opens Windows Explorer at the correct path of Plugins folder

Conclusion

The above provides a reasonable balance of functionality however the real workhorse is apanel double click the tray icon this provides a quick short cut and displays apanel in your browser.

Top


Ric