Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.05 KB

README.md

File metadata and controls

35 lines (26 loc) · 2.05 KB

L+L server configuration

This repository contains Puppet scripts for setting up a new Ubuntu server with WordPress and Adminer installed. The following Ubuntu versions are supported:

  • Ubuntu 16.04 (Xenial Xerus)
  • Ubuntu 18.04 (Bionic Beaver)
  • Ubuntu 20.04 (Focal Fossa)
  • Ubuntu 22.04 (Jammy Jellyfish)

There's also a Vagrantfile here! That's because these server configuration scripts grew out of our fork of vagrantpress. Now, we use the same server deployment scripts for production and development environments, so it makes sense to keep it all in one place.

Getting started with a production environment

  1. Deploy a new server with Linode Manager
  2. SSH into the server as root (you can use the web console if you like)
  3. Run wget https://github.com/LundgrenLindqvist/vagrantpress/archive/master.tar.gz
  4. Run tar xzvf master.tar.gz
  5. Change the variables in vagrantpress-master/puppet/data/common.yaml as needed
  6. Run vagrantpress-master/puppet/production-puppet-apply.sh
  7. Remove the setup files by running rm -r master.tar.gz vagrantpress-master . Only the root user can access them, but they still contain user passwords that could be sensitive if left lying around.
  8. That's it! 🐵

Getting started with a development environment

  1. Download the project
  2. Extract the directory and cd into it
  3. Run vagrant plugin install vagrant-hostsupdater if you haven't already
  4. Change the variables in puppet/data/common.yaml as needed
  5. Run vagrant up
  6. Open vagrantpress.test in your browser
  7. That's it! 🐵

Acknowledgments

This repo started as a fork of Vagrantpress. We've changed pretty much every aspect of it since then, but we still owe some gratitude to the original authors for getting us off the ground. Thank you Chad Thompson, and fellow contributors!