rundeck配置salt-api

Rundeck 安装:

系统:
# cat /etc/issue
CentOS release 6.7 (Final)
内核:
# uname -r
2.6.32-573.el6.x86_64
IP 地址:
172.16.5.16
运行账户:
root
jdk环境:
# java -version
java version "1.8.0_92"
安装方式:
yum 官方发 Yum 源。

yum 安装

rpm -Uvh https://repo.rundeck.org/latest.rpm
yum install rundeck
service rundeckd start

yum upgrade rundeck rundeck-config

登陆管理:

RunDeck Web界面的登录帐号管理,默认管理员帐号是admin,密码admin
URL : http://172.16.5.16:4440

Rundeck 问题总结:

1、登陆提交表单错误 修改文件 framework.properties 文件和 rundeck-config.properties

# sed -i 's/localhost/172.16.5.16/g' /etc/rundeck/framework.properties
# sed -i 's/localhost/172.16.5.16/g' /etc/rundeck/rundeck-config.properties
或者
# vi /etc/rundeck/framework.properties

framework.server.name = 172.16.5.16
framework.server.hostname = 172.16.5.16
framework.server.port = 4440
framework.server.url = http://172.16.5.16:4440
rdeck.base=/var/lib/rundeck
framework.projects.dir=/var/lib/rundeck/projects
framework.etc.dir=/etc/rundeck
framework.var.dir=/var/lib/rundeck/var
framework.tmp.dir=/var/lib/rundeck/var/tmp
framework.logs.dir=/var/lib/rundeck/logs
framework.libext.dir=/var/lib/rundeck/libext
framework.ssh.keypath = /var/lib/rundeck/.ssh/id_rsa
framework.ssh.user = rundeck
framework.ssh.timeout = 0
rundeck.server.uuid = 0b407911-5980-4237-ae08-ba3532faa503
# 把localhost 更改为本机IP

# vi /etc/rundeck/rundeck-config.properties
grails.serverURL=http://localhost:4440

rundeck 问题;新创建项目 加密异常。JCE 密码扩展文件;
jar包下载地址:
https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
解压缩之后 jar包 替换到 java 环境变量下。
# unzip jce_policy-8.zip 
Archive: jce_policy-8.zip
creating: UnlimitedJCEPolicyJDK8/
inflating: UnlimitedJCEPolicyJDK8/local_policy.jar 
inflating: UnlimitedJCEPolicyJDK8/README.txt 
inflating: UnlimitedJCEPolicyJDK8/US_export_policy.jar
# 替换目录: /usr/local/java/jre/lib/security

 

Rundeck 配置salt-API

添加项目- Job 

 

你可能感兴趣的:(rundeck配置salt-api)