blob: 82ebf3fb7b4f6af606ba35dbf09ef89a968f7a66 (
plain)
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
72
73
74
75
76
77
78
79
80
81
|
.. contents::
:depth: 3
How to Docker setup on Single VM
================================
Prerequisites
-------------
1. Linux distribution Ubuntu is assumed (version 16.04 preferred)
2. Make sure that git, docker and docker-compose are installed
Step-by-step guide
------------------
1. You would need to have a root access to the vm
.. code-block:: bash
sudo su - root
2. Navigate to /opt directory
.. code-block:: bash
cd /opt
3. Clone the test-config git project
.. code-block:: bash
git clone http://gerrit.onap.org/r/aai/test-config
4. Navigate to /opt/test-config directory
.. code-block:: bash
cd test-config
5. Create a directory called /opt/config
.. code-block:: bash
mkdir /opt/config/
6. Create a file called /opt/config/nexus\_username.txt containing the text: docker
.. code-block:: bash
echo "docker" > /opt/config/nexus_username.txt
7. Create a file called /opt/config/nexus\_password.txt containing the text: docker
.. code-block:: bash
echo "docker" > /opt/config/nexus_password.txt
8. Create a file called /opt/config/dmaap\_topic.txt containing the text: AAI-EVENT
.. code-block:: bash
echo "AAI-EVENT" > /opt/config/dmaap_topic.txt
9. Create a file called /opt/config/nexus\_docker\_repo.txt containing text: nexus3.onap.org:10001
.. code-block:: bash
echo "nexus3.onap.org:10001" > /opt/config/nexus_docker_repo.txt
10. Create a file called /opt/config/docker\_version.txt containing text: 1.1-STAGING-latest
.. code-block:: bash
echo "1.1-STAGING-latest" > /opt/config/docker_version.txt
11. Please note that in the previous step, docker version is currently 1.1-STAGING-latest and this will be changed later. Finally, run the installation scripts
.. code-block:: bash
./deploy_vm2.sh && ./deploy_vm1.sh
|