Skip to content
rzepetto edited this page May 27, 2019 · 1 revision

Advanced Setup

This section describes setup for those who would like to participate in AEM Rules development cycle.

For quickest dig in we recommend to use docker containers with volume attached in.

Linux Setup

  1. Install docker service (please follow to https://docs.docker.com/install/)

  2. Run command below

    docker run -d --name sonarqube -p 9000:9000 -v /path/to/shared/directory:/opt/sonarqube/extensions sonarqube

  3. Check logs to see if SonarQube is running. docker logs sonarqube -f

Windows Setup

Prerequisites

  • Docker tool for Windows ( but we would rather not to use this option )
  • VirtualBox or Vagrant (any tool that can run VM with linux )
  • Port forwarding rules to be able to open SonarQube locally and to connect to ssh
  • Download iso file with Linux.
  1. Create new virtual machine for linux enterprise.

  2. Run this vm with downloaded iso file.

  3. Setup shared directory for VirtualBox machine (GuestAdditions required).

  4. Expose ports for VM.

    • In VirtualBox go to
    1. VM settings -> network -> advanced -> port forwarding
    2. Set 1st rule for ssh connection - We recommend to not to use port 22 for host. Example
    Name Protocol Host IP Host Port Guest IP Guest Port
    SSH SSH 322 22
    SSH SonarQube 9000 9000
  5. Install docker service (please folllow to https://docs.docker.com/install/)

  6. Run command below

    docker run -d --name sonarqube -p 9000:9000 -v /path/to/shared/directory:/opt/sonarqube/extensions sonarqube

  7. Check logs to see if SonarQube is running. docker logs sonarqube -f

Clone this wiki locally