Created Updating Zoraxy (markdown)

Toby Chui 2024-07-16 15:37:33 +08:00
parent a612f73a8f
commit 6583225124

35
Updating-Zoraxy.md Normal file

@ -0,0 +1,35 @@
## Update Zoraxy
If you install Zoraxy natively on your host OS, here are the steps to update your Zoraxy to the latest version
### Linux
Download and overwrite the binary file with the following command
```
# Stop the service if running
sudo systemctl stop zoraxy
# Navigate to the zoraxy installation path. If you build from source, it is usually under ~/zoraxy/src/
cd ~/zoraxy/src
mv ./zoraxy ./zoraxy.backup
# Download the new zoraxy release. Change the filename to a suitable architecture based on your hardware.
wget https://github.com/tobychui/zoraxy/releases/latest/download/zoraxy_linux_amd64
mv ./zoraxy_linux_amd64 ./zoraxy
chmod +x ./zoraxy
# Restart the zoraxy service
sudo systemctl start zoraxy
```
### Windows
If you are running Zoraxy on Windows, you can easily download and overwrite the executable.
1. Rename the current version of `zoraxy.exe` to `zoraxy_backup.exe`
2. Download zoraxy from release page
3. Move the newly downloaded `zoraxy_windows_amd64.exe` to the original instllation path
4. Rename `zoraxy_windows_amd64.exe` to `zoraxy.exe`
5. Start the bat file (if any) or double click the zoraxy exe file.
## IMPORTANT NOTES
- Note that each version might have some slight startup flag change. See change log and release notes for more information
- Always backup your config before update. Some version might contain breaking change that will alter your config files