• Save
Ignite - selfhosting WordPress - tips and tricks
Upcoming SlideShare
Loading in...5

Ignite - selfhosting WordPress - tips and tricks



5 minute Ignite presentation on self-hosting WordPress.

5 minute Ignite presentation on self-hosting WordPress.



Total Views
Views on SlideShare
Embed Views



3 Embeds 32

http://www.evilzenscientist.com 23
http://www.techgig.com 7
http://blog.evilzenscientist.com 2



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Ignite - selfhosting WordPress - tips and tricks Ignite - selfhosting WordPress - tips and tricks Presentation Transcript

  • Self-hosting multiple WordPress blogsMy experience, tips and tricks
    Martin Buckley
    ezs@evilzenscientist.comtwitter: @ezs
  • Some history and context
    First on-line presence way back in 1993
    Evolution over 16 years:
    Static HTML  something a little more automated  blogging
    Also my extended family are in the UK/NZ – keeping the Grandparents up to date is important.
  • Technology evolution
    Way back - ftp upload of html/content to some Unix host
    Since 2000 – static IP and self hosting
    2000 – NetWare (!) + static content
    2003 – SLES 8 + Apache + static content
    2005 – SLES 9 + Apache + mysql + WordPress 1.5
    2009 – virtualised web + mysql on SLES
  • Why self-hosting
    I’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 family
    The 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 patching
    Plugins – ‘Core’ and ‘Per site’
    WordPress Core
    Database + data
    Graphics helpers for Gallery2
  • Old school patching
    Check 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 basis
    Download; update; test.
  • Patching today
    Plugins 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 challenge
    Each 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 key
    Discipline keeps things sane.
    Consistent core blog structure
    Document changes; test the changes; deploy the changes
    Have a rollback/backup plan
    Plan for major, grouped updates
    My last one was to 2.8.3
    Expect the short notice security fixes
  • Typical change control matrix
  • Test, test – test again.
    Something unexpected will always happen.
    e.g. libxml2/PHP bug – trac 7771
  • Backup and recovery
    Backup is really important.
    Understand everything that needs to be archived for recovery.
    Mysql dump; filesystem dump
    Configuration files from server
  • Backup
    Weekly 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.
  • Restore
    Fire/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!
  • Security
    Having 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.
  • Security
    The basics
    • Keep things up to date!
    • Have an edge firewall and intrusion detection.
    • Understand your normal traffic patterns in and out
    • NAT helps a little
    • Don’t run your web site on your laptop/games machine/home server
  • Security
    The basics
    • Minimise the attack profile – less is better. Turn off/don’t install unwanted modules and features.
    • Anti-virus for Windows
    • Host firewall rules
    • Have good quality passwords
    • Don’t use root; have separation of priviledges
  • Summary
    I 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 all
  • Resources
    Microsoft/Web – WordPress
    Microsoft WebsiteSpark
    OpenSUSE software search/multi distro