Data is the New Gold

Since we are now firmly in the era of big data and data-dependent business models, it makes sense to think of Data as the new gold. The collection and monetization of data is part of the business model of virtually every business online. Think of the last time you browsed a news site that didn’t […]


from ThisHosting.Rocks…

Read More

Do You Have the Tech Basics of Podcasting?

With the pandemic still in full swing, most of us have taken so many hobbies and activities that occupy us, allow us to pass the time, and in a way reminds us that there is still that big, outside world we can connect to and just can’t explore for the meantime. Some of us have held monumental marathons on Netflix, some of us have explored skills in the kitchen, while others have honed their (or verified that they don’t have a) green thumb. Yet others, to remind them of those days of commuting to work and having a drink with colleagues after office hours, continue to listen to podcasts that we have been loyal to even before COVID-19 disrupted our lives.

But then, has it ever occurred to you that you can also do a podcast? There has been a surge in the amount of content people publish. Whether it is to bring some semblance of normality in their lives or to remind others in their network what they’ve been up to in these boring times, sharing podcasts can be quite therapeutic and effective as a social activity these days. If you are currently thinking, “Why not? That sounds like a lot of fun,” then maybe you should read on and check whether you and the people you want to do podcasts with have these already. Of course, it goes without saying that you would need an internet connection and a laptop or desktop computer in order to stream a podcast. Here are other items you would need:

Get a microphone
A microphone is a must so that you can put your voice into the computer for recording. The variety of microphones run from affordable to high-end, and the good news is you really don’t have to go for the more expensive mics to ensure great function. The more basic microphone models can also do a good job with reasonable quality. The thing to remember is to check the quality of the sound with the mic you are going to get. The better the quality, the more professional you will sound, the higher the likelihood of people listening to you. Suffice to say the basic mic or headset you use for Zoom and Skype calls may not really cut it.

Whether you’re picking podcasting up as a hobby or a new venture, one thing’s for sure: Low-quality equipment could make or break even the most compelling content, as otherwise interested listeners might be too distracted by background noise. The best podcast microphones will ensure rich, clear vocals, so even if you’re a one-person show, you won’t sound like one.

Get a headset
A headset is a must if you are going to have a podcast with multiple participants. If you are doing a solo act podcast or if you’re not doing a reaction vlog or content that would require you to watch or listen to another person or piece of content, then a headset may not be necessary. But if you have a partner or you’re doing a reaction podcast, then make sure you have a great headset. Here is a look at the headphones one of the most successful podcasters is using:

When podcasting for up

Read More

How to Install and Use Terraform on CentOS 8

In this guide, we will show you how to install and use Terraform on CentOS 8. Before we proceed further, what is Terraform? Created by Hashicorp, Terraform is a free and opensource declarative coding tool that allows you to automate and manage your IT infrastructure and various services that run on servers. In fact, Terraform is popularly referred to as ‘Infrastructure as a Code’ tool.

Terraform makes use of a simple syntax to efficiently and safely provision resources across on-premise and cloud platforms such as Microsoft Azure, Google Cloud Platform and AWS. Where required, it can also re-provision these changes in response to changes in configuration.

Without much further ado, let us walk you through the installation steps.

Installation of Terraform on CentOS 8

First up, head over to the official Terraform download site and download the latest zip file. By the time of writing down this guide, the latest version is Terraform 0.13.3. To download use the wget command as shown

[[email protected] ~]$ wget

Once downloaded, unzip the file to the /usr/local/bin path using the -d switch as shown.

[[email protected] ~]$ sudo unzip -d /usr/local/bin
  inflating: /usr/local/bin/terraform
[[email protected] ~]$

Alternatively, you can locally unzip the file in your current working directory and later move the unzipped directory to the /usr/local/bin destination.

[[email protected] ~]$  unzip
[[email protected] ~]$  mv terraform /usr/local/bin

To confirm that everything went as expected, invoke the following command:

[[email protected] ~]$ terraform -v
Terraform v0.13.3
[[email protected] ~]$

And that’s it! We are done installing Terraform.  The output confirms that Terraform is successfully installed on our system. As you can see, installing Terraform is quite a simple and straightforward procedure.

Terraform in action – Deploying a VM in GCP

To get a better understanding of how Terraform can be used to provision resources, we are going to demonstrate how to deploy a vm on Google cloud.

But first, you need to have a Google Cloud account with billing enabled. Usually, you get $300 worth of free credit during your free trial. In this demo, we are using a free trial.

Once you have logged in, click on the cloud shell icon as shown


This will initialize the Google cloud shell at the bottom of your screen. This usually takes a few seconds.


Next, we are going to install Terraform locally using docker to make it more convenient. To make it more persistent on restarts, we will install it into $HOME/bin as shown.

