How-to install Python 3.6.1 on CentOS 7

Posted on Wed, 05 July 2017 in development • Tagged with development, python, linux, centos

This article is a revisit to a previous article dating back a little over an year, in which I installed Python 3.5.1 from sources. This time I will install Python 3.6.1 from a yum repository.


Continue reading

Protect SSH with Fail2ban on CentOS 7

Posted on Sun, 02 April 2017 in development • Tagged with linux, security, worknotes

At the very moment, you expose your new Linux server to the internet, it starts to get automated SSH login attempts. There can easily be thousands of them in a short time period. Is there something we can do about this?


Continue reading

Tackle spam with SpamAssassin on CentOS 7 & Postfix

Posted on Sun, 26 February 2017 in development, ops • Tagged with development, email, centos, linux

A technical walkthrough on how to install SpamAssassin to accompany Postfix on CentOS 7 Linux platform.


Continue reading

Removing PM2 enabled Node.js App

Posted on Sun, 17 July 2016 in development • Tagged with javascript, nodejs, development, linux, systemd, centos

Short how-to article, on how to disable your PM2 enabled Node.js apps from restarting on CentOS server reboot.


Continue reading

Connecting to SQL Server from Python app on CentOS 7

Posted on Mon, 02 May 2016 in development • Tagged with development, python, linux, centos, sql server

In some projects I need to connect to SQL Server (2008 and 2012) from Python app running on CentOS 7 server. There are some steps needed to install necessary ODBC driver. Here’s how I did it.


Continue reading

How-to install Python 3.5.1 on CentOS 7

Posted on Tue, 26 April 2016 in development • Tagged with development, python, linux, centos

CentOS 7 has Python 2.7 installed out of the box and is used by the system itself to enable quite a few handy commands, such as yum.

As a Python coder I too have been struggling to decide between Python 2 and Python 3 for new projects. I made the transition to Python 3 during last year, for the benefits it gives me out of the box, e.g. default Unicode support. Read more here and here. It’s worth to note, that not all projects are supporting Python 3, yet.

So, how can I run my apps on …


Continue reading

Automate your Linux server backups

Posted on Sat, 25 July 2015 in development • Tagged with automation, linux, dropbox, bash, development

We all know pretty well that backups are necessity. I would like to share a simple and effective way to automate the backing up of your Linux server to Dropbox.


Continue reading

Environment monitoring with sensors and Raspberry Pi

Posted on Tue, 10 March 2015 in development • Tagged with linux, development, iot, raspberry pi

I recently delve into the numerous opportunities of light-weight computing, in form of a Raspberry Pi 2. You can find out how to do the basic setup of the Raspberry Pi for this experiment in an earlier blog post.

Experiment

The aim of this experiment is to monitor the room temperature and relative humidity at my home and outside temperature at given intervals, and to publish this info in some form. I chose this simple experiment to be my first real application of my new IoT platform.

Sensors and communication

For this experiment I needed a couple of wireless temperature …


Continue reading

Getting started with Raspberry Pi 2

Posted on Sun, 22 February 2015 in development • Tagged with development, raspberry pi, linux, iot

Internet of Things has been on top of hype for quite some time. Surely every nerd out there must have a go on this :) Here’s the beginning of mine.

Platform

I chose Raspberry Pi 2 as the basis for my experiments. Quite many of my friends have already produced some amazing stuff with this tiny and affordable computer. So I am relying on the fact, that help is available when needed, on top of the always helpful internet, of course.

Initial setup and first boot

When I purchaced my Raspberry Pi, I bought also a pre-installed NOOBS SD memory …


Continue reading

New stuff at your service

Posted on Sun, 15 February 2015 in development • Tagged with linux, development

New platform, new desing, new content. I have moved from a basic web hosting to my very own VPS. This change makes it possible to publish more versatile content, demo apps and APIs. Stay tuned!

What do you think? How does this site work? Is it easy and pleasant to use? Did you find, what you were looking for? How would you develop this site further? All feedback is welcomed!


Continue reading