How to Create a Non-root User on Your Ubuntu 20 VPS or Dedicated Server

If you are spinning a new Ubuntu 20 server, you may need to create a new non-root user with sudo privileges.  Logging on your Linux server as the root is not a good practice because a single mess can wipe your entire server. Creating a new user with sudo permissions allows you to do administration tasks with elevated privileges only...

How To Get PHP mail() Working On Ubuntu 20.04, 18.04 & 16.04

In this article we are going to install and configure Postfix to allow our applications to use the PHP mail() function. Tested and working on Ubuntu 20.04, 18.04 & 16.04. 1. Install Postfix Let’s update the package database first. sudo apt-get update Install mailutils, which will automatically install Postfix. sudo apt install -y mailutils On the first Postfix configuration screen, select OK by pressing TAB and ENTER Select Internet Site and press ENTER. System mail name should be...

Useful commands for ubuntu 20

Inspect TXT records of a domain host -t txt google.com Create a database When all the servers installed above, it’s now time to begin setting up WordPress environment. First, run the steps below to create a blank database for WordPress to use. Logon to MariaDB database console using the commands below: sudo mysql -u root -p Then create a database called wpdb CREATE DATABASE wpdb; Next, create...

How To Use Bind-mounts And Symlinks On Linux

There are a lot of mundane things on Linux that a lot of users don’t think much of that are incredibly useful. When new users learn how to use these mundane, boring little tricks, they become better Linux users. Bind-mounts and Symlinks on Linux are a prime example of this. In this article, we’ll discuss just exactly what is...

How to Mount S3/Wasabi/DigitalOcean Storage Bucket on CentOS and Ubuntu 20 using S3FS

In this article, we will be using S3FS to mount cloud storage services locally on a CentOS or Ubuntu box. Mounting them locally will allow us to interact with the cloud providers as a local file system. We will be covering three cloud storage providers namely, AWS S3, Wasabi Hot Storage and Digital Ocean Spaces. What makes this interesting is...

How to install and set up WordPress on ubuntu 20

Having your own server is good because you can control everything and you don't have any restriction. so let's get started. CREATING A DROPLET ON DIGITAL OCEAN To create a server on the cloud, just follow this link in order to have $100 free credit: https://m.do.co/c/3fde937c70fe after signing up and logining into the panel. Go to Create Option and choose Droplets options then...

How to Enable and Use the Linux Bash Shell on Windows 10

The Windows Subsystem for Linux, introduced in the Anniversary Update, became a stable feature in the Fall Creators Update. You can now run Ubuntu and openSUSE on Windows, with Fedora and more Linux distributions coming soon. What You Need to Know About Windows 10’s Bash Shell This isn’t a virtual machine, a container, or Linux software compiled for Windows (like Cygwin)....

How to set up Amazon SES SMTP Interface to Send Email

In this short tutorial we will show how to configure the service SES (Simple Email Service) of the AWS (Amazon Web Services) and we are assuming that you have already created accounts both in AWS And if you haven't already, just click on the links and register. Follow the step by step and learn how to configure Amazon's SES: Steps to...

How To Set Up Zoho Mail with a Custom Domain Managed by DigitalOcean DNS

Introduction One way to send and receive email through your own custom domain is to use a third-party mail service, such as Zoho or Google Apps. The main benefit of using a third-party mail service, as opposed to managing your own mail server, is that you can avoid performing the ongoing maintenance that running a mail server entails. Of course,...

How To Set Up a Host Name with DigitalOcean

DigitalOcean is a simplified and effective cloud computing platform designed primarily for developers who want to host their websites and other internet-related programs or applications. Outlined below are the important instructions you must follow to set up a host name with DigitalOcean. Requirements You need two things to get started with setting up a host name with DigitalOcean: A Droplet, which is a virtual...