2
2

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.

Ansible で Apache をソースインストールしてみる

Posted at

初投稿。
要件は以下。

  • CentOS 6.6 x86_64
  • 事前に git clone する必要あり(手順は後述)
  • Apache のバージョンは 2.2.29
  • configure オプションは --enable-so のみ
  • /usr/local にインストール
  • /usr/local/apache2 にシンボリックリンク作成
  • apache/apacheuser/group 作成
  • 起動スクリプトを設置
  • logrotate を設置
  • Ansibleroot@localhost にて実行

Playbook はこちら。

実行手順は以下。

shell-command
$ git clone https://github.com/ichifx/ansible-webdb-setup.git /var/tmp/ansible-webdb-setup
$ sudo ansible-playbook /var/tmp/ansible-webdb-setup/playbooks/httpd-install.yml

※git リポジトリ内に起動スクリプトを設置し、copy モジュールを使用しているためこのような実行手順となります。

以上。

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?