Changes

Jump to navigation Jump to search
3,781 bytes added ,  00:12, 9 April 2015
no edit summary
juju deploy mysql --to 0
juju add-relation mediawiki:db mysql
juju expose apache2
juju expose mediawiki
juju status
juju ssh
</source>
 
You'll end up with an address like this
http://52.5.215.128/mediawiki/index.php/Special:Version
with
* MediaWiki <code>1.19.14+dfsg-1</code> installed with no extensions.
* PHP 5.5.9-1ubuntu4.7 (apache2handler)
* MySQL 5.5.41-0ubuntu0.14.04.1-log
Make sure to obtain and assign an "elastic IP" so that the instance has a static IP
</pre>
=== Commands ===
<source lang="bash">
juju help commands
</source>
<pre>
add-machine alias for 'machine add'
add-relation add a relation between two services
add-unit add one or more units of an already-deployed service
api-endpoints print the API server address(es)
api-info print the field values used to connect to the environment's API servers
authorised-keys alias for 'authorized-keys'
authorized-keys manage authorized ssh keys
backups create, manage, and restore backups of juju's state
block block an operation that would alter a running environment
bootstrap start up an environment from scratch
cached-images manage cached os images
debug-hooks launch a tmux session to debug a hook
debug-log display the consolidated log file
deploy deploy a new service
destroy-environment terminate all machines and other associated resources for an environment
destroy-machine alias for 'machine remove'
destroy-relation alias for 'remove-relation'
destroy-service alias for 'remove-service'
destroy-unit alias for 'remove-unit'
ensure-availability ensure the availability of Juju state servers
env alias for 'switch'
environment manage environments
expose expose a service
generate-config alias for 'init'
get get service configuration options
get-constraints view constraints on the environment or a service
get-env alias for 'environment get'
get-environment alias for 'environment get'
help show help on a command or other topic
help-tool show help on a juju charm tool
init generate boilerplate configuration for juju environments
machine manage machines
publish publish charm to the store
remove-machine alias for 'machine remove'
remove-relation remove a relation between two services
remove-service remove a service from the environment
remove-unit remove service units from the environment
resolved marks unit errors resolved
retry-provisioning retries provisioning for failed machines
run run the commands on the remote targets specified
scp launch a scp command to copy files to/from remote machine(s)
set set service config options
set-constraints set constraints on the environment or a service
set-env alias for 'environment set'
set-environment alias for 'environment set'
ssh launch an ssh shell on a given unit or machine
stat alias for 'status'
status output status information about an environment
switch show or change the default juju environment name
sync-tools copy tools from the official tool store into a local environment
terminate-machine alias for 'machine remove'
unblock unblock an operation that would alter a running environment
unexpose unexpose a service
unset set service config options back to their default
unset-env alias for 'environment unset'
unset-environment alias for 'environment unset'
upgrade-charm upgrade a service's charm
upgrade-juju upgrade the tools in a juju environment
user manage user accounts and access control
version print the current version
</pre>
[[Category:DevOps]]
[[Category:Service Orchestration]]
4,558

edits

Navigation menu