Category: Documentation

How to Install and Use Cassandra on Django

Django is a Python web server while Cassandra is a high availability database. This article will be a complete guide for installation and use of Django with Cassandra.   Django Installation Installing Python Since Django is a Python web server, you’ll need Python. You can check if you have Python already. python –version However, if you’re using a Mac, I have had a lot of problems with the default system Python with the combination of Cassandra and Django. I would...


How to Install Cassandra 2.1.6 on Mac OS

Cassandra is a useful NoSQL database management system with praise for its high availability. Let’s demonstrate how to install Cassandra 2.1 on Mac OS X. Step 1) Install the Oracle Java Development Kit (JDK) On Macs, you can easily download the corresponding dmg file and install. After installing, check that you have installed the JDK.

  Step 2) Install Cassandra Make a directory for your Cassandra package and change directory into it.

Download the latest Cassandra tar file into...


How to Install and Use VirtualBox?

Whoa… VirtualBox! VirtualBox is a fantastic program for creating virtual instances of your everyday regular computer machines. We normally use the program to pop up virtual Linux distribution machines like CentOS and Ubuntu so that even when we’re using a Windows or Mac machine, we can still have a window that is running Linux. 1) Download VirtualBox You can find the latest virtual box at the following link: We’ll select the Windows hosts latest option, which is about 106...


How to use jQuery to Grab Data from JSON files

Using asynchronous Javascript or AJAX to load information from JSON is very common in web development. Here is an example of using jQuery to show data on the website by loading external JSON file. Step 1) Create a folder called learnjQuery on your website.   Step 2) Create the html file Use sublime text or whatever text editor you like to create an html file. Enter the following code to set-up your html file.

Save this file as “index.html” in your learnjQuery folder....


How to Install Django on Mac

Section 1: Install Django on your local machine and run a simple page If you have already installed Django, please jump to the next section. If you are not sure if you have Django on your computer, please open terminal and enter: python -c “import django; print(django.get_version())” If you already have Django installed, it should show something like this: If you don’t have Django, please follow the rest of these steps. Step 1: Verify that you have Python on your computer Django...


8 Steps to Install Cygwin on Windows

Cygwin provides the Linux feeling on Windows. With Cygwin, you can get a sizable Linux collection of GNU and Open Source tools including a terminal that supports POSIX interface on Windows. Step 1) Check whether your System type is 32 bit or 64 bit. If you have Windows 8 or 8.1, right click on This PC on your Desktop, then click on Properties. If you don’t have This PC on your Desktop, you can also use Windows’ search to look...


14 Steps to Create a Website with Amazon Web Services EC2 instance – Ubuntu

Setting up an Amazon Web Services EC2 instance for the first time can be a pain in the ass. It’s time for an easy tutorial on how to get a website set up on an AWS EC2 Ubuntu instance. Step 1: Go to Sign up for an Amazon Web Services account if you don’t already have an account. Sign into your account if you have one.   Step 2: Click on EC2 Virtual Servers in the Cloud on the left side...