Skip to content

Simple vagrantfile script for you to deploy automatically Apache2, Mysql, and WordPress on your Ubuntu 20.04 Box in your Vagrant-vms.

Notifications You must be signed in to change notification settings

oepilcore/Ubuntu-WPIaaC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Ubuntu-WPIaaC

Ubuntu WordPress IaaC, This is just a simple vagrantfile script for you to deploy automatically Apache2, Mysql, and WordPress on your Ubuntu 20.04 Box in your Vagrant-vms.

Installation

Use git clone.

git clone https://github.com/oepilcore/Ubuntu-WPIaaC.git

Copy the file to your vagrant-vms folder *For example mine folder was installed on drive D

mv Ubuntu-WPIaaC /d/vagrant-vms/

Usage

cd /vagrant-vms/Ubuntu-WPIaaC
vagrant up

Note

Please take note of some lines: Change these lines using your private IP

config.vm.network "private_network", ip: "xxx.xxx.xxx.xxx"

Change these lines to using your DB Password

mysql -u root -e 'CREATE USER wordpress@localhost IDENTIFIED BY "<insert your password here>";'

And another line you need to replace the password that you created before with this line

sudo -u www-data sed -i 's/password_here/<your-password-here>/' /srv/www/wordpress/wp-config.php

Source

Ubuntu Install and Configure WordPress

About

Simple vagrantfile script for you to deploy automatically Apache2, Mysql, and WordPress on your Ubuntu 20.04 Box in your Vagrant-vms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published