Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous WordPress

DragonBe
February 27, 2020

Continuous WordPress

WordPress is probably the most-used blogging framework on the internet, with millions of people publishing multiple articles daily and a very active community building extra functionality through plugins and themes, making WordPress the best tool for small businesses to get started with their online identity. But this popularity comes with a price: it becomes target to spammers and even worse: hackers.

In this session I will explain how you can harness your WordPress setup and use automated tools to keep your WordPress site (or sites) protected and up-to-date, especially when you can not use the automated update features WordPress has build-in. Stop worrying about failing plugins and keep your WordPress application up-to-date in a continuous, automated, secure way.

DragonBe

February 27, 2020
Tweet

More Decks by DragonBe

Other Decks in Technology

Transcript

  1. Michelangelo van Dam (@DragonBe) Michelangelo van Dam I'm a senior

    #php architect, co-founder and #ceo of @in2itvof, #community leader at @phpbenelux, coach at @CoderDojoBelgium, #digitalnomad, likes #coffee. 2
  2. Michelangelo van Dam (@DragonBe) Top 5 retail platforms in Belgium

    1. Magento (28%) 2. WordPress/WooCommerce (16%) 3. Lightspeed (9%) 4. Drupal (8%) 5. PrestaShop (7%) Source: Twinkle.be 100 2017 - 2018
  3. Michelangelo van Dam (@DragonBe) Why WordPress is so great PRO

    Easy for end users PRO Endless possibilities via plugins PRO Supports many PHP versions PRO Active updates
  4. Michelangelo van Dam (@DragonBe) Why WordPress is not so great

    CON Auto updates for core only CON Manual updates plugins & themes CON Supports many PHP versions CON Prime target for hackers
  5. Michelangelo van Dam (@DragonBe) Then you start having some more

    A website for family, hobby, sports club, …
  6. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  7. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  8. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  9. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  10. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  11. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  12. Michelangelo van Dam (@DragonBe) WordPress stack Server (cloud, VPS, bare

    metal) ENV (DEV, TEST, ACC & PROD) Operating System Database & Filesystem WordPress Core WP Themes Custom Themes WP Plugins Custom Plugins
  13. Michelangelo van Dam (@DragonBe) WordPress SVN Repositories • WordPress Core:

    https://core.svn.wordpress.org • WordPress Plugins: https://plugins.svn.wordpress.org • WordPress Themes: https://themes.svn.wordpress.org
  14. Michelangelo van Dam (@DragonBe) Custom SVN Repositories • Custom Themes:

    http://svn.company.com/themes • Custom Plugins: http://svn.company.com/plugins
  15. Michelangelo van Dam (@DragonBe) Using GIT-SVN with GitHub • https://github.com/compa

    ny/wp/themes/mytheme/ tags/1.1.4 • https://github.com/compa ny/wp/plugins/myplugin/t ags/3.2.6
  16. Michelangelo van Dam (@DragonBe) Continuous Monitor, Test and Update Your

    WordPress sites Default target: ------------------------------------------------------------------------------- build Run automated WordPress Updater Main targets: ------------------------------------------------------------------------------- build Run automated WordPress Updater catalog Create a catalog of sites under control dbupdate Update the WP database if there’s new version inventory Make an inventory of site core, plugins and themes versions plugin-check Check if WordPress Plugins require updates prepare Get all configuration settings theme-check Check if WordPress Themes require updates wpbackup Make a backup of the WordPress site wpcore-check Check if WordPress Core requires updates wpplugins-check Check local WP Plugins version wpthemes-check Check local WP Themes version Converting manual steps into build steps
  17. Michelangelo van Dam (@DragonBe) And if we go into details,

    we see it running all the steps we defined