LoginSignup
4
4

More than 5 years have passed since last update.

PostgreSQL 8.1.23 と PHP 5.3.3 な環境を Ansible でサクっと構築する

Last updated at Posted at 2016-01-18

PostgreSQL 8.1.23 と PHP 5.3.3 な環境を Ansible でサクっと構築する

レアケースだと思いますが、以下の環境をセットアップする playbook を書きました。

CentOS 5.11
Apache 2.2.3
PostgreSQL 8.1.23
PHP 5.3.3

1. PostgreSQL のインストール

CentOS 5.x の標準が 8.1 系なので、標準リポジトリからインストールします。

2. PHP のインストール

こちらも標準リポジトリから 5.3.3 をインストールできます。
ただ、このバージョンに対応する Xdebug は PECL から導入する必要があり、
さらにチャンネルの変更をしたりと、導入が少し面倒です。

3. コード

GitHub で公開してます。

42milez / ansible-pg81-php53

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