更改传感器代理设置
在开始之前
拥有使用代理服务器操作系统的经验。
拥有使用代理服务器操作系统的经验
更改代理设置
作为如何更改代理设置的示例,我们将更改代理密码。
在安装了传感器的计算机上,导航至
install_dir/config/
。其中 install_dir 是安装传感器的安装目录。
打开 proxy.properties 文件,将
httpsAuthPasswordEncrypted
替换为httpsAuthPassword
。为这些设置添加代理密码值。
转到
install_dir/cli
,其中 install_dir 是传感器安装目录。运行
applyproxysettings
命令。在下面的示例中,input_file 是包含代理设置的路径和文件名。
Linux
./applyproxysettings.sh -file input_file
Windows
applyproxysettings.bat -file input_file
重新启动传感器,以对代理密码加密并上传代理信息。
在下面的示例中,install_dir 是传感器安装目录。
Linux
转到
install_dir/cli
并运行./restart.bat
命令。Windows
转到
install_dir/cli
并运行restart.bat
命令。
接下来
在下一次登录代理服务器时使用新密码。