b12acd047b28c67cb6398b05c5976a011c42cfc6
[music.git] / docs / setup.rst
1 Setup for Developing MUSIC
2 ==========================
3
4 .. toctree::
5    :maxdepth: 1
6
7    Single-Site Install <single>
8    Multi-Site Install <multi>
9    Authentication <authentication>
10
11 MUSIC is to be installed in a single Dir on a vm. 
12
13
14 The main MUSIC dir should be::
15
16     /opt/app/music
17     # These also need to be set up
18     /opt/app/music/etc
19     /opt/app/music/logs
20     /opt/app/music/lib/zookeeper
21
22 When installing Tomcat, Cassandra and Zookeeper they should also be installed here.::
23
24     /opt/app/music/apache-cassandra-n.n.n
25     /opt/app/music/zookeeper-n.n.n
26     /opt/app/music/apache-tomcat-n.n.n
27
28
29 You could also create links from install dirs to a common name ie\:::
30
31     ln -s /opt/app/music/apache-cassandra-n.n.n cassandra
32     ln -s /opt/app/music/zookeeper-n.n.n zookeeper
33     ln -s /opt/app/music/apache-tomcat-n.n.n tomcat
34
35 Cassandra and Zookeeper have data dirs.::
36     
37     # For cassandra it should be (This is the default) 
38     /opt/app/music/cassandra/data    
39     # For Zookeeper it should be 
40     /opt/app/music/zookeeper/
41
42
43 Continue by selecting the link to the setup you are doing.
44
45 .. toctree::
46    :maxdepth: 1
47
48    Single-Site Install <single>
49    Multi-Site Install <multi>
50    Authentication <authentication>