$ docker run -v $HOME/bin:/software sethvargo/hashicorp-installer terraform 0.13.3
$ sudo chown -R $(whoami):$(whoami) $HOME/bin/

Next, add bin to the path as shown

$ export PATH=$HOME/bin:$PATH

At this point, terraform is installed. Next, you need to enable the Cloud Engine API to make the API available for use.

$ gcloud services enable

We are going to download a terraform configuration file from Github. The configuration file initializes a compute instance (virtual machine) that installs Apache webserver with a custom configuration. The compute engine is assigned a unique name and an external IP address that you will use to access the webserver.  To download the config file, run:

$ curl -sSfO

Use cat command to view the contents of file

$ cat

Here’s just a snippet of the …

Read More

What is Web Hosting?

Web hosting is when a provider makes a site accessible for viewing online by allocating server space to store the site’s files. A server hosts every website you’ve ever accessed, including this one. The hosting type determines the amount of space made available. Dedicated hosting, shared hosting, VPS hosting, and reseller hosting are the main […]


from ThisHosting.Rocks…

Read More

How to Setup Private Docker Registry in Kubernetes (k8s)

It is always recommended to have private docker registry or repository in your Kubernetes cluster. Docker private registry allows the developers to push and pull their private container images. Once the application’s containers are pushed to private registry then developers can use the path of their private registry while creating and deploying their yaml files.

In this article, we will learn how we can deploy private docker registry as a deployment on top of Kubernetes cluster. I am assuming Kubernetes cluster is already up and running.

Kubernetes lab details for setting up private docker registry

  • k8s-master – – CentOS 7
  • k8s-worker-1 – – CentOS 7
  • k8s-worker-2 –  – CentOS 7
  • kadmin user with sudo rights
  • NFS share ‘/opt/certs’ & ‘/opt/registry’

Note:  In my case, I have setup nfs server on master node and exported /opt/certs and /opt/registry as nfs share.

Before starting the deployment of private registry, please make sure these nfs shares are mounted on each worker nodes. Run the following commands on each worker node.

$ sudo mkdir /opt/certs /opt/registry
$ sudo mount /opt/certs
$ sudo mount /opt/registry

For permanent mount, add nfs entries in /etc/fstab file.

In place of mounting these nfs shares, we can also create nfs based persistent volumes and later we can use these persistent volumes in yaml file.

Let’s dive into installation and configuration steps of private docker registry in Kubernetes.

Step 1) Generate self-signed certificates for private registry

Login to your control plane or master node and use openssl command to generate self-signed certificates for private docker repository.

[[email protected] ~]$ cd /opt
[[email protected] opt]$ sudo openssl req -newkey rsa:4096 -nodes -sha256 -keyout ./certs/registry.key -x509 -days 365 -out ./certs/registry.crt


Once the key and certificate file are generated, use ls command to verify them,

[[email protected] opt]$ ls -l certs/
total 8
-rw-r--r--. 1 root root 2114 Sep 26 03:26 registry.crt
-rw-r--r--. 1 root root 3272 Sep 26 03:26 registry.key
[[email protected] opt]$

Step 2) Deploy private registry as deployment via yaml file

On your master node, create a private-registry.yaml file with the following contents

[[email protected] ~]$ mkdir docker-repo
[[email protected] ~]$ cd docker-repo/
[[email protected] docker-repo]$ vi private-registry.yaml
apiVersion: apps/v1
kind: Deployment
  name: private-repository-k8s
    app: private-repository-k8s
  replicas: 1
      app: private-repository-k8s
        app: private-repository-k8s
      - name: certs-vol
          path: /opt/certs
          type: Directory
      - name: registry-vol
          path: /opt/registry
          type: Directory

        - image: registry:2
          name: private-repository-k8s
          imagePullPolicy: IfNotPresent
            value: "/certs/registry.crt"
          - name: REGISTRY_HTTP_TLS_KEY
            value: "/certs/registry.key"
            - containerPort: 5000
          - name: certs-vol
            mountPath: /certs
          - name: registry-vol
            mountPath: /var/lib/registry

save and close the yaml file


Run the following kubectl command deploy the private registry using above created yaml file,

[[email protected] docker-repo]$ kubectl create -f private-registry.yaml
deployment.apps/private-repository-k8s created
[[email protected] docker-repo]$

Execute below kubectl commands to verify status of registry deployment and its pod.

[[email protected] ~]$ kubectl get deployments private-repository-k8s
NAME                     READY   UP-TO-DATE   AVAILABLE   AGE
private-repository-k8s   1/1     1            1           3m32s
[[email protected] ~]$
[[email protected] ~]$ kubectl get pods | grep -i private-repo
private-repository-k8s-85cf76b9d7-qsjxq   1/1     Running   0          5m14s
[[email protected] ~]$

