https://github.com/844196/apache2_test
https://github.com/844196/apache2_test
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/844196/apache2_test
- Owner: 844196
- Created: 2016-05-08T14:14:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-08T14:21:31.000Z (about 9 years ago)
- Last Synced: 2025-03-05T12:42:38.480Z (3 months ago)
- Language: ApacheConf
- Homepage: http://192.168.33.10/
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apache2_test
## Usage
```shell-session
$ vagrant up
```## Descriptions
`cookbooks/apache/*`を参照せよ
### Vagrantfile
* タイムゾーンを日本へ変更
* aptリポジトリを日本のミラーサイトへ変更
* Ruby最新版取得用ppaを追加
* リポジトリ更新
* プロビジョニング用`ruby2.3`をインストール
* `itamae`をインストール
* プロビジョニング実行### setup_apache.rb
* `apache2`のインストール
* `/etc/apache2/apache2.conf`を置き換え
* コメントを日本語へ
* `/`から`AllowOverride`を許可
* `/usr/share`, `/var/www/html`ディレクティブを削除
* `000-default.conf`を無効化### deploy_demopage.rb
実験中
* `vagrant`を`www-data`グループへ追加
* デモページを`/home/vagrant/webroot/index.php`へ配置
* ディレクトリの所属グループを`www-data`へ変更
* デモページ用設定ファイルの配置、有効化