Skip to content

RedmineをCentOSに自動インストールためのAnsibleプレイブック

License

Notifications You must be signed in to change notification settings

ssaito/redmine-centos-ansible

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redmine-centos-ansible

最小構成でインストールしたCentOSにRedmineを自動インストールするためのAnsibleプレイブックです。

コマンド5個実行するだけで、あとはしばらく放置すればインストールが完了します。

概要

Ansibleを使ってRedmineを自動インストールするためのプレイブックです。以下のwebサイトで紹介されている手順におおむね準拠しています。

Redmine 3.2をCentOS 7.1にインストールする手順

システム構成

  • Redmine 3.2
  • CentOS 7
  • PostgreSQL
  • Apache

Redmineのインストール手順

インストール直後の CentOS 7 に root でログインし以下の操作を行ってください。

Ansibleとgitのインストール

yum install -y epel-release
yum install -y ansible git

playbookのダウンロード

git clone https://github.com/farend/redmine-centos-ansible.git

PostgreSQLに設定するパスワードの変更

ダウンロードしたプレイブック内のファイル group_vars/redmine-servers をエディタで開き、 db_passwd_redmine を適当な内容に変更してください。これはPostgreSQLのRedmine用ユーザー redmine に設定されるパスワードです。

playbook実行

下記コマンドを実行してください。Redmineの自動インストールが開始されます。

cd redmine-centos-ansible
ansible-playbook -i hosts site.yml

10〜20分ほどでインストールが完了します。webブラウザで http://サーバIPアドレス/redmine にアクセスしてください。Redmineの画面が表示されるはずです。

ライセンス

MIT License

作者

ファーエンドテクノロジー株式会社

About

RedmineをCentOSに自動インストールためのAnsibleプレイブック

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%