Wordpress installation script for Ubuntu (Tested on Ubuntu 20.04 but should work on other versions also).
Script made to automate process of Wordpress installation on Ubuntu. Copy and past 3 lines and Wordpress will be up and running
WHen the script is executed it is going to install all necessary dependencies, MySql, Apache and Wordpress itself.
Basic configuration of Apache will be installed on /etc/apache2/sites-available/wordpress.conf and Wordpress config file in /srv/www/wordpress/wp-config.php
At the end of installation summary will be displaying.
Step 1 - download the script
sudo wget https://raw.githubusercontent.com/cierek/Wordpress/main/wordpress_install.sh
Step 2 - modify the script
This is not necesary if you are creating a test wordpress to play on your local machine. However, it is highly recommended to change the default password.
Step 3 - make script executable
sudo chmod +x wordpress_install.sh
Step 4 - execute the script
sudo ./wordpress_install.sh
https://wordpress.org/ - Wordpress official Page
https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview - Wordpress installation process by Canonical
https://github.com/Yenthe666/InstallScript - Yenthe's installation script for Odoo ERP (when Wordpress is not enough). Script in here was actually inspired by Yenthe's work which helped thousands of people worlwide to install Odoo