Previously, we published a general guide on how to fix E: Sub-process /usr/bin/dpkg returned an error code message on SSH. Here is how to fix openssh-server E: Sub-process /usr/bin/dpkg returned an error. Do not close an active SSH session with this error. These errors are not uncommon on virtual servers, cloud servers for the virtual appliances. There can be a minor bug of the virtualization … [Read more...]
URL Format For Sending Commands Over HTTP (cURL) to IBM Watson IoT
HTTP commands open up wider way to control. This is the corrosponding GitHub repository with a basic example matched with this guide. Already we have shown the serious usages of the method through our Controlling AC Powered Appliances With ESP32 guide. Here is a Discussion on URL Format or Sending Commands Over HTTP (cURL) to IBM Watson IoT. IBM's platform is configured to accept events from … [Read more...]
How to Install OpenVPN on Cloud Server (Debian 10)
Reading our previous article on OpenVPN may be practical to many of the readers. You need to configure a non-root user with sudo privileges and ideally another server to certificate authority (CA). How to Create Own Certificate Authority (CA) With EasyRSA is a separate guide which is mandatory to read before proceeding with this guide. Also, try to follow our guide on Initial Cloud Server Setup … [Read more...]
Theory for Running OpenVPN on Server
OpenVPN is a free software for building a Virtual Private Network (VPN) via an encrypted TLS connection. For encryption OpenSSL or mbed TLS can be used. OpenVPN uses either UDP or TCP for transport. OpenVPN is under the GNU GPL and supports the Linux operating systems, Solaris, BSD, MacOS, QNX, Windows, Android, iOS. Also, there are customized implementations for a variety of Linux-based … [Read more...]
EV SSL Certificate for Sole Proprietorship Business
Itself EV SSL Certificate is a complex topic. Sole proprietorship business system designed mainly to run brick-and-mortar business with minimal cost, minimal paperwork. A sole proprietorship is good for making various websites a real entity beyond the domain name. But sole proprietorship itself just a kind of link of a name with an individual. Regulations around Sole Proprietorship varies from … [Read more...]
How to Install MySQL 8 on Debian 10 Buster
Debian Buster (Debian 10) is the latest release with MariaDB as default fork of MySQL in their repositories. We will install MySQL 8 in this guide. Debian 10 buster includes 40% updated software packages, such as Apache 2.4, BIND DNS Server 9.11, PHP 7.3, Python 3 3, Ruby 2.5, MariaDB 10.3 and so on. Ubuntu is based on a snapshot of Debian and naturally, they are similar in many ways. Ubuntu is … [Read more...]
How to Install Apache OpenWhisk on Ubuntu 18.04
It is possible to run own serverless setup instead of using service like IBM Cloud Functions. Here is How to Install Apache OpenWhisk on Ubuntu 18.04 to Create Own FaaS Environment. This is single VM/server deployment of OpenWhisk. One easy way to try OpenWhisk locally is to use Docker Compose. We will need to install Python and couchdb for OpenWhisk. A cloud server with 8GB RAM should be … [Read more...]
Fix : Hard Disk Full of MySQL Log Files, MySQL Failing to Start
Server hard disk full is quite common matter, especially on the cloud servers. Usual disk space allocated on common RAM size cloud server instance is 30-40GB. Bigger websites easily eat up 10GB space for the media files. System files including running applications take more than 10GB. And for WordPress, full hard disk will result showing up the infamous "Error Establishing a Database Connection" … [Read more...]
How to Connect Apache Kafka With MQTT
This is not a step by step guide with commands. This is a guide to get started moving from generic Kafka to Confluent Inc's Kafka, Connectors and ready to consume one GitHub repository. Initially it will appear that with the easiness we installed Apache Kafka and MQTT Server, with same easiness we can connect Apache Kafka with MQTT. There are actually many things to learn, think. MQTT is a … [Read more...]
How to Send Data from Arduino to MySQL Database
In our recent past discussions, we have send data from ESP32 Arduino to IBM Watson IoT by either using MQTT or by using HTTP POST. In the same way, we have discussed how with CouchDB we can send data from ESP32 Arduino. Also, we have discussed different types of cloud database for IoT. MySQL is widely used database for PHP driven web applications. We can send data from Arduino, ESP32 to MySQL … [Read more...]
How to Install CouchDB on Ubuntu Cloud Server
Here Are the Steps to How to Install CouchDB on Ubuntu Cloud Server With root Access as Single Node. Data can be ported from Cloudant to CouchDB. There is CouchDB, CouchIO, CouchOne, Couchbase, Couchbase Server, Couchbase Mobile, Couchbase Lite, CouchApps, BigCouch, Touchbase, Membase, Memcached, MemcacheDB. All are different but are related in a way not obvious from the names alone. First, there … [Read more...]