1、安装
- linux:curl -v -k -s -L ‘https://10.17.45.5/agent/download?k=83a27c789cc7e586061fd5b4f3955fd47d1c8aab&group=29&protocol=0’ | bash
- windows:Powershell.exe -Command “$URL=’http://10.17.45.5:8002/plugins/v3.400.201-win64/TitanAgent_for_All_x86_64.exe’; $FILE=$env:temp + ‘\TitanAgent_for_All.exe’; ((New-Object System.Net.WebClient).DownloadFile($URL, $FILE))” & %TEMP%\TitanAgent_for_All.exe –silent=yes –cover-conf=yes –cover-app=yes –install-path=’C:\Program Files\TitanAgent’ –url=”https://10.17.45.5/agent/winDownloader?k=83a27c789cc7e586061fd5b4f3955fd47d1c8aab&group=29&protocol=0″
2、删除
/titan/agent/titanagent -s
bash /titan/agent/install_agent.sh disclean