These instructions cover how to update existing installations to new versions of EZproxy. These instructions are valid to update from any version of EZproxy to this release. This process will preserve all existing configuration files.
If you are updating from a version of EZproxy 5.0 or earlier, please be aware that the ezproxy.cfg, ezproxy.msg, and ezproxy.usr files have been renamed to config.txt, messages.txt, and user.txt in EZproxy 5.1 or later. When you perform the
step, you will be asked to allow EZproxy to rename ezproxy.cfg and ezproxy.usr to their new names. For more information on this change, including information on how to continue to use the historic names if necessary, see EZproxy 5.1 New Filenames.
- Rename your existing copy of ezproxy.exe to another name such as ezproxy- yyyymmdd.exe replacing yyyymmdd with the current year, month and day.
- Download ezproxy-win32.exe into your EZproxy directory.
- Open a "Command Prompt" window by going to Start | Run..., typing
in the Open: box, then clicking OK.
- Change your current directory to the directory where EZproxy is installed with commands such as:
- Rename ezproxy-win32.exe to ezproxy.exe with the command:
rename ezproxy-win32.exe ezproxy.exe
- During this step, if you are updating from EZproxy 5.0 or earlier, you will be asked to allow ezproxy.cfg to be renamed to config.txt and to allow ezproxy.usr to be renamed to user.txt. See EZproxy 5.1 New Filenames for more information.
Create any new files required for the updated release with the command:
- If EZproxy is currently running on your server from a command prompt, press CTRL/C to stop it.
If EZproxy is currently running as a service, stop it with the command:
net stop ezproxy
- This step is optional. If you are updating from a EZproxy 5.0 or earlier, you can choose to rename your existing ezproxy.msg to messages.txt, or you can leave the existing file alone and EZproxy will create a new messages.txt file.
If you would like to rename the existing file, issue the command:
rename ezproxy.msg messages.txt
- If you run EZproxy directly from the command line, start it with the command:
If you run EZproxy as a service, start it with the command:
net start ezproxy
EZproxy can automatically restart when you reboot your server. See Configure EZproxy to Run as a Windows Service for more information.