docker_logo

How to create a docker-based LAMP stack using docker-compose on Ubuntu 18.04 Bionic Beaver Linux

Objective

Following this tutorial you will be able to create a LAMP environment using the Docker technology.

Requirements

  • Root permissions
  • Basic knowledge of Docker

Conventions

  • # – requires given linux commands to be executed with root privileges either
    directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Introduction

docker_logo
Docker is an open source project aimed at providing software inside containers. You can think of a container as a sort of “package”, an isolated environment which shares the kernel with the host machine and contains everything the application needs. All containers are built using images (the central images repository for them being Dockerhub).

In this tutorial, we will see how to create a LAMP stack based on dockerized components: following the “one service per container” philosophy, we will assemble the environment using docker-compose, a tool to orchestrate container compositions.

Read more

Ubuntu Bionic Select WordPress Language

How to install WordPress On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install WordPress on Ubuntu 18.04 Bionic Beaver

Distributions

Ubuntu 18.04

Requirements

A working install of Ubuntu 18.04 with root privileges

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Introduction

Whether or not you like it, WordPress is a huge deal. It powers a gigantic portion of the Internet, and it remains one of the easiest ways to get a website online.

Installing WordPress is dead simple, once you have a LAMP or LEMP server running on Ubuntu. This guide piggy-backs on the existing PHP server guides to get you running WordPress in as little time as possible.

Read more

Ubuntu 20.04 Server Installation

Ubuntu 20.04 Server Installation

In this tutorial we will perform the Ubuntu 20.04 server installation. The Ubuntu 20.04 Focal Fossa LTS is a long term support release which guarantees updates for up to 10 years since its initial release. In terms of the actual Ubuntu 20.04 server this means security updates until 2032. This article will guide you through the minimal Ubuntu 20.04 server installation.

In this tutorial you will learn:

  • How to download Ubuntu 20.04 server ISO image
  • How to create bootable installation media
  • How to boot to Ubuntu 20.04 Server installation wizard
  • How to install minimal Ubuntu 20.04 server

Read more

Basic mod_ssl module configuration on RHEL 8 / CentOS 8 with Apache webserver

How to install mod_ssl on RHEL 8 / CentOS 8 with httpd Apache webserver

The mod_ssl module provides SSL v3 and TLS v1.x support for the Apache HTTP Server. This article provides you with a basic step by step mod_ssl configuration on RHEL 8 / CentOS 8 Linux server with httpd Apache webserver.

In this tutorial you will learn:

  • How to install mod_ssl
  • How to enable mod_ssl
  • How to create a self-signed certificate
  • How to include existing SSL certificate into httpd configuration
  • How to redirect all non-ssl HTTP traffic to HTTPS

Read more

Ubuntu 20.04 Webmin Installation

How to install Webmin on Ubuntu 20.04

Webmin is an everyday tool for the sysadmin who would rather not leave his or her browser. It provides an all-in-one tool to manage your Linux box without the need to open a console. From backups to clustering, filesystems and system update, many aspects of your system is only a few clicks away with this compact tool.

In this tutorial we will install the latest stable Webmin to a freshly installed Ubuntu 20.04 system. It is a nice characteristic of Webmin that it does not really care if this distribution’s release only came out a few days back, it does have a package for it, and it does install and run on it without any issues. To test this tool’s capabilities, we’ll perform a full system update of the operating system using the WUI (Web-based User Interface).

In this tutorial you will learn:

  • How to install required dependencies for Webmin
  • How to download Webmin .deb package from the command line
  • How to install Webmin from .deb package
  • How to access the Webmin interface with a browser
  • How to perform a full system update with Webmin
  • How to administer the Webmin server with systemd

Read more

Running a WordPress website on Ubuntu 20.04 with Nginx

Ubuntu 20.04: WordPress with Nginx installation

WordPress is an extremely popular content management system (CMS) for websites. Its popularity and ubiquity really cannot be overstated, as it powers a staggering 35% of websites. It’s an easy way to get a website online, and it offers a lot in the way of customization.

Ubuntu 20.04 Focal Fossa and Nginx are the perfect combination to run your WordPress site. Using these utilities will give you a very powerful, efficient, and stable website. Best of all, all this software is completely free and the setup isn’t very difficult. Follow along with our steps below to see how to get your WordPress site up and running on Ubuntu 20.04 with Nginx.

If you’re more familiar with or happen to prefer Apache over Nginx, we’ve written a separate guide for Ubuntu 20.04 WordPress installation on Apache.

In this tutorial you will learn:

  • How to install and configure Nginx
  • How to install and configure MariaDB for MySQL
  • How to setup a MySQL database for WordPress
  • How to download and install WordPress
  • How to configure SSL for your WordPress site

Read more

WordPress website running on Ubuntu 20.04 with Apache

Ubuntu 20.04 WordPress with Apache installation

WordPress has remained one of the best and easiest ways to get a sleek site up and running ever since its inception in 2003. As a matter of fact, current trends only show its popularity continuing to increase. WordPress is simple to use, and even hosting it yourself isn’t that hard, as we’ll prove to you in this article.

In this guide, we’ll show you how to get your site hosted with WordPress on Ubuntu 20.04 Focal Fossa. We’ll use Apache as our HTTP server, and also install PHP and MySQL since WordPress requires them in order to function. Once those packages are installed, we’ll go over the configuration of Apache and MySQL, including initial setup of a database and user, before installing WordPress itself. Towards the end, we’ll also show you how to configure optional SSL, in case you’d like your site to use HTTPS.

If you’re more familiar with or happen to prefer Nginx over Apache, we’ve written a separate guide for Ubuntu 20.04 WordPress installation on Nginx.

In this tutorial you will learn:

  • How to install and configure Apache
  • How to install and configure MariaDB for MySQL
  • How to setup a MySQL user and database for WordPress
  • How to download and install WordPress
  • How to configure SSL for your WordPress site

Read more

Apache Tomcat installed on Ubuntu 20.04

Ubuntu 20.04 Tomcat installation

Apache Tomcat is an HTTP server that can run Java technologies, namely Java Servlet, JavaServer Pages (JSP), and Java Expression Language. In this guide, we’ll show you how to install Apache Tomcat on Ubuntu 20.04 Focal Fossa. We’ll also cover the steps to set up a user for accessing the application manager, which is a panel inside Tomcat that can configure virtual hosts and other applications.

In this tutorial you will learn:

  • How to install and configure Apache Tomcat
  • Open firewall ports for Tomcat and test
  • How to configure credentials for Tomcat admin
  • How to access Tomcat Web Application Manager

Read more