- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 158字
- 2021-07-03 00:19:26
Installing the binary tarball
You can use the binary tarball to install Cassandra on any Linux-based platform including Mac OS X and platforms without package support or if you do not want a root installation:
- Download the Apache Cassandra 3.0.9 binary tarball from the following:
http://www.apache.org/dyn/closer.lua/cassandra/3.0.9/apache-cassandra-3.0.9-bin.tar.gz.
- Use the following command to untar:
$ tar -xvzf apache-cassandra-3.0.9-bin.tar.gz
- To configure Cassandra, go to the $INSTALL_LOCATION/conf directory and make the relevant changes. You can do this once you get an idea of Cassandra internals later in the book. INSTALL_LOCATION in this case will be $CURRENT_DIRECTORY/apache-cassandra-3.0.9/.
- Start Cassandra:
$ cd apache-cassandra-3.0.9/
$ bin/cassandra # Use -f to start Cassandra in the foreground
- Verify that Cassandra is running:
$ bin/nodetool status
You might want to add CASSANDRA_HOME=$INSTALL_LOCATION and PATH=$PATH:$INSTALL_LOCATION/bin in the .bashrc or .bash_profile files so every time you open a new terminal, you can simply launch cassandra, nodetool, or cqlsh by entering the command on terminal without changing directory every time.
推薦閱讀
- ArchiCAD 19:The Definitive Guide
- Microsoft Dynamics CRM Customization Essentials
- Dreamweaver CS3 Ajax網(wǎng)頁設(shè)計入門與實例詳解
- 面向STEM的mBlock智能機器人創(chuàng)新課程
- 工業(yè)機器人產(chǎn)品應(yīng)用實戰(zhàn)
- 樂高機器人EV3設(shè)計指南:創(chuàng)造者的搭建邏輯
- Hadoop 2.x Administration Cookbook
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- JMAG電機電磁仿真分析與實例解析
- 傳感器技術(shù)應(yīng)用
- 大學(xué)計算機應(yīng)用基礎(chǔ)
- CompTIA Linux+ Certification Guide
- JSP從入門到精通
- 21天學(xué)通C語言
- 單片機C語言程序設(shè)計完全自學(xué)手冊