diff --git a/README.md b/README.md index 51cdb2f903d01d39f234a6e287916655495349c9..87c59fe5209059408618ea02762307c5184d9266 100644 --- a/README.md +++ b/README.md @@ -8,35 +8,36 @@ Installation Do a minimal installation of CentOS 7. -Log in and install ansible: - # yum -y install epel-release - # yum -y install ansible git - # ansible-galaxy collection install ansible.posix +Log in and install ansible: +`yum -y install epel-release` +`yum -y install ansible git` +`ansible-galaxy collection install ansible.posix` -Clone soctools: - # git clone --single-branch --branch dev1 https://scm.uninett.no/geant-wp8-t3.1/soctools.git - # cd soctools +Clone soctools: +`git clone --single-branch --branch dev1 https://scm.uninett.no/geant-wp8-t3.1/soctools.git +cd soctools` Install soctools: -Edit group_vars/all/main.yml and change 'dslproxy' so that it point to the FQDN of the server. - # vi group_vars/all/main.yml +Edit group_vars/all/main.yml and change 'dslproxy' so that it point to the FQDN of the server. +`vi group_vars/all/main.yml` The first entry in the soctools_users variable is the user with full admin privileges in NiFi and Kibana. -To configure the server running soctools, run the ansible playbook: - # ansible-playbook -i soctools-inventory soctools_server.yml +To configure the server running soctools, run the ansible playbook: +`ansible-playbook -i soctools-inventory soctools_server.yml` -To build the Docker images needed, run the ansible playbook: - # ansible-playbook -i soctools-inventory buildimages.yml +To build the Docker images needed, run the ansible playbook: +`ansible-playbook -i soctools-inventory buildimages.yml` + +To build the CA needed for host and user certificates, run the ansible playbook: +`ansible-playbook -i soctools-inventory buildca.yml` -To build the CA needed for host and user certificates, run the ansible playbook: - # ansible-playbook -i soctools-inventory buildca.yml User certificates are can be found in the directory roles/ca/files/CA/private. Import into browser for authentication. -To start the cluster, run the ansible playbook soctools.yml: - # ansible-playbook -i soctools-inventory soctools.yml -t start +To start the cluster, run the ansible playbook soctools.yml: +`ansible-playbook -i soctools-inventory soctools.yml -t start` -To stop the cluster, run the ansible playbook soctools.yml: - # ansible-playbook -i soctools-inventory soctools.yml -t stop +To stop the cluster, run the ansible playbook soctools.yml: +`ansible-playbook -i soctools-inventory soctools.yml -t stop` The NiFi interface should now be available on port 9443 on the server. The OpenDistro for Elasticsearch interface should now be available on port 5601 on the server.