improve instructions for installation from tar
@@ -23,6 +23,8 @@ In order to execute the NFVO you need to have installed:
## Setup environment
+Execute the following commands:
+
```bash
sudo mkdir /var/log/openbaton
sudo chown -R $USER: /var/log/openbaton
@@ -30,6 +32,8 @@ sudo chown -R $USER: /var/log/openbaton
## RabbitMQ configuration
+Execute the following commands:
+
```bash
rabbitmqctl add_user admin openbaton
rabbitmqctl set_user_tags admin administrator
@@ -40,6 +44,8 @@ Restart RabbitMQ and ensure you can access it at http://localhost:15672 with use
## Set up MySQL
+Execute the following commands:
+
```bash
mysql -uroot -p
create database if not exists openbaton;
@@ -48,7 +54,11 @@ GRANT ALL PRIVILEGES ON openbaton.* TO admin@'%' IDENTIFIED BY 'changeme';
## Configure Open Baton
-The property file is called "openbaton.properties". Open the file and make sure the properties related to the database look like below:
+The property file is called "openbaton.properties".
+
+### Database
+
+Ensure your properties look like below:
```properties
# Active configurations
@@ -64,8 +74,33 @@ spring.datasource.validationQuery=SELECT 1
spring.datasource.testOnBorrow=true
```
+### RabbitMQ
+
+By default RabbitMQ is installed on the host of the NFVO.
+Be aware of the fact that if you want any of your additional external components to be executed on a different host, you will need RabbitMQ to be reachable also from the outside.
+
+In general, also the NFVO can be executed on a different host changing the following property:
+```properties
+nfvo.rabbit.brokerIp = localhost
+```
+
+to:
+
+```properties
+nfvo.rabbit.brokerIp = <the rabbitmq broker ip>
+```
+
+### Package Repository
+
+Set the IP of the Package Repository host in the following property:
+```properties
+nfvo.package-repository.ip=localhost
+```
+
## Start Open Baton
+Start Open Baton with this command:
+
```bash
./bin/openbaton-nfvo start
```
