SlideShare a Scribd company logo
Self-hosting multiple WordPress blogsMy experience, tips and tricksMartin Buckleyezs@evilzenscientist.comtwitter: @ezs
Some history and contextFirst on-line presence way back in 1993Evolution over 16 years:Static HTML  something a little more automated  bloggingAlso my extended family are in the UK/NZ – keeping the Grandparents up to date is important.
Technology evolutionWay back - ftp upload of html/content to some Unix hostSince 2000 – static IP and self hosting2000 – NetWare (!) + static content2003 – SLES 8 + Apache + static content2005 – SLES 9 + Apache + mysql + WordPress 1.52009 – virtualised web + mysql on SLES
Why self-hostingI’m a technology geek. Self hosting means live servers, a great sandbox and a real learning environment.(I also run the home infrastructure..)I get ultimate flexibility and control.Hosting elsewhere is cheaper – with the usual issues around security, platform, updates etc
Hosting for friends and familyThe ultimate scope creep.Started with the ‘family blog’ – added my ‘personal blog’ …… then added various additional blogs for family members; three blogs for friends and my sisters Cub Scout pack.Now over a dozen in total.
Understanding the ‘stack’.. And it all needs testing and patchingGallery2ThemesPlugins – ‘Core’ and ‘Per site’WordPress CoreDatabase + dataGraphics helpers for Gallery2Apache/PHP/mysql/libsSLESHardware
Old school patchingCheck on a semi-regular basis for updates to WordPress (e.g. 1.5  1.6)Download; unpack; test.Check for Linux updates on a regular basisDownload; update; test.
Patching todayPlugins seem to be updated on an almost daily basis.WordPress at last has a more regular cadence for updates; expect the flurry of point releases after a major rev.
The challengeEach blog is built of a ‘core’ set of plugins – with some specific functionality added on top. There are a couple of hand-coded modifications in place (theme and php-exec plugin)How to keep ‘secure’ and functional – without spending 20 hours a week patching..
Change control is keyDiscipline keeps things sane.Consistent core blog structureDocument changes; test the changes; deploy the changesHave a rollback/backup planPlan for major, grouped updatesMy last one was to 2.8.3Expect the short notice security fixes2.8.4!
Typical change control matrix
Test, test – test again.Something unexpected will always happen.e.g. libxml2/PHP bug – trac 7771http://core.trac.wordpress.org/ticket/7771http://www.evilzenscientist.com/blog/2009/08/05/php-xml-parsing-bug-and-a-workaround/
Backup and recoveryBackup is really important.Understand everything that needs to be archived for recovery.Mysql dump; filesystem dumpConfiguration files from serverDocumentation
BackupWeekly dump of mysql and configto offline disk.Monthly dump of photos to offline disks.Full archive every quarter.Stored in a fire safe.Looking at going back to tape to make this easier and faster.
RestoreFire/theft/hackers/malware/bad hardware.Something will eat the data.Since 2000 I have rebuilt the web servers over a dozen times – upgrade OS, moving OS, moving hardware, replacing failed hardware, upgrading hardware – all the usual reasons.Practice your data rebuild before the emergency!
SecurityHaving anything internet facing invites intruders. Everything from casual inquiries to more serious hacking and DOS attempts.At some point someone will try and hack/attack you.Be prepared.
SecurityThe basicsKeep things up to date!
Have an edge firewall and intrusion detection.
Understand your normal traffic patterns in and out
NAT helps a little

More Related Content

PDF
Security 101
PPTX
Word press security basics
PDF
WordPress security & performance a beginners guide
PPTX
Managing WordPress
PDF
8 Ways to Hack a WordPress website
PPTX
WordPress Security Implementation Guideline - Presentation for OWASP Romania ...
PPTX
Dan Catalin Vasile - Defcamp2013 - Does it pay to be a blackhat hacker
PPTX
Dan Catalin Vasile - Hacking the Wordpress Ecosystem
Security 101
Word press security basics
WordPress security & performance a beginners guide
Managing WordPress
8 Ways to Hack a WordPress website
WordPress Security Implementation Guideline - Presentation for OWASP Romania ...
Dan Catalin Vasile - Defcamp2013 - Does it pay to be a blackhat hacker
Dan Catalin Vasile - Hacking the Wordpress Ecosystem

What's hot (20)

