How to Install and Configuring NTP on CentOS and Ubuntu

Reading Time: 8 minutes

Introduction

In this article we will learn what the Network Time protocol (NTP) is and how to install it on the two Linux distributions most commonly used on Liquid Web’s servers. We will be focusing on using CentOS 7 and Ubuntu 18.04 servers, but the process is largely the same on other recent versions of each. Before we start, make sure we are familiar with using SSH (Secure Shell) as we’ll need it to connect to the server. Here’s a link to one of our articles on the basics of SSH if you are unfamiliar with its usage.

Continue reading “How to Install and Configuring NTP on CentOS and Ubuntu”

How to Install Keras

Reading Time: 6 minutes
keras.logo.3.12.20

Keras is a Python-based high-level neural networks API that is capable of running on top TensorFlow, CNTK, or Theano frameworks used for machine learning. It can be said that Keras acts as the Python Deep Learning Library. Keras was created with emphasis on being user-friendly since the main principle behind it is “designed for human beings, not machines.” The core data structure of Keras is a model, or a way to organize layers.

Continue reading “How to Install Keras”

Creating and Deleting a PostgreSQL Database on Ubuntu 16.04

Reading Time: < 1 minute

PostgreSQL (pronounced “post-gress-Q-L”) is a household name for open source relational database management systems.

Its object-relational meaning that you’ll be able to use objects, classes in database schemas and the query language.  In this tutorial, we will be demonstrating some essentials like creating, listing and deleting a database.

Continue reading “Creating and Deleting a PostgreSQL Database on Ubuntu 16.04”

How Do I Set Up Setuid, Setgid, and Sticky Bits on Linux?

Reading Time: 6 minutes

What Are Linux File Permissions?

Setuid, Setgid and Sticky Bits are special types of Unix/Linux file permission sets that permit certain users to run specific programs with elevated privileges. Ultimately the permissions that are set on a file determine what users can read, write or execute the file. Linux provides more advanced file permissions that allow you to do more specific things with a file, or directory.  Typically, these file permissions are used to allow a user to do certain tasks with elevated privileges (allow them to do things they normally are not permitted to do). This is accomplished with three distinct permission settings.  They are setuid, setgid, and the sticky bit.

Continue reading “How Do I Set Up Setuid, Setgid, and Sticky Bits on Linux?”

Changes To CSF Country Blocking

Reading Time: 5 minutes

Issue

Have you seen this error when restarting csf?

*ERROR*: Country Code Lookups setting MM_LICENSE_KEY must be set in 
 /etc/csf/csf.conf to continue using the MaxMind databases

Recently MaxMind, the company that provides the IP lookup database based on country of origin for CSF, has decided to require a free license to be able to access that database now.  They had to do this, so they can conform to the new state law in California for the CCPA act as noted here.

Continue reading “Changes To CSF Country Blocking”

How To Install and Configure Wraith

Reading Time: 10 minutes

What is Wraith?

Wraith is a visual regression testing tool which uses screenshot comparisons to assess visual differences in a website over time. It is currently hosted on GitHub and available under an Apache 2.0 open-source license.

Continue reading “How To Install and Configure Wraith”

Show (List) MySQL Databases on Linux via Command Line

Reading Time: < 1 minute

Pre-Flight Check

  • These instructions are intended for showing (listing) all MySQL databases via the command line.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.

Continue reading “Show (List) MySQL Databases on Linux via Command Line”

How to Install Ruby on Rails on CentOS 8

Reading Time: 8 minutes

Today we’re going to install Ruby on Rails using RVM (the Ruby Version Manager) onto a CentOS 8 server. Let’s start by defining a few terms and definitions we will be using during the process.

Continue reading “How to Install Ruby on Rails on CentOS 8”