-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
71 lines (52 loc) · 1.49 KB
/
README
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
------------
Installation
------------
Ref.: https://juju.ubuntu.com/docs/getting-started.html
sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update && sudo apt-get install juju
juju status
vim ~/.juju/environments.yaml
----------------------------
Configure Juju environnement
----------------------------
environments:
sample:
type: ec2
access-key: ${AWS_ACCESS_KEY}
secret-key: ${AWS_SECRET_KEY}
control-bucket: juju-bad157a4727149b392f4c0025b581b03
admin-secret: 9184718a702e4ed69cafa2e6a6a2748e
default-series: precise
ssl-hostname-verification: true
----------------------
Configure dnmap charms
----------------------
Setup dnmap-server
------------------
vim ~/dnmap-server-config.yaml
dnmap-server:
command: nmap -sS -O ${TARGET}
Deploy service
--------------
juju deploy --config ~/dnmap-server-config.yaml --repository=~/dnmap-charms/ local:precise/dnmap-server
Get status
-----------
juju status
Upgrade service
---------------
juju upgrade-charm --repository=~/dnmap-charms/ dnmap-server
Setup dnmap-client
------------------
vim ~/dnmap-client-config.yaml
dnmap-client
------------
server: ${SERVER_IP_ADDRESS}
Deploy service
--------------
juju deploy --config ~/dnmap-client-config.yaml --repository=~/dnmap-charms/ local:precise/dnmap-client
Get status
----------
juju status
Upgrade service
---------------
juju upgrade-charm --repository=~/dnmap-charms/ dnmap-client