下载
sudo mkdir -p /data/rundeck
cd /data/rundeck
sudo wget https://dl.bintray.com/rundeck/rundeck-maven/rundeck-3.0.23-20190619.war
先进行初始化操作 java -jar rundeck-3.0.23-20190619.war
然后可以看到如图所示
realm.properties 用户账号密码配置文件
framework.properties 修改 framework.server.url = http://192.168.83.30:4440
rundeck-config.properties 修改grails.serverURL=http://192.168.83.30:4440
配置rundeck连接数据库
配置Rundeck使用MySQL数据库 innodb_buffer_pool_size = 32G
innodb_file_per_table = true
innodb_file_format = barracuda
create database rundeck default character set utf8;
grant ALL on rundeck.* to 'rundeckuser'@'192.168.83.30' identified by 'xxx';
flush privileges;
类似这样 server.address=0
dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false&characterEncoding=UTF-8
dataSource.username=rundeckuser
dataSource.password=xxxx
dataSource.driverClassName=com.mysql.jdbc.Driver