标签:chmod command amd server image sar ble java arch
安装部署rundeckrpm -Uvh http://repo.rundeck.org/latest.rpm
yum install rundeck java
systemctl start rundeckd
systemctl enable rundeckd
4、访问rundeck
注意:在访问前需要修改配置文件/etc/rundeck/rundeck-config.properties
修改这一行,将
grails.serverURL=http://localhost:4440
修改为
grails.serverURL=http://10.1.2.205:4440
5、创建rundeck 项目
6、创建rundeck 节点
a.创建项目后,在project settings底下配置节点信息
b.在rundeck主机创建/tmp/node-info.xml文件,文件内容如下:
<project>
<node name="test01" description="test01" tags="test01" hostname="10.1.1.81" osArch="amd64" osFamily="unix" osName="freebsd" osVersion="9.2-RELEASE-p15" username="test" ssh-keypath="/var/lib/rundeck/node2.key"/>
</project>
c.在节点上创建test用户,切换到test用户,执行ssh-keygen产生密钥,并继续执行以下操作
cat id_rsa.pub >> authorized_keys
chmod g-w authorized_keys
将私钥拷贝到rundeck主机的/var/lib/rundeck/node2.key
d.在rundeck界面配置key位置
7、在rundeck上面执行command操作
标签:chmod command amd server image sar ble java arch
原文地址:https://blog.51cto.com/riverxyz/2503565