How to Install lsyncd on Ubuntu 20.04 LTS

Reading Time: 4 minutes

What is lsyncd?

lsyncd is a rsync-based tool that monitors specified directories (including subdirectories) for updates and modifications, and then syncs those changes to a specified destination. It is a lightweight command application that is easy to install and configure using the popular Lua language.

It’s extremely useful in tracking data modification within a configured directory, and if changes are seen, it syncs the data between the directories which are frequently updated with new contents. By default, it is rsync only.

Continue reading “How to Install lsyncd on Ubuntu 20.04 LTS”

How to Benchmark a Website Using Apache Bench

Reading Time: 5 minutes

What is Apache Bench? 

Apache Bench is a benchmarking tool that is included with the Apache web server software. It is designed to provide an impression of how our Apache installation will perform under different circumstances. Specifically, it shows us how many requests per second our Apache installation can serve.

Continue reading “How to Benchmark a Website Using Apache Bench”

How to Enable Piped Logging in Apache

Reading Time: 3 minutes

Apache by default logs data directly to log files. While this isn’t a bad thing, it is not your only option. Both Apache 1.x and Apache 2.x bring with them the option of enabling something called “Piped Logging”, though cPanel will only allow you to enable it for version 2.x.

Continue reading “How to Enable Piped Logging in Apache”

Apache Performance Tuning: Swap Memory

Reading Time: 3 minutes

Before we get into the details of Apache tuning, we need to understand what happens when a VPS server or Dedicated server goes unresponsive due to a poorly optimized configuration.

An over-tuned server is one that is configured to allow more simultaneous requests (ServerLimit) than the server’s hardware can manage. Servers set in this manner have a tipping point, and once reached, the server will become stuck in a perpetual swapping scenario. Meaning the Kernel is stuck rapidly reading and writing data to and from the system swap file.

Continue reading “Apache Performance Tuning: Swap Memory”

How to Install Apache on a Windows Server

Reading Time: 4 minutes

When looking to host websites or services from a Windows server, there are several options to consider. It is worth reviewing the strengths and weaknesses of each server type to determine which one is most likely to meet your particular needs before you spend the time installing and configuring a web service.

Continue reading “How to Install Apache on a Windows Server”

How to Convert .htaccess Rules to NGINX Directives

Reading Time: 6 minutes

NGINX is a web server that is becoming an increasingly popular option for web hosting, as sixteen percent of all sites on the internet are utilizing NGINX. This percentage is constantly increasing as clients require a web server that can serve content faster. It can also be used for proxies, reverse proxies, load balancing, and more depending on what modules you load onto NGINX. One of the significant differences between Apache (a popular webserver) and NGINX is the way each system handles access rules. If you are familiar with using .htaccess rules in Apache, then the method that NGINX uses of including directives in the server’s vhost block will be a substantial change.

Continue reading “How to Convert .htaccess Rules to NGINX Directives”

How to Install and Configure Apache Maven on Ubuntu 18.04

Reading Time: 3 minutes

What is Apache Maven?

Apache Maven is one of the most popular build management tools for Java projects. It employs a Project Object Model or POM utilizing an XML file to define the structure of a project, including its dependencies, documentation, and build parameters. Instead of having to manage those things individually, Maven consolidates that functionality allowing for a more streamlined and efficient project management process. In this tutorial, we are going to cover how to install Maven on Ubuntu 18.04.

Continue reading “How to Install and Configure Apache Maven on Ubuntu 18.04”

Choosing Your Cloud Sites Technology Setup

Reading Time: 2 minutes

Standing behind our Liquid Web Cloud Sites product, are server racks full of both powerful and stable Linux and Windows servers which power well over 100,000 sites and applications. Every Windows-based package is served from these clusters that are built and optimized especially for Windows. All Linux-based packages are also served from these same brawny server clusters created and specifically optimized for Linux. We use advanced load balancing technologies to automatically detect the type of technology you are running and route each request to the proper pool of servers.

Continue reading “Choosing Your Cloud Sites Technology Setup”

How to Install and Use ApacheTop

Reading Time: 4 minutes

What is ApacheTop?

ApacheTop is an uncomplicated command line (CLI) utility that is used to monitor http traffic in real-time. It achieves this task by analyzing the incoming apache logs and based on that data presents understandable output to our screen. It can be configured to output X number of hits, or output X number of hits within X seconds.

Continue reading “How to Install and Use ApacheTop”

[SOLVED] Apache Error: No matching DirectoryIndex

Reading Time: < 1 minute
Pre-Flight Check
  • These instructions are intended specifically for solving the error: No matching DirectoryIndex (index.html) found.
  • I’ll be working from both Liquid Web Core Managed CentOS 6 and CentOS 7 servers, and I’ll be logged in as root.
Continue reading “[SOLVED] Apache Error: No matching DirectoryIndex”