Open Source Gift Ideas for the Holiday Season

Open Source Gift Ideas for the Holiday Season

It is the holiday season and a time to share and exchange presents. And what better way to share some love this holiday season than by giving your loved ones an open More »

Wekan – Open Source Alternative to Trello

Wekan – Open Source Alternative to Trello

Wekan is an open source collaborative project management tool similar to Trello like boards. It offers some of the Kanban functionalities and features as well. On Wekan one can easily create boards, More »

The Zero Terminal – Pocket Computer that works!

The Zero Terminal – Pocket Computer that works!

The real joy of tinkering with Raspberry Pi is to build something nifty and fun. To hack a really whacky and crazy idea into a working prototype. That we all love and More »

OpenAg – Open Source Food Computer

OpenAg – Open Source Food Computer

MIT Open Agriculture (OpenAg) is a wonderful execution of an open source initiative for controlled-environment agriculture platform referred to as “Food Computer”. All hardware, software and even data is open sourced so More »

Intel Edison bites the dust – No more in IoT space

Intel Edison bites the dust – No more in IoT space

Has Intel finally thrown in the towel in the IoT space? Earlier this year, Intel announced that it will discontinue their IoT platforms namely, Galileo, Joule, and Edison. We wrote about Edison More »

 

Tag Archives: how-to

How-to setup a simple UFW firewall on Ubuntu

We all need to install some form of firewall to secure our systems from any malicious activity. Not just our servers and VPS machines, but also our laptops which we access on public networks. UFW (Uncomplicated FireWall) is an ideal solution for setting up a firewall on your system.

UFW firewall is completely open source and is actually built on top of the iptables making it easier for us to manage and run the firewall.

This is the third article in the series on “Systems Security”. Here we discuss UFW firewall implementation on your system. The articles in the System Security series are listed below.

  1. How to setup SSH keys based authentication
  2. How to disable password based authentication
  3. How to setup UFW Firewall (current article)

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

Howto Login to servers using SSH keys authentication

Using public key authentication is far more secure and smart way to manage server authentication. And it is quite easy to implement and use. Fortunately, unix/linux terminals allow users to create public/private SSH keys combination that can be used to authenticate and login to servers without any hassle.

The traditional SSH authentication using the combination of username/password is good but really not that secure anymore. The passwords can be guessed or even broken using brute force attack. At times even a compromised terminal can give away the passwords to hackers.

This is the first article in the series on “Systems Security”. The complete list of articles in the System Security series are listed below.

  1. How to setup SSH keys based authentication (current article)
  2. How to disable password based authentication
  3. How to setup UFW Firewall
Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to setup virtual environment with Python3

Python3 is now becoming extremely popular over the traditional Python2.7. And the reasons are varied but many. For one, the support for data science libraries in v3 is far better and greater than version 2. But for the most important and critical reason is, the popular Python 2.7 is being officially retired by 2020. Which simply means that there will be no official support for it beyond that year. So it’s time to migrate your code to the latest edition. Here in this tutorial, we will show how to setup a virtual environment for Python3 for our development purposes.

In this tutorial, we will use Anaconda. It is an open source software, primarily designed to support scientific and analytic Python (and R) packages. Over time it has grown to support  more than 700 packages in both Python2.7 and Python3.x versions. So along with the usual scientific packages like pandas, numpy, sklearn, we have the traditional offerings like Flask, Pymongo libraries supported natively. Furthermore, with the use of pip within anaconda, we can download all that is available for Python out there.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to check elapsed time in Terminal

When we have processes running for a while and we want to know how long they have been running, there are a few nifty ways we can check them on Mac and Linux/Unix. Here is one such method to check elapsed time in BASH.

First grab the process ID (PID) using the following command. In the following command, we are trying to grab the process ID of mongoDB.

pgrep mongo

pgrep command tells shell prompt on Mac/Linux/Unix terminal to capture the process ID (PID) of the process we are interested. In this case it is mongoDB.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to Install Microsoft Exchange Support for Evolution Mail Client

Connecting to Microsoft Exchange is never that easy. Especially, if one is trying to do it using open source and free softwares. There are plug-ins to be installed and configured, additional libraries to be installed. And it gets murkier as Exchange also has many versions (Pre 2007 is not web services based). In short, it requires a bit of tinkering on a Linux platform.

Evolution, by Novell is an excellent mail client. It offers not only mail, but calendaring, note taking, address book management and many other features offered by the popular MS-Outlook. What’s more, it even looks like Outlook. Hence, it is ideal software for those migrating from Windows desktop to a Linux. However, and some odd reason (maybe licensing issues) it does not support Microsoft Exchange out of the box. One has to install the drivers/plug-ins to get it going.

Like many others, I have struggled to get the plug-ins going for Exchange. Especially the off-the shelf versions do not always work perfectly. However, I have found one recent guide available online that gets the work done in matter of minutes. And yes, exchange works fine after that.

ExRatione has done an excellent job in putting together a script and a guide to install evolution from scratch with full support for MS-EWS (Microsoft Exchange Web Services). Use this guide to get it going and you will not be disappointed.


Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

Installing Ubuntu within MacOS X

Many of us have wanted to try and install Linux but cannot part ways with our Windows or Mac OSX. Sometimes, we are not sure if it is worth the switch or if we will ever be comfortable in the new alien environment. But, there are alternatives to this. We can still run Ubuntu and other Linux within our Windows or Mac without needing to uninstall either. Yes, we can actually run Windows and Linux simultaneously using a simple and small software application called Virtualbox.

Of Course, such a solution works great on a fast computer with lots of memory and hard disk space. We recommend at least an Intel’s Core2Duo computer running 4GB of RAM. If you do it in anything less, you might run into performance issues.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to Install Ubuntu Linux

A lot of my friends have asked me to install Ubuntu Linux on their computers as an alternate to Microsoft Windows. And many more have asked for a suitable and easy to follow guide for doing just that. So here it is. A simple and easy visual guide that I have put together for everyone, even non-techies to use. I have deliberately tried to keep it simple, easy and visual so that anyone can use it to install the operating system. Ubuntu installation is anyways a breeze and this guide will only make it more so.

Do not worry about the version of Ubuntu that you are installing. All versions are similar when it comes to installation. Hence, Ubuntu 11.04, 12.04, 12.10 etc will all install in a similar fashion.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.