...
- Download Apache Cassandra 3.0, install into /opt/app/music and follow these instructions http://cassandra.apache.org/doc/latest/getting_started/installing.html
Create a user in Cassandra
Edit conf/cassandra.yaml file
Code Block language bash theme Midnight authenticator: PasswordAuthenticator authorizer: CassandraAuthorizer
- Restart Cassandra
Login to cqlsh with default credentials (cqlsh can be found in $CASSANDRA_HOME/bin directory)
Code Block language bash theme Midnight ./cqlsh -u cassandra -p cassandra
Change default user create new user with the following command. Remember Fill in a username/password below and remember this username/password for music properties.
Code Block language sql theme Midnight CREATE USER new<new_useruser> WITH PASSWORD ‘new‘<new_password’password>’ SUPERUSER;
Change password for default user ‘Cassandra’ ‘cassandra’ so that no one will be able to login without proper authorization:
Code Block language sql theme Midnight ALTER USER cassandra WITH PASSWORD ‘SomeLongRandomStringNoonewillthinkof’‘<SomeLongRandomStringNoonewillthinkof>’;
Test to make sure Cassandra is running correctly by accessing it through cqlsh using the credentials created in step 4.
Code Block language bash theme Midnight ./cqlsh -u <new_user> -p <new_password>
Zookeeper Installation
- Download Apache Zookeeper 3.4, install into /opt/app/music and follow these instructions https://zookeeper.apache.org/doc/r3.4.11/zookeeperStarted.html pertaining to the standalone operation. By the end of this you should have Zookeeper working.
...
- Download the Version 8.5 Apache Tomcat and install it using these instructions https://tomcat.apache.org/download-80.cgi (this is for version 8.5).
- Follow RUNNING.txt instructions for completing tomcat installation. This file can be found in the tomcat directory. Or look at https://tomcat.apache.org/tomcat-8.5-doc/setup.html#Introduction for more in depth instructions
Music Installation
- Create a music.properties file and place it in /opt/app/music/etc/.
- The cassandra.user & cassandra.password were created in step 4 of Cassandra installation above.
- Here is a sample of the file:
...