Introduction WordPress is one of the most popular Content Management Systems (CMSs) out there. Statistically, it powers over 39% of all websites you see around the world wide web. It’s a popular choice because of its extensibility through plugins and its flexible templating system. It allows you to change its appearance in seconds. Moreover, its administration can be done through …
Improving Availability and Site Performance Using a Replica Set with MongoDB Auto-Clustering
Auto-clustering enables you to create a replica set of your entire database. MongoDB is a stack you can use on your CloudSigma PaaS platform to make the process incredibly easy- you can make a reliable replica set with just one click. There are many benefits to automatic clusterization, some of which include: High Data Availability It is a great strategy …
Setting Up an NFS Mount on Ubuntu 20.04
The Network File System (NFS) is a distributed storage solution. It’s a file system protocol that allows mounting remote directories on the local server and uses it as if it was local storage. NFS allows multiple clients to share remote storage. It is well-suited for environments that regularly require shared resources. NFS is built on the ONC RPC (Open Network …
Basics of JavaScript: How to Work with Date and Time
Introduction Date and time are not only critical components of routine life but also a part of computer programming. Whether you need them to book appointments or display a calendar, there are many reasons why you would require a date and time. The applications of date and time features are extensive and extremely versatile. The versatility comes from the fact …
Sharing Data between Docker Containers
Introduction Docker is a container platform that is a lightweight, virtualized, portable, software-defined standardized environment that allows the software to run in isolation of other software running on the physical host machine. Docker is a defining component of the Continuous Development and Integration aspect of Software Development. By providing a consistent run-time environment, Docker ensures that software behaves the same …
How to Reset MariaDB or MySQL Root Password
MySQL is one of the most popular database systems out there. It’s an open-source relational database management system that follows a client-server model. MySQL is at the core of many of the online services we enjoy on a regular basis. MariaDB is a community-developed fork of MySQL that enjoys commercial support. In the MySQL ecosystem, root is the default user …
SSH Overview – SSH Servers, Clients, and Keys
When it comes to remote computing, SSH is one of the most popular and secure protocols. SSH is a cryptographic network protocol that establishes a secure connection with remote devices. Upon connecting to a remote device, a user can run commands on the remote shell. SSH is most common among network and system administrators. This cheat sheet-style guide demonstrates an …
Importing Modules in Python 3: A Comprehensive Guide
Introduction Most of us are familiar with Python as a programming language. One of the great things about Python 3 is the myriad of built-in functions it offers. You get access to these functions when you are using Python 3 to write different types of code. Before we start, take a look at our tutorial on installing Python 3 and …
A Tutorial on Working with JSON in JavaScript
Introduction There are many ways that JSON can be used in JavaScript. One of its most basic uses is storing data. You can also use it to transfer data between clients, between servers, or from server to client. Other useful applications include the ability to configure and verify data as well as generate data structures. In this tutorial, we will …
How to Install and Use Kubernetes on Ubuntu 20.04
Introduction Kubernetes is an open-source tool that is crucial in container orchestration. Kubernetes works by orchestrating and managing clusters at scale across various cloud environments or even on-premise servers. A cluster is a set of hosts meant for running containerized applications and services. A cluster needs a minimum of two nodes to work – one master node and a worker node. Keeping …
Programming with Python 3: How To Go About Constructing Classes and Defining Objects?
Introduction We all know about Python as a programming language. To be more specific, Python is an object-oriented programming language. In object-oriented programming, or OOP, the goal is to make reusable code patterns. This is different from procedural programming where we give a sequence of instructions. Object-oriented code is especially useful when you are working on complex programs. When you …
Installing MariaDB on CentOS 7
In the world of database engines, MySQL and MariaDB are two of the major players. MariaDB is practically MySQL with some key changes. It’s a community-developed fork of MySQL backed by commercial support, for example, Wikipedia, Google, WordPress.com, etc. MariaDB is free and open-source and guaranteed to stay so. In this guide, we will guide you through the steps of …