0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacでRundeckのセットアップ

Last updated at Posted at 2016-03-31

インストール&初期起動

公式サイトのDownloadページからrundeck-launcher-xxx.jarをダウンロードして、適当なフォルダで以下のコマンドを実行

$ java -jar rundeck-launcher-2.5.3.jar

WARNING: HTTPS is not enabled, specify -Drundeck.ssl.config=/Users/yusuzuki/rundeck/server/config/ssl.properties to enable.
2015-08-17 14:45:54.580:INFO:oejs.Server:jetty-7.6.0.v20120127
・
・
・
2015-08-17 14:46:17.423:INFO:/:Initializing Spring FrameworkServlet 'grails'
2015-08-17 14:46:17.482:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4440

初期起動するとjarを実行したディレクトリにディレクトリやコンフィグファイルが生成される。

またブラウザで以下のURLから管理画面が表示される
http://localhost:4440/

  • ID: admin
  • PASS: admin

Rundeck.png

初期設定を行う

管理DBをMySQLに変更する

Rundeck用のDBを作成する

configでDB名を指定するためなんでもよい

[root@yusuzuki]
mysql -u root -p
mysql> create database rundeck;
mysql> use rundeck;
mysql> grant ALL on rundeck.* to 'rundeck'@'localhost' identified by '******';
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| fetchdb            |
| mysql              |
| rundeck            |
+--------------------+
mysql> exit;

Rundeckデータベースの設定

MySQL接続情報に書き換える

server/config/rundeck-config.properties
dataSource.dbCreate = update
dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true
dataSource.username = rundeck
dataSource.password = *******

SMTPの設定を行う

server/config/rundeck-config.properties
grails.mail.host=localhost
grails.mail.port=25

設定オプションは下記のドキュメント参照
http://rundeck.org/docs/administration/email-settings.html

Nodeの追加


0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?