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

How to install minikube on Ubuntu 22.04 LTS

In this article, we will how to install minikube on Ubuntu 22.04 LTS step by step.

minikube is a tool that lets you run Kubernetes locally. minikube runs a single-node Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.

Prerequisites to install minikube:

Continue reading How to install minikube on Ubuntu 22.04 LTS

How to start and stop minikube on Linux

In this article, we will see How to start and stop minikube on Linux step by step.

minikube is a tool that lets you run Kubernetes locally. minikube runs a single-node Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work. Continue reading How to start and stop minikube on Linux

docker: Error response from daemon: pull access denied for

In this article, we willl find the resoultion for the below error:
docker: Error response from daemon: pull access denied for helloworld, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘docker run –help’.

docker Error response from daemon pull access denied for

Continue reading docker: Error response from daemon: pull access denied for

The container name / is already in use by container

In this article, we will see the solution for “the container name / is already in use by container”.

The container name / is already in use by container

The means we have already started a container in the past with the name and we are trying to create another with the name. Continue reading The container name / is already in use by container

Cannot connect to the Docker daemon at unix:///var/run/docker.sock

In this article, we will see the solution for Cannot connect to the Docker daemon at unix:///var/run/docker.sock.

Cannot connect to the Docker daemon at unix

The above error received when tried to run command against Docker on Linux. Continue reading Cannot connect to the Docker daemon at unix:///var/run/docker.sock

docker: Got permission denied while trying to connect to the Docker daemon socket

In this article, we will find the solution for the error “docker: Got permission denied while trying to connect to the Docker daemon socket”.

docker Got permission denied while trying to connect to the Docker daemon socket

The above error received when run with non-root user. If run the docker command like below, we haven’t received the erro.

sudo docker run helloworld

If we run without sudo or non-root user received the subjected error.

Continue reading docker: Got permission denied while trying to connect to the Docker daemon socket