To start using Couchbase solution as data store for your mobile application you need to setup up couple of things. This stack is named Couchbase Mobile and consist of three components: Couchbase Lite (Embedded NoSQL database) Couchbase Sync Gateway (Server component to synchronize data between the device and server) Couchbase Server (NoSQL database server) Download the above components from here. Going forward we are going to setup the two server components from the above list on Ubuntu machine (Ubuntu 14.04 at the time of writing). For the sake of writing, I have used droplet from Digital Ocean. But it is not restricted to any hosting provider. You can spin up a Ubuntu machine on Amazon Web Service, Microsoft Azure or any other hosting provider of your choice. AWS also provides a ready made package for the same in AWS marketplace you can use. Once you have a Ubuntu machine » Read more

 Jsinh        

In continuation of Installing Ghost on Ubuntu, Nignx and MySQL - Part 1 Now that you have secured your SSH connections, it is time to put up a firewall to secure all inbound network traffic. Configuring UFW Step: Install UFW (Uncomplicated firewall - not complicated at all, promise) sudo apt-get update sudo apt-get install ufw Step: Add rules to allow inbound SSH (custom we configured previously) and HTTP (on port 80) traffic. sudo ufw allow http sudo ufw allow <your custom SSH port configured previously> Step: Enable UFW and check status sudo ufw enable sudo ufw status verbose You can check if your firewall is blocking other ports except SSH custom port and HTTP 80 using PortQryUI on windows or just telnet on windows using Telnet client feature or linux sudo apt-get install telnet (just to be sure). Also you can disable serving ping request (ICMP) on your » Read more

 Jsinh        

These days Redis sparkle in my eyes, for lots of reason but the basic and most important reason is that it is deaam fast. Now we all know this can bring up an never ending debate but I am not going to be part of it because its fast and here I am not referencing it with comparison to other data-stores available. Redis is an open source, advance key-value store. This key thingy can be strings, hashes, lists, sets and / or sorted sets. Quite a list :) Note: This post was tested and written for Redis Version 2.8.3. This may or may not work for other or latest version of Redis Server. I was impressed when I queried who is using Redis and the long list of clients libraries for most of the language available to work with Redis as your Key-Value store. It is made to run on » Read more

 Jsinh