Reading Time: < 1 minute
Working with a database can sometimes be intimidating, but PhpMyAdmin can simplify tasks by providing a control panel to view or edit your MySQL or MariaDB database. In this quick tutorial, we’ll show you how to install PhpMyAdmin on an Ubuntu 18.04 server.
Continue reading “How to Install phpMyAdmin on Ubuntu 18.04”
Reading Time: 3 minutes
WordPress has a great GUI-based installation process however some use cases call for CLI! Or, maybe you just feel more at home in a terminal, either way this article will show you how to get your WordPress site setup with just a terminal, using WP-CLI, and maybe a sprinkle of SSH.
In order to be able to install WordPress manually using WP-CLI you will first need to create a new database for the WordPress install. You will need to know how to find your SSH credentials as well as being used to using Terminal or Putty and WP-CLI.
Continue reading “Installing WordPress using WP-CLI”
Reading Time: 8 minutes
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”
Reading Time: 8 minutes
What is Tomcat?
In this article, we will be demonstrating how to install Apache Tomcat on CentOS 8. Before we begin, let’s define exactly what Apache Tomcat is. Apache defines Tomcat as: “An open-source, servlet container, JavaServer Pages, Java Expression Language, and WebSocket technology that also acts as a web server. It affords a “pure Java” based HTTP server environment in which Java can be executed.” Tomcat works with the Java programming language and is associated with web applications written in Java.
Continue reading “How to Install Tomcat 9 on CentOS 8”
Reading Time: 6 minutes
What is Siege?
Siege is a remote host http/https regression testing and benchmarking tool that can be used to test the performance of your web server under duress to see how it will perform.
It allows an admin or server owner to simulate hits or connections to a web server with a preconfigured number of concurrent connections from simulated users. By utilizing this software, these simulated users target the server and place it “under siege,” hence the name. The timeframe of the siege is measured in:
Continue reading “Siege: How to Benchmark Your Server”
Reading Time: 5 minutes
In this article, we will be reviewing the Apache Service Status. Sometimes checking the performance of a server can be difficult. Apache has built-in utilities that assist in monitoring the usage and performance of Apache. Apache Status also provides information that aids in performance auditing and control tuning.
Continue reading “Understanding the Apache Service Status”
Reading Time: 2 minutesIn this article, we will be discussing how to install Multiple PHP Versions on Ubuntu 16.04. Ubuntu 16.04 LTS servers assign the PHP 7.0 version by default. Although PHP 5.6 is currently EOL (end of life) as of December of 2018, some applications may not be compatible with PHP 7.0. For this tutorial, we instruct on how to switch between PHP 7.0 and PHP 5.6 for Apache and the overall default PHP version for Ubuntu.
Continue reading “Update: Install Multiple PHP Versions on Ubuntu 16.04”
Reading Time: 2 minutes
Have you ever wondered how Python web applications work on an Apache or NGINX web server? The answer is WSGI or Web Server Gateway Interface.
Python is rapidly gaining in popularity for various web applications and software options. WSGI is one of the numerous powerful frameworks that are enabling this forward-looking acceptance. You may be new to Python web applications and wondering how this type of application is deployed in a production environment or you may have already used this type of framework previously, but want to know more about what WSGI is.
Continue reading “What Is WSGI?”
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”
Reading Time: 4 minutesToday, we will be reviewing how to configure Apache virtual hosts on a CentOS 7 server. If you host websites, chances are you are hosting more than one website. If so, knowing how and why these virtual hosts work should allow you to better understand why they are needed.
By default, Apache can host only one document root for all requests, which likely isn’t what you want to happen.
We can use VirtualHost blocks to translate named domains into their appropriate document roots, with new settings per-block as needed. But, what goes into a valid VirtualHost? Where should it be stored?
Continue reading “How to Configure Apache Virtual Hosts on CentOS 7”