是否可以仅通过指定代理 IP 地址来从 rhq-server 静默安装 rhq-agent。
最佳答案
在 Linux 上:
创建以下脚本并调用 script.sh &
这将在后台运行
伪代码
ssh with Agent IP > /dev/null
curl jar file from https://$rhq-server-ip-address:$port/agentupdate/download > /dev/null
ssh root@$agent-ip "java -jar /path/to/rhq-enterprise-jar --install > /dev/null"
这将安装没有输出的代理。
关于networking - 如何使用静默安装从 rhq-server 安装 rhq-agent?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13600694/