Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Ensure you have OpenJDK 8, and maven on your machine.

NOTE: If you are having trouble with some of the apt-get installation packages, enter the name of the vm alongside localhost in the line for 127.0.0.1 in /etc/hosts. Some of the apt-get installation may require this.

...

  • Create a music.properties file and place it in /opt/app/music/etc/.
  • The Here is a sample of the file, the cassandra.user & cassandra.password were created in should be replaced by your values from step 4 of Cassandra installation above.
  • Here is a sample of the file:
Code Block
languagebash
themeMidnight
titlemusic.properties
my.id=0
all.ids=0
my.public.ip=localhost
all.public.ips=localhost
#######################################
# Optional current values are defaults
#######################################
# If using docker this would point to the specific docker name.
#zookeeper.host=localhost
#cassandra.host=localhost
#music.ip=localhost

#debug=true
#music.rest.ip=localhost
#lock.lease.period=6000
# Cassandra Login - Do not user cassandra/cassandra
cassandra.user=<new_user>
cassandra.password=<new_password>
# AAF Endpoint
#aaf.endpoint.url=<aaf url>
  • Make a

    dir

    directory for MUSIC logs. The logs will be placed here after MUSIC starts

    Code Block
    languagebash
    themeMidnight
    titlemusic.properties
    mkdir /opt/app/music/
    logs MUSIC dir with MUSIC
    logs
    will be created in this dir after MUSIC starts.
  • Build the MUSIC.war and place in tomcat webapps dir. 
  • Authentications/AAF Setup For Authentication setup.
  • Start tomcat and you should now have MUSIC running.

...