Cassandra Installation over Ubuntu 1. Installing VMware player:



Similar documents
Apache Hadoop 2.0 Installation and Single Node Cluster Configuration on Ubuntu A guide to install and setup Single-Node Apache Hadoop 2.

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

Installing Hadoop. Hortonworks Hadoop. April 29, Mogulla, Deepak Reddy VERSION 1.0

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

DraganFly Guardian: API Instillation Instructions

Partek Flow Installation Guide

A SHORT INTRODUCTION TO DUPLICITY WITH CLOUD OBJECT STORAGE. Version

Using VirtualBox ACHOTL1 Virtual Machines

Cloud Homework instructions for AWS default instance (Red Hat based)

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

Running Knn Spark on EC2 Documentation

Creating a DUO MFA Service in AWS

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

Signiant Agent installation

HADOOP - MULTI NODE CLUSTER

Solr Bridge Search Installation Guide

cloud-kepler Documentation

HP SDN VM and Ubuntu Setup

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Student installation of TinyOS

The objective of this lab is to learn how to set up an environment for running distributed Hadoop applications.

Installing Proview on an Windows XP machine

2. Boot using the Debian Net Install cd and when prompted to continue type "linux26", this will load the 2.6 kernel

Getting started Cassandra Access control list

Hadoop Data Warehouse Manual

How to upload - copy PowerChute Network Shutdown installation files to VMware VMA from a PC

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Ulteo Open Virtual Desktop Installation

USB HSPA Modem. User Manual

IMPLEMENTATION OF CIPA - PUDUCHERRY UT SERVER MANAGEMENT. Client/Server Installation Notes - Prepared by NIC, Puducherry UT.

Installing Hadoop. You need a *nix system (Linux, Mac OS X, ) with a working installation of Java 1.7, either OpenJDK or the Oracle JDK. See, e.g.

CDH installation & Application Test Report

OpenGeo Suite for Linux Release 3.0

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Ciphermail Gateway Separate Front-end and Back-end Configuration Guide

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Linux Development Environment Description Based on VirtualBox Structure

Hadoop Installation. Sandeep Prasad

Laboration 3 - Administration

