How to download and install IBM DB2 database on Windows

In this article, we will see how to download and install IBM DB2 database on Windows step by step. We are going to install community edition on Windows server.

How to download and install IBM DB2 database on Windows

1. Go to google then search for IBM db2 download or copy either of below links and paste in web browser and hit enter. Continue reading How to download and install IBM DB2 database on Windows

How to check docker is running or not on Linux

In this article, we will see how to check docker is running or not on Linux.

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

We can find the docker engine is running or not using service, systemctl or simply running docker info/version command. We will find the docker using all these methods.

How to check docker is running or not on Linux

1. Just run docker info. This will show us docker is running or not.

docker info

How to check docker is running or not on Linux

2. We can also get docker information by checking process information.

ps -ef | grep docker

The above output is sayign its not started.

If it is started, output is like below.

3. We can also find the status of docker service using below commands.

sudo systemctl status docker

or

sudo service docker status

How to install Apache Cassandra on Ubuntu 22.04

In this article, we will see how to install Apache Cassandra on Ubuntu 22.04 step by step.

Apache Cassandra is a high-performance opensource NoSQL database engine that provides fault tolerance, linear scalability, and consistency across multiple nodes. Apache Cassandra is ideal in IoT applications where massive data is collected. It also comes in handy in social media analytics, messaging services, and retail applications.

Among the companies that make use of Apache Cassandra include Netflix, Facebook, Cisco, Hulu, Deloitte, Bosch, Twitter, and many more.

Install Apache Cassandra on Ubuntu 22.04

Continue reading How to install Apache Cassandra on Ubuntu 22.04

How to install and configure Java on Ubuntu 22.04 Linux

In this article, we will see how to install and configure Java on Ubuntu 22.04 Linux step by step.

Java is one of the most popular programming languages and the JVM (Java’s virtual machine) is the run-time environment to run Java applications.

Verify java is installed or not on in Linux by running command.

java -verison

Command 'java' not found, but can be installed with: sudo apt install openjdk-11-jre-headless # version 11.0.17+8-1ubuntu2~22.04, or sudo apt install default-jre # version 2:1.11-72build2 sudo apt install openjdk-17-jre-headless # version 17.0.5+8-2ubuntu1~22.04 sudo apt install openjdk-18-jre-headless # version 18.0.2+9-2~22.04 sudo apt install openjdk-19-jre-headless # version 19.0.1+10-1ubuntu1~22.04 sudo apt install openjdk-8-jre-headless # version 8u352-ga-1~22.04

So Java is not installed.

Install and configure Java on Ubuntu 22.04 Linux

Continue reading How to install and configure Java on Ubuntu 22.04 Linux

How to find number of CPU cores on Windows

In this article, we will see how to find number of CPU cores on Windows operating system with different methods.

We can obtain cpu cores information by running any of below commands.
A physical core is an actual physical processor core in your CPU. A logical core (also known as logical processors) is more of a programming abstraction than an actual physical entity. Continue reading How to find number of CPU cores on Windows

How to find number of CPU cores in Linux

In this article, we will see how to find number of CPU cores in Linux with different methods.

One can obtain the number of CPUs or cores in Linux from the command line. The /proc/cpuinfo file stores CPU and system architecture dependent items, for each supported architecture. We have to look at sockets and cores per socket.

Find the number of CPU cores in Linux

Continue reading How to find number of CPU cores in Linux