Juju charms for DNmap
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dnmap-client
dnmap-server
README

README

------------
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