PPTX
Locking down word press
PPTX
WordPress security for everyone
PPTX
Wordpress Security & Hardening Steps
PDF
Securing your WordPress site in 5 easy pieces
PPTX
WordPress Plugins and Security
PDF
WordPress security 101 - WP Turku Meetup 2.2.2017
PDF
Technical SEO for WordPress - 2017 edition
PDF
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
PDF
Testing and updating WordPress - Advanced techniques for avoiding regressions
PDF
The moment my site got hacked - WordCamp Sofia
DOCX
Wordpress best practices
PPTX
Sharedhosting and WordPress
PPTX
Open source technologies in Microsoft cloud
PPTX
B wapp – bee bug – installation
PDF
8 Simple Ways to Hack Your Joomla
ODP
WordPress Security - Kulpreet Singh
PDF
Keep Your SIte Secure
PDF
Vagrant + Veewee : Barcampboston April 10-2011
PDF
Automate IBM Connections Installations and more
PDF
Find WordPress performance bottlenecks with XDebug PHP profiling
Locking down word press
WordPress security for everyone
Wordpress Security & Hardening Steps
Securing your WordPress site in 5 easy pieces
WordPress Plugins and Security
WordPress security 101 - WP Turku Meetup 2.2.2017
Technical SEO for WordPress - 2017 edition
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
Testing and updating WordPress - Advanced techniques for avoiding regressions
The moment my site got hacked - WordCamp Sofia
Wordpress best practices
Sharedhosting and WordPress
Open source technologies in Microsoft cloud
B wapp – bee bug – installation
8 Simple Ways to Hack Your Joomla
WordPress Security - Kulpreet Singh
Keep Your SIte Secure
Vagrant + Veewee : Barcampboston April 10-2011
Automate IBM Connections Installations and more
Find WordPress performance bottlenecks with XDebug PHP profiling
Ad

Viewers also liked (20)

PPT
Stretching Your Food Dollars
PPTX
Blogspot
PDF
Email and Social Media 2010
PPT
Bio Powerpoint
PPTX
PPT
Caribbean higher education seen with European eyes
PDF
Presentazione Touchword
PPS
Reactions And Mixtures
PPT
Olaf Janssen on benefits of collaboration between Europeana and archives duri...
PPT
Social media observations in Asia
PPTX
PPT
Artistic Hub Overview
PDF
高専カンファレンスというエコシステムの一歩先
PPT
Whistler Real Estate Company 2009 Sales Stats Comparison
PPTX
PDF
TRG Capabilities Statement 2009
PPTX
Blogspot
PPT
Westernciv Danandtom
PDF
Sepsis Guidelines 2007
PDF
Stretching Your Food Dollars
Blogspot
Email and Social Media 2010
Bio Powerpoint
Caribbean higher education seen with European eyes
Presentazione Touchword
Reactions And Mixtures
Olaf Janssen on benefits of collaboration between Europeana and archives duri...
Social media observations in Asia
Artistic Hub Overview
高専カンファレンスというエコシステムの一歩先
Whistler Real Estate Company 2009 Sales Stats Comparison
TRG Capabilities Statement 2009
Blogspot
Westernciv Danandtom
Sepsis Guidelines 2007
Ad

Similar to Ignite - selfhosting WordPress - tips and tricks (20)

PDF
WordPress Setup and Security - WordCamp, Charleston 2014
PPTX
Speed & Uptime with Wordpress
PPT
Up and Running with WordPress - Site Shack Nashville Web Design
PPTX
Avoiding Errors: Troubleshoot Wordpress like a Pro!
PPTX
Care and feeding of your website
PPT
WordPress Security
PPTX
WCBos13 intermediate workshop
PPT
WordPress Complete Tutorial
PPTX
Why it's not your host's fault
PDF
WordPress Intermediate Workshop
PDF
Word camp Raleigh 2017 - Wordpress for Beginners
PPT
Wordpress Basics
PPT
Internet Librarian Slides
PPTX
WordPress Security Best Practices
PPTX
WordCamp RI 2015 - Beginner WordPress Workshop
PPT
WordPress 2.5 Overview - Rich Media Institute
PPTX
Battling the WSOD - A Tech Support Tale
KEY
Word Camp Ph 2009 Word Press In The Wild
PDF
Wordpress Guide
PPTX
Your first word press site
WordPress Setup and Security - WordCamp, Charleston 2014
Speed & Uptime with Wordpress
Up and Running with WordPress - Site Shack Nashville Web Design
Avoiding Errors: Troubleshoot Wordpress like a Pro!
Care and feeding of your website
WordPress Security
WCBos13 intermediate workshop
WordPress Complete Tutorial
Why it's not your host's fault
WordPress Intermediate Workshop
Word camp Raleigh 2017 - Wordpress for Beginners
Wordpress Basics
Internet Librarian Slides
WordPress Security Best Practices
WordCamp RI 2015 - Beginner WordPress Workshop
WordPress 2.5 Overview - Rich Media Institute
Battling the WSOD - A Tech Support Tale
Word Camp Ph 2009 Word Press In The Wild
Wordpress Guide
Your first word press site

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced methodologies resolving dimensionality complications for autism neur...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Review of recent advances in non-invasive hemoglobin estimation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing

