Installing MQTT Broker on Ubuntu 20.04

 Installing MQTT Broker on Ubuntu 20.04 If you remember, last time we discussed MQTT, What is MQTT? Why it used and where it used. So now, I think probably you are going to use MQTT. That’s why you’re reading this post. If you need some introduction to MQTT, please check my previous blog post. Then […]

Linux Device Drivers | Part 4 | Read Write from a driver

I think you are now familiar with insmod and rmmod. Now let’s try to make a little complex driver. A driver which can write on memory and read from memory. For this we need to insmod the driver, then open the driver and read/write. After the operations are finished we need to close the driver. […]

Linux Device Drivers | Part 3 | Hello World

Let’s build our first simple driver. The HelloWorld driver. This is the code of the HelloWorld driver. This is the .C code for the HelloWorld driver. When you insmod the driver, “Hello World!” will print. and when you rmmod the driver, “Good Bye” will print. Since this is a Linux driver file or Kernel module, […]

Linux Device Drivers | Part 2 | Understanding Linux

  Splitting the kernel Alright, we know that the Kernel is the core of the OS. So lets see what are the things the Kernel do for the OS. 01. Process Management The kernel will manage all processors which happening in the OS. 02. Memory Management  The Linux Kernel has a ability to process on […]

Linux Device Drivers | Part 1 | Introduction

A device is an impotent part of our day-to-day life. For example, think about a printer, it can print your documents. But, without a printer driver, it does not work properly. So, let’s talk about how to build your own driver for Linux. Introduction The advantage of free operating systems is, anyone can do anything […]

How to install PyCharm IDE for Ubuntu 14.04+

Pycharm is a Python IDE for professional developers. Also I believe it is a better IDE for new users. As a linux user you may think installing Pycharm is somewhat hard as other softwares. Also if you are new to Linux, then you will probably imagine it is lots of coding. Well, lets start installing […]

Autoupgrade Fedora with rpm-ostree

We can upgrade fedora with rpm-ostree using the command `rpm-ostree upgrade`. Also we can do the same with a shell script. For upgrading I have made a shell script (autoupdate.sh) as shown in this link. Accrding to the script first I check the network connection and then if the network connection is found, it starts […]

Editing Ostree source code

After we checking in how to upgrade/ rollback the upgrades, now lets see how to get the source code of ostree or rpm-ostree and how to edit it. you can view the source codes of Ostree or rpm-ostree form following links; Ostree source code is at; https://github.com/ostreedev/ostree rpm-ostree source coad is at; https://github.com/projectatomic/rpm-ostree To edit […]

Upgrade/Rollback Fedora using rpm-ostree

rpm-ostree is a hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model. Features of rpm-ostree: Atomic upgrades and rollback for host system updates A server side tool to consume RPMs and commit them to an OSTree repository A system daemon to consume ostree commits as updates   […]