Skip to content

Commit

Permalink
便利化。まだ動かない。 #2
Browse files Browse the repository at this point in the history
  • Loading branch information
wnoguchi committed Sep 21, 2013
1 parent 085ac45 commit 24a3a1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/3-UbuntuAllInOne/install3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ keystone start/running, process 3580
* Keystoneデータベース作成。

```
cat <<EOF | sh
mysql -u root -ppassword -e "DROP DATABASE IF EXISTS keystone;"
mysql -u root -ppassword -e "CREATE DATABASE keystone;"
mysql -u root -ppassword -e "GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass';"
EOF
```

* `/etc/keystone/keystone.conf`
Expand Down Expand Up @@ -313,9 +315,11 @@ service glance-registry status
* MySQLデータベースを構築する

```
cat <<EOF | sh
mysql -u root -ppassword -e "DROP DATABASE IF EXISTS glance;"
mysql -u root -ppassword -e "CREATE DATABASE glance;"
mysql -u root -ppassword -e "GRANT ALL ON glance.* TO 'glanceUser'@'%' IDENTIFIED BY 'glancePass';"
EOF
```

* 以下は主にglance apiの認証トークンまわりの設定です。
Expand Down Expand Up @@ -445,9 +449,11 @@ apt-get install -y quantum-server quantum-plugin-linuxbridge quantum-plugin-linu
* MySQLデータベースを構築する

```
cat <<EOF | sh
mysql -u root -ppassword -e "DROP DATABASE IF EXISTS quantum;"
mysql -u root -ppassword -e "CREATE DATABASE quantum;"
mysql -u root -ppassword -e "GRANT ALL ON quantum.* TO 'quantumUser'@'%' IDENTIFIED BY 'quantumPass';"
EOF
```

* すべてのQuantumコンポーネントが動作していることを確認する
Expand Down Expand Up @@ -704,9 +710,11 @@ nova-scheduler start/running, process 16465
* MySQLのDB用意

```
cat <<EOF | sh
mysql -u root -ppassword -e "DROP DATABASE IF EXISTS nova;"
mysql -u root -ppassword -e "CREATE DATABASE nova;"
mysql -u root -ppassword -e "GRANT ALL ON nova.* TO 'novaUser'@'%' IDENTIFIED BY 'novaPass';"
EOF
```

* `/etc/nova/api-paste.ini` の authtokenセクションを編集する
Expand Down

0 comments on commit 24a3a1b

Please sign in to comment.