How to Install SaltStack on Ubuntu 18

Reading Time: 6 minutes

What is SaltStack?

SaltStack is an open-source infrastructure management platform built on a dynamic communications bus. The main structure of SaltStack contains two main components for work: one Salt Master and several Salt Minions. Salt Master is the main control system used to send commands to Salt Minion and their configuration. Salt Minions (they are also called Nodes) are subsystems that work on managed servers and receive commands from the master, as well as their configuration. At least two servers are required for interaction settings. One for the Master and one for the node. All nodes are configured in the same way.

Continue reading “How to Install SaltStack on Ubuntu 18”

How to Install Graylog Sidecar

Reading Time: 4 minutes

What is Graylog Sidecar?

Graylog Sidecar is a nimble configuration management framework for various log collectors called backends. The Graylog master node acts as a centrally located hub that contains the configurations of the log collectors. Sidecar can run as a service on both Windows and Linux servers.

Continue reading “How to Install Graylog Sidecar”

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 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”

How to Sync Two CentOS 8 Servers Using File Replication

Reading Time: 8 minutes

Introduction

All online businesses need to account for growth. As a business receives more visitors to its site, the underlying infrastructure needs to scale to provide the same level of performance that the visitors are accustomed to. Horizontal scaling, the addition of more servers rather than increasing the power of the existing servers, is an easy way to build our web servers’ ability to handle a more significant amount of traffic and protect us against hardware failure. Ensuring that the additional web servers have the same files and data is a potentially time-consuming and challenging task. Automating that task using free, open-source software, such as lsyncd, is a way to ensure that we have a safe, secure, and repeatable method of copying files from one server to another.

Continue reading “How to Sync Two CentOS 8 Servers Using File Replication”

Configuring WSGI on Ubuntu/Centos

Reading Time: 3 minutes

This article outlines the process of configuring a server for Python 3 web applications with Apache 2.4 using mod_wsgi. 

What is mod_wsgi?

Mod_wsgi is an Apache module that allows Python web applications to function on a server. This module provides a web framework for Flask, Django, and other Python based frameworks to operate within a production environment on a server.

Continue reading “Configuring WSGI on Ubuntu/Centos”

Getting Started With Flask

Reading Time: < 1 minute

What is Flask?

Flask is a micro web framework for Python that allows unlimited possibilities to the structure and format for building powerful web applications. This article demonstrates how to get started with Flask using Python 3.7 inside of a virtual environment.

Flask_logo
Continue reading “Getting Started With Flask”

How To Install VIM (Vi IMproved) on Fedora 23

Reading Time: < 1 minute

Note:
Please note that this article is considered legacy documentation because Fedora 23 has reached its end-of-life support.

Pre-Flight Check

  • These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 23.
  • We’ll be working as root on a Liquid Web Self Managed Fedora 23 server. If you need to install vim on Fedora 22, visit this tutorial.
  • If you’ve received the error “-bash: vim: command not found” while following any of our other tutorials, following the instructions below will resolve it.

Step #1: The Installation

As a matter of best practice we’ll update our packages:

dnf -y update

Then we’ll install VIM (Visual editor IMproved) and any required packages:

dnf -y install vim-enhanced

Step #2: Verify the Application is Available

Now verify that the application is available by using the following command:

vim

Running that code should result in output similar to the following:

~ VIM - Vi IMproved
VIM - Vi IMproved
~
~ version 7.4.827
~ by Bram Moolenaar et al.
~ Modified by <bugzilla@redhat.com>
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
~ type :help iccf for information
~
~ type :q to exit
~ type :help or for on-line help
~ type :help version7 for version info

Step #3: Learn VIM!

For a refresher on editing files with vim, see New User Tutorial: Overview of the Vim Text Editor.

How to Install VIM (Visual editor IMproved) on Fedora 21

Reading Time: < 1 minute

Note:
Please note that this article is considered legacy documentation because Fedora 21 has reached its end-of-life support.
Pre-Flight Check
  • These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 21.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Continue reading “How to Install VIM (Visual editor IMproved) on Fedora 21”

How to Install VIM (Visual editor IMproved) on Fedora 22

Reading Time: < 1 minute

Pre-Flight Check
  • These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 22.
  • I’ll be working from a Liquid Web Self Managed Fedora 22 server, and I’ll be logged in as root.

Continue reading “How to Install VIM (Visual editor IMproved) on Fedora 22”