Installation Guide. (You can get these files from

Snow Active Directory Discovery

ESX System Analyzer Version 1.0 Installation Guide

Field Installation Guide

Linko Software Express Edition Typical Installation Guide

CommandCenter Secure Gateway

Deployment of Keepit for Windows

VERSION 9.02 INSTALLATION GUIDE.

The Tor VM Project. Installing the Build Environment & Building Tor VM. Copyright The Tor Project, Inc. Authors: Martin Peck and Kyle Williams

OpenL Tablets 5.14 OpenL Tablets BRMS

LAMP Quickstart for Red Hat Enterprise Linux 4

1. Product Information

Introduction to Big data. Why Big data? Case Studies. Introduction to Hadoop. Understanding Features of Hadoop. Hadoop Architecture.

HADOOP. Installation and Deployment of a Single Node on a Linux System. Presented by: Liv Nguekap And Garrett Poppe

Adafruit's Raspberry Pi Lesson 6. Using SSH

Installation documentation for Ulteo Open Virtual Desktop

Online Backup Client User Manual Linux

Local Caching Servers (LCS): User Manual

APPLICATION NOTE. How to build pylon applications for ARM

Virtual Desktop Infrastructure in

SSL VPN Setup for Windows

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.

Configuring MailArchiva with Insight Server

RecoveryVault Express Client User Manual

How To Use Outlook On A Virtual Desktop On A Pc Or Macbook

Installation of PHP, MariaDB, and Apache

Download and Install the Citrix Receiver for Mac/Linux

Written by Wirabumi Software Sunday, 30 December :27 - Last Updated Thursday, 03 January :52

ULTEO OPEN VIRTUAL DESKTOP V4.0

13.1 Backup virtual machines running on VMware ESXi / ESX Server

18.2 user guide No Magic, Inc. 2015

Online Backup Linux Client User Manual

CloudBackup Installer Guide Linux. System Requirements. Get Started - Linux

Online Backup Client User Manual

Mesa DMS. Once you access the Mesa Document Management link, you will see the following Mesa DMS - Microsoft Internet Explorer" window:

研 發 專 案 原 始 程 式 碼 安 裝 及 操 作 手 冊. Version 0.1

CPE111 COMPUTER EXPLORATION

SETTING UP A LAMP SERVER REMOTELY

Virtual Office Remote Installation Guide

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

Monitoring Netflow with NFsen

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

ARIS Education Package Process Design & Analysis Installation Guide. Version 7.2. Installation Guide

Running Kmeans Mapreduce code on Amazon AWS

Hadoop (pseudo-distributed) installation and configuration

Step One: Installing Rsnapshot and Configuring SSH Keys

ECT362 Installing Linux Virtual Machine in KL322

Configuration Manual Yahoo Cloud System Benchmark (YCSB) 24-Mar-14 SEECS-NUST Faria Mehak

CommandCenter Secure Gateway

JAMF Software Server Installation Guide for Linux. Version 8.6

Personal Virtual Server (PVS) Quick Start Guide

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

NAS 253 Introduction to Backup Plan

Cloud Computing. Command Line Tools

Installation Guide for AmiRNA and WMD3 Release 3.1

Transcription:

Cassandra Installation over Ubuntu 1. Installing VMware player: Download VM Player using following Download Link: https://www.vmware.com/tryvmware/?p=player 2. Installing Ubuntu Go to the below link and download the image of ubuntu 12.04 http://www.traffictool.net/vmware/ubuntu1204t.html Open VMware Player and click open virtual machine.

Select path where you have extracted image of Ubuntu. After that select the.vmx file and click Open. 1 1 Now you can see the below screen in VMware Player. Click on the PLAY VIRTUAL MACHINE Option shown in the following figure: 2 1

This will redirect you to the Ubuntu Desktop as shown in following figure: Click on Search and Type Terminal to search. Select the Terminal Icon to Open Ubuntu Terminal. Click on SEARCH Click on Terminal to Open Terminal.

The below screen shot is the Ubuntu Terminal. Create a temp folder using the following command: mkdir ~/temp Use the following command to get out of temp folder. cd.. In this temp folder we will keep cassandra files.

3. Installing JAVA: To update the use following Command: sudo apt-get update The above command downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. To install JAVA use the following Command: sudo apt-get install openjdk-7-jre-headless Password for user is password It will ask the following highlighted option. Answer it as y Wait till it becomes 100%

To check whether JAVA got installed or not use following command: java -version Run the following commands to set JAVA_HOME and PATH: JAVA_HOME=/usr/local/java/jdk1.7.0_25 PATH=$PATH:$HOME/bin:$JAVA_HOME/bin JRE_HOME=/usr/local/java/jdk1.7.0_25 PATH=$PATH:$HOME/bin:$JRE_HOME/bin export JAVA_HOME export JRE_HOME export PATH Use following Commands to make above Paths persistent. sudo nano /etc/profile

This will redirect you to the following /etc/profile file as shown in below screen shot. The /etc/profile file controls system-wide default variables. Scroll down.

Paste the Command that you used for setting the pathh variables (as shown in below figure) and save by using the Ctrl+O command and enter. The above highlighted part in the The path variables got saved as shown in above figure. Close the Terminal. And open New Terminal for Cassandra Installation.

4. Installing Cassandra Download the binary files for Cassandra from the Web. Use a location to store (say temp folder) the downloaded file. cd ~/temp Use the following address to download the binary files from the Web (or Internet). wget http://www.us.apache.org/dist/cassandra/1.2.11/apache-cassandra-1.2.11- bin.tar.gz Wait till it gets 100% Done.

Use following Command to untar the tar file: tar -xvzf apache-cassandra-1.2.11-bin.tar.gz Use following command to move the untar file to cassandra. mv apache-cassandra-1.2.11 ~/cassandra By default, Cassandra uses /var/lib/cassandra and /var/log/cassandra, We will check for following key points: Following are the syntaxes to create data and logging directories needed by Cassandra. sudo mkdir /var/lib/cassandra sudo mkdir /var/log/cassandra Username : user Password : password Following Commands are used to change the Owner and Group setting So, that Cassandra can easily perform WRITE over these data and logging directories. sudo chown -R $USER:$GROUP /var/lib/cassandra sudo chown -R $USER:$GROUP /var/log/cassandra

Now it s time to set the Cassandra Variables. Run the following Commands to set the Cassandra Variables. export CASSANDRA_HOME=~/cassandra export PATH=$PATH:$CASSANDRA_HOME/bin Now We will be configuring Cassandra s per thread stack size to a larger one than default. That can be done by using following Steps: Open the cassandra-env.sh file using following command; nano ~/cassandra/conf/cassandra-env.sh This will redirect you to the following cassandra environment file:

Scroll the file till you get the following highlited Text: Change the highlighted text (JVM_OPTS) to the below shown New values. Save it using command Ctrl+O Save Done. Use Ctrl+X to exit.

5. Running Cassandra For running the Single-Node Cluster of Cassandra, We will simply run the following Commands: (For running the Multi-Node Cluster We have to configure the cassandra.yaml in according to the cluster setup.) Start the Cassandra Server by using following Command: sudo sh ~/cassandra/bin/cassandra Wait till starts showing Satrtup completed! Now serving reads.

Run the Cassandra cli using the following command: sudo sh ~/cassandra/bin/cassandra-cli And if you if find that - Connected to: Test Cluster as shown in following image: INSTALLATION DONE!!!! YOU ARE RUNNING YOUR SINGLE-NODE CASSANDRA CLUSTER.