Git Product home page Git Product logo

cluster-sentiment-analysis's Introduction

User Guide

This is a user guide for Team35's Cloud Assignment 2

Specification

To use this application to do the Deployment Automation, you need to do the following in advance:

  1. You need to install Anisble on your PC properly with no dependency problem
  2. You need to have a key pair and use key-agent to add in the key pair: // Suppose you have a key pair id_rsa and id_rsa.pub at /root/.ssh/ sudo ssh-agent bash ssh-add /root/.ssh/id_rsa

Functionality

  • Launch instances in Nectar Cloud, create volumes and attach them to the instances
  • Make file system and mount the volumes at /mnt/database/
  • Install CouchDB and build a CouchDB cluster (Register as service so that it will start when system boots up and always restart when being shut down)
  • Install Spark and build it as standalone mode (Master-slaves) (Register as service so that it will always restart when crashing down)
  • Install Python 3.5 and clone our python code from GitHub and run the code
  • Add new nodes to the existing cluster

Usage

  1. Unpack the package to a directory you like
  2. Change the privilege of the directory which is called cloud recursely to let you have the right to run the sh file, you can simply do like this: chmod -R 777 could/
  3. Simply use sh command to execute the play.sh file without to do any change: // Make sure you run this command inside the directory could/ sh play.sh
  4. Follow the instruction and do the things you want to do.

Working Demo

Youtube: https://youtu.be/nlcv2GNyFpQ

cluster-sentiment-analysis's People

Contributors

liuzihua-andrew avatar zhenxiangwang avatar lotharjiang avatar stormxiaoj avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.