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 …
How To Share Data Between a Docker Container and a Host
Introduction Generally, Docker containers only run for a certain period of time – the time it takes to run the command. The data that is available inside the container can only be accessed from within the container during the runtime. Docker volumes can be used for accessing the files easily and storing them for a longer period. For example, if …
Using Python 3 String Formatters
Introduction The str.format() method in the string class of Python lets you do a variety of value formatting and substitution. Positional formatting and concatenation of elements within a string are done using string formatters in Python 3. In this tutorial, you will learn about the common uses of string formatters in Python. Formatting the strings will help you write more …
Nginx Server and Location Block Selection Algorithms: Overview
Introduction Nginx is among the world’s most popular web server options. It is able to successfully deal with a multitude of simultaneous client connections. At the same time, it is functioning as a mail, web, or reverse proxy server. This guide aims to outline the behind-the-scenes methods that direct how Nginx processes client requests. We will demystify the server and …
Setting up a UFW on Ubuntu and Debian Cloud Server
Introduction We all know that computer security is essential for protecting your data. If a hacker was to find their way into your server, they can cause some serious damage. To make sure this doesn’t happen, you need to employ the appropriate security measures. The first line of defense that any incoming threat would encounter in a safeguarded system would …
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 …
Python 3: A Guide on Converting Data Types
Introduction Python is a programming language that is often used for system integration purposes. This language uses something called ‘data types’. These data types help classify or define a given type of data. This means that a particular data type pertains to specific values and operations that you can apply to it. Each data type is programmed and edited in …
Loops in Python 3: Using Break, Continue, and Pass Statements
Introduction There are two types of loops that you can employ in Python 3. You have for loops and while loops. You can use them for repeat tasks. As a result, the repetitive tasks will happen automatically, making the process more efficient. Unfortunately, your loops can encounter some problems. At times, your program may run into an issue where you …
Installing phpBB on Ubuntu 20.04
PhpBB stands for “PHP Bulletin Board.” It’s a free flat-forum bulletin board software solution. It’s licensed under the GPL license as free and open-source software. PhpBB can instantly establish a dedicated space for people to gather and communicate. It also supports popular database engines (MySQL, Oracle Database, SQLite, PostgreSQL, etc.), flat message structures, hierarchical sub-forums, user groups, full-text search, plugins, …
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 …
Netcat Utility on Linux: Testing TCP/UDP Connections on a VPS with Netcat
Introduction One of the biggest advantages of using Linux is the plethora of helpful utilities it provides. The in-program features are usually sufficient for most programmers to do their work. This means that most of the time, you will not need to download external programs and software. The built-in tools will provide you enough utility. Among these helpful features is …