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...
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.
mkdir -p ~/opt/packages && cd $_
Download the latest Cassandra tar file into...
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: https://www.virtualbox.org/wiki/Downloads We’ll select the Windows hosts latest option, which is about 106...
<meta charset ="utf-8">
Save this file as “index.html” in your learnjQuery folder....
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...
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...
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 http://aws.amazon.com. 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...