Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
php_frameworks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yoshiharu Hirose
php_frameworks
Commits
d60c8266
Commit
d60c8266
authored
Jun 29, 2016
by
Yoshiharu Hirose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
共通の説明
parent
3db8e841
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
0 deletions
+85
-0
README.md
README.md
+85
-0
No files found.
README.md
View file @
d60c8266
...
...
@@ -2,3 +2,88 @@
PHPフレームワーク動作確認環境
========================================================================
準備 (prerequisite)
------------------------------------------------------------------------
1.
VirtualBox をインストール
https://www.virtualbox.org/
2.
Vagrant をインストール
https://www.vagrantup.com/
3.
以下の環境変数に Proxy サーバを設定しておく
HTTP_PROXY http://proxy2:8080
HTTPS_PROXY http://proxy2:8080
4.
vagrant-proxyconf プラグインをインストール
コマンドプロンプトから
> vagrant plugin install vagrant-proxyconf
仮想サーバの基本操作
------------------------------------------------------------------------
各フォルダ配下でコマンドプロンプトから以下のコマンドを実行する。仮想サーバの状態は Oracle VM VirtualBox マネージャから確認することができる。
### 起動
※初回はVMイメージのダウンロードおよびプロビジョニング処理のため、時間がかかる。
> vagrant up
### 停止
> vagrant halt
### 破棄
> vagrant destroy
仮想サーバにログインする
------------------------------------------------------------------------
### 方法1) コマンドプロンプトから
Cygwin や Git Bash などコマンドラインのSSHクライアントがインストールされている場合、vagrant/ フォルダ配下から以下を実行する。
$ vagrant ssh
### 方法2) TeraTerm, RLogin などのターミナルアプリから
以下の情報で接続することができます。
| 設定項目 | 設定値 |
|:-------------|:---------------------------------------------------------|
| 接続先 | localhost:2222 |
| ユーザ名 | vagrant |
| 認証方法 | 公開鍵認証 |
| 秘密鍵 | vagrant/.vagrant/machines/default/virtualbox/private_key |
| パスフレーズ | なし |
共通情報
------------------------------------------------------------------------
### 確認用URL
*
http://localhost:9000
### MySQL
| 設定項目 | 設定値 |
|:-------------|:-------|
| データベース | testdb |
| ユーザ名 | root |
| パスワード | (なし) |
## ディレクトリ構成
┬ puppet/ テスト環境のデプロイ設定
│ ├ manifest/ Puppe設定ファイル
│ └ templates/ サーバ設定ファイル
│
├ www/
│ ├ site/ Webサイトプロジェクト
│ └ (その他) フレームワーク本体など
└ Vagrantfile Vagrant設定ファイル
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment