Introduction Every object in JavaScript, a prototype-based language, contains an internal property named the [[Prototype]]. Its utility extends to the manipulation of object properties and methods. Mimicking the object-oriented design pattern of JavaScript, most developers utilize construction functions. One of these functions is the concept of classes, introduced to JavaScript via the ECMAScript 2015 language specification. JavaScript’s classes provide a …
How To Create a Kubernetes Cluster Using Kubeadm on Ubuntu 18.04
This tutorial will guide you on setting up a Kubernetes cluster from scratch using Ansible and Kubeadm and further deploying a containerized Nginx application with it. Introduction Kubernetes (also known as k8s or “kube”) is an open-source container orchestration platform that automates many of the manual processes involved in deploying, managing, and scaling containerized applications. Kubernetes has a rapidly growing …
Working with JavaScript: How Prototypes and Inheritances Operate
Introduction JavaScript is one of the most popular programming languages. If you know anything about computer programming, you have probably heard of JavaScript. If you dig into a little more detail, you will discover that JavaScript is a prototype-based language. This means that you can use general objects to share object properties and methods. You can clone or even extend …
How to Crawl a Web Page with Scrapy and Python 3
Web scraping, web crawling, web harvesting, or web data extraction are synonyms referring to the act of mining data from web pages across the Internet. Web scrapers or web crawlers are tools that go over web pages programmatically extracting the required data. These data, which is usually large sets of text can be used for analytical purposes, to understand products, …
Installing the Apache Web Server on CentOS 7
A web server stores, processes and delivers web pages to website visitors. There are quite a few Open Source web server software options, but the Apache HTTP server is deemed as the most widely used web server in the world. This is because, apart from being open-source, its modular architecture allows extending its capabilities through adding modules to serve different …
A Guide on Adding JavaScript to HTML
Introduction JavaScript needs no introduction. It is one of the most popular programming languages for web development. It works similar to HTML and CSS. All of these languages help design and develop web-based applications and programs. So how is JavaScript useful in particular? With the help of JavaScript, you can make your web applications and web pages quite interactive. There …
A Guide on the mod_proxy Extension: Using Apache as a Reverse Proxy
Introduction Third-party extensions are extremely helpful additions. These make your experience of configuring and working with a server, such as Apache HTTP, much simpler and more facilitative. In a time of need, you can even use some of these modules in Apache to run a reverse proxy. You can either remove a layer from your server setup or you can …
Configuring an Iptables Firewall: Basic Rules and Commands
Introduction Iptables is a command-line firewall utility. This means that it is software that allows you to configure a firewall on your system. It is typically available by default on Linux systems. In this guide, we will discuss some of the common rules and commands that go with the iptables firewall. Whenever a connection tries to establish itself with your …
How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Part 2 (Theoretical Explanations)
In this second installment of the two-part tutorial on configuring Linux services to start automatically after a reboot or system crash, we will discuss the init system in detail. You can refer to Part 1 of the series: How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Practical Examples here. The current tutorial will be …
How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Part 1 (Practical Examples)
Introduction In computing, things don’t always go as planned. Oftentimes unexpected system crashes prompt system admins to initiate reboots and restart of individual services. Figuring out and restarting every service your application needs to run after a system crash or reboot can be tedious. In this first installment of the two-part tutorial, we will show you how to configure services …
The Nitty Gritty of Networking: Learn about Terminology, Interfaces, and Protocols
Introduction In the modern world of technology, having in-depth knowledge of how networking works has become a requirement. If you are involved in server management, then you definitely need to be aware of how it works. Having detailed knowledge about the inner operations of your service will help you keep your services in line. It will help you employ the …
Installing and Setting up Docker on CentOS 7
Introduction Docker is a platform that makes running and managing application processes in containers easier. It provides a way to separate your applications from your infrastructure. Containers are very similar to virtual machines, but they are more portable, efficient, and easy to use. There are various ways to install Docker on Linux distributions. The most popular and easy way to …