1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
juju charm owncloud
author: Atul Jha <atul.jha@csscorp.com>
maintainer: Nathan Williams <nathan@nathanewilliams.com>
Preparation:
1. the charm comes with port, user, password configuration options.
if no user is provided, the administrator will be "owncloud".
if no password is provided, a random one is chosen during the
db-relation-joined hook. if you do this, you can obtain the auth
credentials from the juju logs.
Steps:
1. Install
juju deploy owncloud
2. Expose
juju expose owncloud
3a. Standalone Instance
Access owncloud service directly, and complete the setup, providing user credentials and initializing sqlite database.
3b. Shared Instances
juju deploy mysql
juju add-relation mysql owncloud
juju deploy nfs
juju add-relation nfs owncloud
4. Access
http://<owncloud-machine-addr>/. To find out the public address of owncloud,
look for it in the output of the `juju status` command.
#TODO
Genericize shared-fs-relation-* for non-nfs shared-fs providers
|