Reinstalling the Endpoint Protector Client via Linux Terminal
Overview
This article describes how to reinstall the Netwrix Endpoint Protector Client on Linux using terminal commands. The process includes uninstalling the current client, updating the server address configuration, and reinstalling the client.
For the full reference, see Linux under Agent Install Parameters in the Agent documentation.
Instructions
Uninstall and Reinstall the Netwrix Endpoint Protector Client
-
On the Netwrix Endpoint Protector client, open the terminal.
-
To uninstall the existing client, run the following command:
sudo bash uninstall.sh -
Set the Netwrix Endpoint Protector server address:
sudo nano options.sh -
Edit the file to set the correct server address, then save and exit. Use the server's fully qualified domain name (FQDN) instead of an IP address, so the client keeps working when the server address changes.
-
Reinstall the client:
sudo bash install.sh
Resolving Missing Dependency Errors
If you encounter missing dependency errors during installation, run the following commands:
sudo bash uninstall.sh
sudo apt update
sudo dpkg -i ./pkgs/*.deb
sudo apt update
sudo apt upgrade
The sudo dpkg -i ./pkgs/*.deb command will display any missing dependencies. Use sudo apt update and sudo apt upgrade to resolve them.
NOTE: These commands apply to Debian-based distributions (Ubuntu, LinuxMint, Debian), which use
dpkg/apt. RedHat-based distributions (CentOS, RedHat, Fedora, AWS Linux 2, OpenSuse, SUSE, SLED Linux Enterprise Server) userpm/yum/dnfinstead, and require an additional step to set the server address. See RedHat based distributions for details.