Perfect, above output confirms that registry has been deployed successfully, Now copy the registry certificate file to worker nodes and master node under the folder “/etc/pki/ca-trust/source/anchors“. Execute the following commands on …

Read More

How to Setup Jenkins on CentOS 8 / RHEL 8

In this article, we will acquire a knowledge of how-to setup the Jenkins on CentOS 8 or RHEL 8. We will also go through why there is a need of an additional tool for delivering a project. But before we start with all gun blazing and put this tool to work, we should know what it is exactly and why it is needed.

Jenkins is an open-source software for continuous software development. It is based on Java and it is the only tool which can be used in every part of software development cycle.

What is Jenkins ?

Jenkins is a CI/CD tool. Here CI means continuous integration and CD means continuous delivery. Jenkins is also considered as automation tool or server, It helps to automate software development which are related to building, testing and deploying. It is a server-based tool which runs on servlet containers like Apache Tomcat.

Why do we need Jenkins tool?

As maximum organization is now having agile process. Agile methodology is a practice that promotes both continuous integration and continuous delivery, it has scrum process that can be of 2/3 weeks, which is also known as scripts. In every sprint developers and tester has to do continuous development and testing with continuous integration and continuous delivery. In every sprint client get the privilege to check that the software/application is building according to the given requirement. They also have the leverage to change/update the requirement according to their business needs. This is one of the main reasons why Jenkins is one of the most popular tools in the market nowadays.


  • Minimal CentOS 8 / RHEL 8
  • User with sudo rights
  • Stable Internet Connection
  • For RHEL 8 system, active subscription is required.

Jenkins Lab details:

  • Host Name:
  • IP Address:
  • SELinux : Enabled
  • Firewall: Running

Installation Steps of Jenkins on CentOS 8 / RHEL 8

Step 1) Update hosts file and apply updates

Add the following hostname entry in /etc/hosts file, run below echo command:

[[email protected] ~]$ echo "" | sudo tee -a /etc/hosts

Install all the available updates using the beneath dnf command,

[[email protected] ~]$ sudo dnf update -y

Once all the updates are installed successfully then reboot your system once.

[[email protected] ~]$ sudo reboot

Step 2) Enable Jenkins Package Repository

Run the following command to enable Jenkins package repository for CentOS 8 / RHEL 8,

[[email protected] ~]$ sudo dnf install wget -y
[[email protected] ~]$ sudo wget -O /etc/yum.repos.d/jenkins.repo

Run below rpm command to import GPG key for Jenkins packages

[[email protected] ~]$ sudo rpm --import

Step 3) Install Java and Jenkins with dnf command

Java is one of the perquisites for Jenkins, so run below dnf command to install java

[[email protected] ~]$ sudo  dnf install -y java-11-openjdk-devel

Verify the java version using below command:

[email protected] ~]$ java --version


Now install Jenkins using beneath dnf command,

[[email protected] ~]$ sudo dnf install -y jenkins


Step 4) Start and Enable Jenkins Service via systemctl

Run following systemctl command to start and enable Jenkins service

[[email protected] ~]$ sudo systemctl start jenkins
[[email protected] ~]$ sudo systemctl enable jenkins

Verify Jenkins service status by running following command,

[[email protected] ~]$ sudo systemctl status jenkins


Above output confirms that Jenkins service is active and running.

Step 5) Configure

Read More

Exclusive Rocket ( Coupon Code

Rocket is a WordPress hosting provider that focuses on speed, ease of use, and managed 24/7 support. Get a discount with our exclusive coupon code here. Read our detailed review here. Exclusive Rocket coupon: 50% off the first 3 months How to use the coupon code at Get the code from this post. Visit […]


from ThisHosting.Rocks…

Read More

Rocket Review – Fast Managed WordPress Hosting

Rocket is a WordPress hosting provider that focuses on speed, ease of use, and managed 24/7 support, the 3 main things people look for on a WordPress hosting provider. Read our detailed review here. About Rocket Rocket was launched in 2020 by industry veterans with years of experience. It’s apparent that Rocket was launched by […]


from ThisHosting.Rocks…

Read More

Rocket Review – Fast Managed WordPress Hosting

Rocket is a WordPress hosting provider that focuses on speed, ease of use, and managed 24/7 support, the 3 main things people look for on a WordPress hosting provider. Read our detailed review here. About Rocket Rocket was launched in 2020 by industry veterans with years of experience. It’s apparent that Rocket was launched by […]


from ThisHosting.Rocks…

Read More

Developing a WordPress Website Without Programming Knowledge

WordPress is the solution to those who want to create websites but have minimal programming and coding experience. If you’ve heard that expression multiple times, why not check it out at least once? You don’t need to worry about your programming skills, since this powerful Content Management System (CMS) can be easily used by a […]


from ThisHosting.Rocks…

Read More