Ignite - selfhosting WordPress - tips and tricks

  • 1. Self-hosting multiple WordPress blogsMy experience, tips and tricksMartin Buckleyezs@evilzenscientist.comtwitter: @ezs
  • 2. Some history and contextFirst on-line presence way back in 1993Evolution over 16 years:Static HTML  something a little more automated  bloggingAlso my extended family are in the UK/NZ – keeping the Grandparents up to date is important.
  • 3. Technology evolutionWay back - ftp upload of html/content to some Unix hostSince 2000 – static IP and self hosting2000 – NetWare (!) + static content2003 – SLES 8 + Apache + static content2005 – SLES 9 + Apache + mysql + WordPress 1.52009 – virtualised web + mysql on SLES
  • 4. Why self-hostingI’m a technology geek. Self hosting means live servers, a great sandbox and a real learning environment.(I also run the home infrastructure..)I get ultimate flexibility and control.Hosting elsewhere is cheaper – with the usual issues around security, platform, updates etc
  • 5. Hosting for friends and familyThe ultimate scope creep.Started with the ‘family blog’ – added my ‘personal blog’ …… then added various additional blogs for family members; three blogs for friends and my sisters Cub Scout pack.Now over a dozen in total.
  • 6. Understanding the ‘stack’.. And it all needs testing and patchingGallery2ThemesPlugins – ‘Core’ and ‘Per site’WordPress CoreDatabase + dataGraphics helpers for Gallery2Apache/PHP/mysql/libsSLESHardware
  • 7. Old school patchingCheck on a semi-regular basis for updates to WordPress (e.g. 1.5  1.6)Download; unpack; test.Check for Linux updates on a regular basisDownload; update; test.
  • 8. Patching todayPlugins seem to be updated on an almost daily basis.WordPress at last has a more regular cadence for updates; expect the flurry of point releases after a major rev.
  • 9. The challengeEach blog is built of a ‘core’ set of plugins – with some specific functionality added on top. There are a couple of hand-coded modifications in place (theme and php-exec plugin)How to keep ‘secure’ and functional – without spending 20 hours a week patching..
  • 10. Change control is keyDiscipline keeps things sane.Consistent core blog structureDocument changes; test the changes; deploy the changesHave a rollback/backup planPlan for major, grouped updatesMy last one was to 2.8.3Expect the short notice security fixes2.8.4!
  • 12. Test, test – test again.Something unexpected will always happen.e.g. libxml2/PHP bug – trac 7771http://core.trac.wordpress.org/ticket/7771http://www.evilzenscientist.com/blog/2009/08/05/php-xml-parsing-bug-and-a-workaround/
  • 13. Backup and recoveryBackup is really important.Understand everything that needs to be archived for recovery.Mysql dump; filesystem dumpConfiguration files from serverDocumentation
  • 14. BackupWeekly dump of mysql and configto offline disk.Monthly dump of photos to offline disks.Full archive every quarter.Stored in a fire safe.Looking at going back to tape to make this easier and faster.
  • 15. RestoreFire/theft/hackers/malware/bad hardware.Something will eat the data.Since 2000 I have rebuilt the web servers over a dozen times – upgrade OS, moving OS, moving hardware, replacing failed hardware, upgrading hardware – all the usual reasons.Practice your data rebuild before the emergency!
  • 16. SecurityHaving anything internet facing invites intruders. Everything from casual inquiries to more serious hacking and DOS attempts.At some point someone will try and hack/attack you.Be prepared.
  • 18. Have an edge firewall and intrusion detection.
  • 19. Understand your normal traffic patterns in and out
  • 20. NAT helps a little
  • 21. Don’t run your web site on your laptop/games machine/home serverSecurityThe basicsMinimise the attack profile – less is better. Turn off/don’t install unwanted modules and features.
  • 24. Have good quality passwords
  • 25. Don’t use root; have separation of priviledgesSummaryI love hosting my own WordPress – it’s been a great learning experience.Keep on top of patching and updates!Share your experiences – WordCamp and WordPress.org – the community needs us allEnjoy!
  • 26. ResourcesMicrosoft/Web – WordPresshttp://www.microsoft.com/web/gallery/WordPress.aspxMicrosoft WebsiteSparkhttp://www.microsoft.com/web/websitespark/OpenSUSEhttp://www.opensuse.org/en/OpenSUSE software search/multi distrohttp://software.opensuse.org/search