How to install juju on Ubuntu
mediawiki #19
$ sudo snap install juju --classic
$ juju bootstrap
$ juju status$ juju gui
GUI 2.15.0 for model "admin/default" is enabled at:
https://192.168.1.113:17070/gui/u/admin/default
Your login credential is:
username: admin
password: e272bb6ab863fbf2650c1f96dc0d2b18
$ juju deploy mysql
Located charm "cs:mysql-58".
Deploying charm "cs:mysql-58".
$ juju deploy mediawiki
Located charm "cs:mediawiki-19".
Deploying charm "cs:mediawiki-19".
$ juju add-relation mysql mediawiki:db
$ juju expose mediawiki
$ juju deploy memcached
Located charm "cs:memcached-26".
Deploying charm "cs:memcached-26".
$ juju add-relation memcached mediawiki
$ juju deploy mysql mysql-slave
Located charm "cs:mysql-58".
Deploying charm "cs:mysql-58".
$ juju add-relation mediawiki:slave mysql-slave
mediawiki #19
$ sudo snap install juju --classic
$ juju bootstrap
$ juju status$ juju gui
GUI 2.15.0 for model "admin/default" is enabled at:
https://192.168.1.113:17070/gui/u/admin/default
Your login credential is:
username: admin
password: e272bb6ab863fbf2650c1f96dc0d2b18
$ juju deploy mysql
Located charm "cs:mysql-58".
Deploying charm "cs:mysql-58".
$ juju deploy mediawiki
Located charm "cs:mediawiki-19".
Deploying charm "cs:mediawiki-19".
$ juju add-relation mysql mediawiki:db
$ juju expose mediawiki
$ juju deploy memcached
Located charm "cs:memcached-26".
Deploying charm "cs:memcached-26".
$ juju add-relation memcached mediawiki
$ juju deploy mysql mysql-slave
Located charm "cs:mysql-58".
Deploying charm "cs:mysql-58".
$ juju add-relation mediawiki:slave mysql-slave
Комментариев нет:
Отправить комментарий