Deploy Wordpress on Docker using Ansible

Overview The following article will cover the steps how to deploy Wordpress on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Wordpress on Docker with the Ansible playbook. In order to deploy wordpress on docker using ansible successfully, there are some requirements first to configure(listed bellow in the prerequisites) Prerequisites Docker installed and running on the target host machine(Docker installation can also be automated with Ansible – link to the POST) SSH access enabled on the remote hosts with the login parameters preset in the Ansible hosts file Ansible installed on client machine(your machine) Installed Python and Python docker module for Ansible on target machine Installed Python on your local machine Install Python Docker module for Ansible Most Linux distros have Python3 preinstalled but for others the Python Docker module that Ansible uses may be missing. You’ll know that it’s if you get an error mentioning that the module is missing or not found. Picture example of the error bellow: ...

December 29, 2021 · 5 min · 1010 words · MarkoN

How to install Wordpress using Docker

How to install Wordpress using Docker Overview In this article we’re going to go through the steps how to install Wordpress using Docker. In other words, we’re going to install Wordpress with a Docker container and also with Docker compose. The scenario for the following procedure will look as follow: Singe host machine(one debian server) and a single docker engine running. We’re going to install an official Wordpress docker container on our host and setup the data persistency as well. This method of course will work on other linux host machines as long it runs docker engine. ...

July 6, 2021 · 5 min · 1013 words · MarkoN

Install Wordpress with remote database on Debian

Install Wordpress with remote database on Debian Overview In the following post we’ll cover the scenario where we’re going to install Wordpress with remote database on Debian. In other words, we’ll have an environment were we will have two separate servers, one which will have only Wordpress installation(meaning it will host the website only) and the other will have only the database(act only as a database server). There are many beneficial reasons why this kind of environment is setup - one being the ease of website maintenance and database maintenance, performance increase(meaning the wordpress since it’s not dependent on one server, it will take much less resources). ...

June 1, 2021 · 8 min · 1617 words · MarkoN

Install Wordpress with Nginx on Debian 10/11

Overview The following post will showcase the steps how to install Wordpress with Nginx on Debian 10 and on Debian 11 as well. On a single Debian server we will install and configure the LEMP stack(Nginx, PHP and MariaDB) and at the end install and run Wordpress. In other words, our single Debian server will run the Nginx web server, the MariaDB server and run Wordpress altogether. Wordpress can also be setup and run on multiple separate servers(separate web server and separate database server). If you need setup like that(with a remote database), you can check how to setup it on this post. Another method of installing and running Wordpress is with Docker, which is covered on this post. ...

May 30, 2021 · 6 min · 1119 words · MarkoN

Install Wordpress on Ubuntu using WordOps

Install Wordpress on Ubuntu using WordOps In this post we’ll covering the steps on how to install Wordpress on Ubuntu using WordOps. Earlier we covered couple of topics in which we ran the steps how to install Wordpress on Ubuntu, using the Google Cloud platform. We covered two scenarios - one running the Apache server on Ubuntu and the other running the Nginx server on Ubuntu(You can check out those posts here - Apache version, Nginx version). Of course you can do this procedure on other distros, such as Debian or Centos for an example. In those posts, the procedures were done manually - meaning that the entire setup was done in terminal, one command at a time and it required to install and configure - web servers, php, mysql server, database and wordpress in the end. ...

July 16, 2019 · 4 min · 841 words · MarkoN

Install WordPress on Google cloud [Nginx]

How to install WordPress on Google cloud with Nginx Introduction Hosting a Wordpress website on a Google cloud platform? I’ve been experimenting with this a lot lately and it’s surprising how well it can perform even the free tier. We’ll be covering the process how to install and host wordpress website on google cloud for free. Yes, it can be done(Note - the hosting part for the website will be free, but if you need to buy a domain that’ll be the only expense in this post). ...

June 24, 2019 · 8 min · 1654 words · MarkoN

Wordpress on Google cloud free tier

How to host Wordpress on Google cloud free tier Introduction In this article we’re going to demonstrate how you can host Wordpress on Google Cloud free tier plan. We’ll be covering the process how to setup and host wordpress website on google cloud using their free tier plan. Yes, it can be done(Note - the hosting part for the website will be free, but if you need to buy a domain that’ll be the only expense in this post). ...

May 21, 2019 · 11 min · 2320 words · MarkoN