×


Linux Resources


Install Harbor Image Registry on Ubuntu 20.04 - Best Method ?

This article covers how to install harbor on Ubuntu. The process is the same for all the other distribution of Linux. Harbor is a component of vSphere with Kubernetes. Harbor provides an enterprise-class registry service. 

Harbor is deployed in a dedicated system namespace on the Supervisor Cluster and is composed of several vSphere Pods. 

Image registries provide a centralized repository for an organization to store container images. 

Public image registries can be used to store container images. However, for security reasons, it is better to use an on-premises image registry. 

You use an on-premises image registry for the following purposes: 

Store container images securely. 

Control access to container images. 

vSphere with Kubernetes is integrated with Harbor and is also compatible with other container image registries. 


Harbor key features includes:

  • Security and vulnerability analysis.
  • Content signing and validation.
  • Extensible API and web UI.
  • Image replication.
  • Role-based access control.
  • Multitenant.


After Harbor installation has succeeded, access Harbor web console on https://registry_domain.

Then Login with:

  • Username: admin
  • Password: Set-in-harbor.yml


Define and Use Handlers in Ansible Playbooks

This article covers Ansible features which you can use to write playbooks for server automation. Basically, Handlers are just like normal tasks in an Ansible playbook but they run only when if the Task contains a "notify" directive. It also indicates that it changed something. handlers will perform an action when listens for a notify event. If nothing notifies a handler, it will not run. Regardless of how many tasks notify a handler, it will run only once, after all of the tasks completed in a particular play. 


Download a File on Ubuntu Using the Command Line on Ubuntu 20.04 system

This article covers Both wget and curl which are the free and open-source command-line utilities used for the non-interactive downloading of files. Remember, although both the utilities can download files from the web; they do differ a lot in terms of functionalities.

url can be used to transfer data over a number of protocols. It supports many protocols including HTTP, HTTPS, FTP, TFTP, TELNET, SCP, etc. using Curl, you can download any remote files. It supports pause and resumes functions as well.

To Install curl,

Launch command line application in Ubuntu that is Terminal by pressing the Ctrl+Alt+T key combinations. Then enter the below command to install curl with sudo:

$ sudo apt install curl


Change Font Type, Size, and Color on Debian 10 Terminal

This article covers how to change the font type, size, and color of a Debian Terminal and give a new look and feel to your Terminal text and background. If you spend a lot of time working in Terminal on your Linux system, you probably may not be comfortable with its default font size. Too small font size sometimes can give a burden to your eyes. However, the Terminal application in Linux gives you the flexibility to customize its look and feel to suit your style and need.


Check Your Laptop's Battery Status on Linux Mint 20

This article covers the different methods to check your battery health monthly to keep its charging cycle and usage optimized. For this purpose, you can use the "acpi" command.

The acpi command shows battery status and other ACPI information in your Linux distribution.

You might need to install acpi command in some Linux distributions.

On Arch Linux and its derivatives:

$ sudo pacman -S acpi

To install acpi on Debian, Ubuntu and its derivatives:

$ sudo apt-get install acpi

On RHEL, CentOS, Fedora:

$ sudo yum install acpi

Or,

$ sudo dnf install acpi

Once acpi installed, run the following command:

$ acpi -V


Linux Whereis Command examples

This article covers the whereis command which is useful for Locating the binaries and manual pages for various commands. Sometimes, while working on the command line, we just need to quickly find out the location of the binary file for a command.  


Linux whereis command syntax

The whereis command lets users locate binary, source, and manual page files for a command. Following is its syntax:

$ whereis [options] [-BMS directory... -f] name...

Search by typing a one letter Word Term Here