Ignite - selfhosting WordPress - tips and tricks

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Ignite - selfhosting WordPress - tips and tricks - Presentation Transcript

    1. Self-hosting multiple WordPress blogsMy experience, tips and tricks
      Martin Buckley
      ezs@evilzenscientist.comtwitter: @ezs
    2. 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.
    3. 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
    4. 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
    5. 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.
    6. Understanding the ‘stack’.. And it all needs testing and patching
      Gallery2
      Themes
      Plugins – ‘Core’ and ‘Per site’
      WordPress Core
      Database + data
      Graphics helpers for Gallery2
      Apache/PHP/mysql/libs
      SLES
      Hardware
    7. 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.
    8. 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.
    9. 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..
    10. 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
      2.8.4!
    11. Typical change control matrix
    12. Test, test – test again.
      Something unexpected will always happen.
      e.g. libxml2/PHP bug – trac 7771
      http://core.trac.wordpress.org/ticket/7771
      http://www.evilzenscientist.com/blog/2009/08/05/php-xml-parsing-bug-and-a-workaround/
    13. Backup and recovery
      Backup is really important.
      Understand everything that needs to be archived for recovery.
      Mysql dump; filesystem dump
      Configuration files from server
      Documentation
    14. 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.
    15. 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!
    16. 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.
    17. 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
    18. 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
    19. 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
      Enjoy!
    20. Resources
      Microsoft/Web – WordPress
      http://www.microsoft.com/web/gallery/WordPress.aspx
      Microsoft WebsiteSpark
      http://www.microsoft.com/web/websitespark/
      OpenSUSE
      http://www.opensuse.org/en/
      OpenSUSE software search/multi distro
      http://software.opensuse.org/search
    SlideShare Zeitgeist 2009

    + evilzenscientistevilzenscientist Nominate

    custom

    328 views, 0 favs, 2 embeds more stats

    5 minute Ignite presentation on self-hosting WordPr more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 328
      • 316 on SlideShare
      • 12 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 10 views on http://www.evilzenscientist.com
    • 2 views on http://blog.evilzenscientist.com

    more

    All embeds
    • 10 views on http://www.evilzenscientist.com
    • 2 views on http://blog.evilzenscientist.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories