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”

Recommended Production Settings for Cassandra on CentOS 6

Reading Time: 1 minuteIf you’ve already followed the tutorial on How To Install Cassandra on CentOS 6, then you’re ready for another step!

Pre-Flight Check
  • These instructions are intended for Cassandra 2 on a single CentOS 6 server.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.4 server, and I’ll be logged in as root.

Continue reading “Recommended Production Settings for Cassandra on CentOS 6”

New User Tutorial: Overview of the Vim Text Editor

Reading Time: 2 minutesMany articles in this knowledge base advise editing configuration files. We usually recommend using your preferred text editor. At Liquid Web, we prefer vim. Vim, or its older sibling vi, are installed by default on nearly every server that we come across. If you do not yet have a preferred text editor, read on to see if vim might work for you.

Continue reading “New User Tutorial: Overview of the Vim Text Editor”