What is a 500 Internal Server Error
One of the most common errors that occur when browsing the web is the “500 Internal Server Error”. This message indicates that the webserver is experiencing technical problems.This article explains what a 500 error means, why you’re getting an HTTP 500 code, and how to troubleshoot these errors.What is an HTTP 500 Error #Each time you open a web page, your browser sends a reque
IPv4 vs IPv6
In today’s technological era, we are witnessing a massive leap in the usage of the internet and networking devices. Every home has a laptop, smartphone, digital watch, IoT device, home automation component, and other devices that are connected to the home network or the Internet. Devices communicate with each other through various network protocols, with TCP and IP being the mo
How to Recursively Change the File's Permissions in Linux
If you are using Linux as your main operating system or managing Linux servers, you will come across a situation when you try to create or edit a file and receive a “Permission deny” error. Typically, errors related to insufficient permissions can be solved by setting the correct file permissions or ownership .Linux is a multi-user system, and access to the files is controlled
How to Fix the WordPress White Screen of Death
If you have a WordPress website, one of the most common errors that you might come across is the White Screen of Death(WSOD). However, experiencing it can be scary as you might be wondering about the root cause of WSOD and have no clue about the next step.WSOD can have several possible causes, and determining them is not that easy, especially if you are not acquainted with the
How to Create Bootable Linux USB Drive
Usually, when installing a fresh copy of some Linux distribution on your laptop or PC, you’ll need a bootable USB containing the distribution you want to install.This tutorial will take you through the steps necessary to create a bootable Linux USB stick on Windows, macOS, and Linux machines. You can use this USB stick to boot and test out or install the Linux distribution on a
How to Change the Swappiness Value in Linux
Swap space is a part of the hard disk that is used when the RAM memory is full. The swap space can be a dedicated swap partition or a swap file .When a Linux system runs out of physical memory, inactive pages are moved from the RAM to the swap space.Swappiness is a Linux kernel property that sets the balance between swapping out pages from the physical memory to the swap space
How to Change MySQL User Password
In this tutorial, we will show you how to change MySQL user password. The instructions should work with any modern Linux distribution such as Ubuntu 18.04 and CentOS 7.Prerequisites #Depending on the MySQL or MariaDB server version you are running on your system, you will need to use different commands to change the user password.You can find your database server version by iss
How to Install Xrdp Server (Remote Desktop) on Raspberry Pi
Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote system.With RDP, you can log in to a Raspberry Pi box from another computer running Windows, Linux or macOS, and create a real desktop session the same as if you had logged in to a local computer. The Pi and the client machine have to be connected
How to Install Apache Web Server on Raspberry Pi
Apache HTTP server is one of the most popular web servers in the world. It is an open-source and cross-platform HTTP server that powers a large percentage of the Internet’s websites. Apache provides many powerful features that can be extended through additional modules.In this tutorial, we will explain how to install Apache Web server on Raspberry Pi. We’re assuming that you ha
Configuring the Apache Error and Access Logs
Apache is an open-source and cross-platform HTTP server. It has a lot of powerful features that can be extended by a wide variety of modules. When managing Apache web servers, one of the most frequent tasks you’ll perform is checking the log files.Knowing how to configure and read the logs is very useful when troubleshooting server or application issues as they provide detailed
How to Force HTTPS using .htaccess
If you installed an SSL certificate for your domain, your next step should be to configure the application to serve all web traffic over HTTPS.Unlike HTTP, where requests and responses are sent and returned in plaintext, HTTPS uses TLS/SSL to encrypt the communication between the client and the server.There are several advantages of using HTTPS over HTTP, such as:All the data i
Setting up a DevOps Pipeline in AWS
In this article, we will guide you through how to set up a DevOps pipeline in AWS. However, let’s start off with defining what DevOps actually is.In the past, application development was usually split between two teams - development and operations. The development team would write the code, test it, and then deliver it to the operations team who would deploy it to a server and
How to Install Minecraft Server on Raspberry Pi
Raspberry Pi can be used in many different projects. One of the Raspberry Pi’s most popular use case is to turn Raspberry Pi into a game server.In this tutorial, we will walk you through the process of installing and configuring Minecraft Server on Raspberry Pi 3 or 4.Minecraft is one of the most popular games of all time. It is a sandbox video game, which allows its players to
How to Install Java on Raspberry Pi
Java is one of the most popular programming languages used to build different kinds of applications and systems.There are two different implementations of Java, Oracle Java and OpenJDK. OpenJDK is an open-source implementation of the Java Platform. Oracle Java has a few additional commercial features and a license that permits only non-commercial use, such as personal or develo
How to List and Delete UFW Firewall Rules
UFW stands for Uncomplicated Firewall, and is a user-friendly frontend for managing iptables (netfilter) firewall rules. It is the default firewall configuration tool for Ubuntu and is also available for other popular Linux distributions such as Debian and Arch Linux.In this tutorial, we will cover how to list and delete UFW firewall rules.Prerequisites #The user running UFW co
Heartbleed Still Found in the Wild: Did You Know That You May Be Vulnerable?
It’s been six years since Heartbleed was first discovered, and the OpenSSL vulnerability can still be found and exploited across the internet. As a matter of fact, 19% of global attacks target the OpenSSL Heartbleed vulnerability due to the volume of unpatched public-facing servers. Whether it’s from poor scanning or fear of rebooting production servers, leaving servers open to
How to Setup FTP Server with Vsftpd on Raspberry Pi
This tutorial explains how to install and configure an FTP server on Raspberry Pi that you use to share files between your devices. We’ll use vsftpd, which a stable, secure, and fast FTP server. We will also show you how to configure vsftpd to restrict users to their home directory and encrypt the entire transmission with SSL/TLS.For this project, you should have Raspbian insta
How to Install Plex Media Server on Raspberry Pi
Raspberry Pi can be used in many different projects. One of the Raspberry Pi’s most popular use case is to turn Raspberry Pi into a home media center.Plex is a popular streaming media server that lets you organize your video, music, and photo collections and stream them to all of your devices at any time and from anywhere.In this tutorial, we’ll show you how to install Plex Med
How to Install Node.js and npm on Raspberry Pi
Node.js is an open-source cross-platform JavaScript run-time environment built on Chrome’s JavaScript engine that allows server-side execution of JavaScript code. It is mainly used to build server-side applications, but it is also very popular as a full-stack and front-end solution. npm is the default package manager for Node.js and the world’s largest software registry.In this
How to Remove Untracked Files in Git
The files in the Git working directory can be either tracked or untracked.Tracked files are the ones that have been added and committed, and Git knows about. Tracked files can be unmodified, modified, or staged. All other files in the working directory are untracked and git is not aware of those files.Sometimes your git working directory may get cluttered up with unnecessary fi
How to Change a Git Commit Message
When working with Git, you might encounter a situation where you need to edit a commit message. There are many reasons you would want to make the change, such as fixing a typo, removing sensitive information, or adding additional information.This guide explains how to change the message of the most recent or older Git commits.Changing the Most Recent Commit #The git commit --am
How to Change a Git Remote's URL
Git remote is a pointer that refers to another copy of the repository that is usually hosted on a remote server.In some situations, like when the remote repository is migrated to another host, you need to change the remote’s URL.This guide explains how to change the URL of a Git remote.Changing a Git Remote’s URL #Each Git repository can have zero or more Git remotes linked to
How to Install Git on Raspberry Pi
Git is a distributed version control system that’s being used by most software teams today. It allows you to keep track of your code changes, revert to previous stages, create branches , and to collaborate with your fellow developers.Git is originally developed by Linus Torvalds , the creator of the Linux kernel.This tutorial explains how to install Git on Raspberry Pi. We’re a
How to Remove a Git Remote
This guide explains how to remove a Git remote.Git remote is a pointer that refers to another copy of the repository that is usually hosted on a remote server.Generally, when working with Git, you’ll have only one remote named origin and different branches for different features and environments. Origin is the name of the remote that automatically created when you clone a repos
How to Undo Last Git Commit
Sometimes, when working with Git, you may want to undo the latest commit. A commit is a snapshot of a Git repository at a given time. Git has a reference variable called HEAD that points to the latest commit in the current working branch. To undo a commit, all you need to do is point the HEAD variable to the previous snapshot.This guide explains how to undo the last Git commit.