SlideShare a Scribd company logo
Jonathan Perlman
August 17, 2014
Montreal, Quebec
@jpurpleman
jonathan@purpleman.org
http://purpleman.org/wcmtl
@
 + 10 years as
a web developer
at Dawson College
 + 6 years teaching
the World Wide Web
and Microsoft Office
 + 4 years using and
learning WordPress
 I’m not a Linux network
administrator
 I’m not a security expert
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: alexidagher.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: office.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
Restrictions
Software limitations
Can’t modify
configurations
Resources
CPU intense
Noisy neighbors
Reliability
Downtime
Lack of support
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: flickr (roger4336 )
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
UnmanagedManaged
Image credit: commons.wikimedia.org Image credit: flickr (retropc )
Managed
Shared hosting for
WordPress
Support knows
WordPress
Relevantly easy and
hands off
Costly in $$$
Unmanaged
Learning curve
Very DIY
“ Painful “
Costly in time
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
WPEngine http://wpengine.com
WebSynthesis http://websynthesis.com
Flywheel http://getflywheel.com
Page.ly https://pagely.com
Pressable http://pressable.com
SiteGround http://siteground.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Digital Ocean http://www.digitalocean.com
Linode https://www.linode.com
Media Temple
http://mediatemple.net/webhosting/
vps/developer/
Site5 http://www.site5.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
RAM CPU
Disk
Space
Image credit: commons.wikimedia.org
purpleman.org
• Photo clients
• Personal use
• Ram: 1 Gig
• CPU: 1 Core
• Disk: 30 Gigs
snookercanada.ca
• Snooker players
• Media relations
• Ram: 2 Gigs
• CPU: 2 Cores
• Disk: 40 Gigs
dawsoncollege.qc.ca
• + 10,000 students
• + 1,000 faculty / staff
• Ram: 16 Gigs
• CPU: 4 Core
• Disk: 128 Gigs
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
DNS
Linux Web
PHP Db
 CloudFlare
 https://www.cloudflare.com
 Easydns
 https://www.easydns.com
 DNS with domain or hosting provider
 Local “Hosts” file
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Stable
 CentOS 7
Supported till 2024
 Bleeding edge
 Ubuntu 14.04 LTS
Supported till 2019
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 cPanel
 www.cpanel.net
 Parallels Plesk
 sp.parallels.com/
products/plesk/
 ZPanel
 www.zpanelcp.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Text Editor
 vi / nano
 File System
 cd & ls
 cp & mv & rm
 mkdir
 Permissions
 chmod & chown
 Process Management
 ps & top
 Kill
 http://www.ee.surrey.ac.uk/
Teaching/Unix/
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Stan Lee
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: sapienstoonz.deviantart.com
 All powerful server administrator
 Terminal Root User = WordPress Admin User
 Constantly targeted and attacked
 New servers are under attack in hours
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Change it’s password
 Make it a super secure password!
 Deny Root from remote login
 Create a non-admin user account
 Assign admin rights with VISUDO
 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-6
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Generating keys
 http://kb.siteground.com/how_to_generate_an_ssh_key_on_windows_using_putty/
 http://coolestguidesontheplanet.com/make-passwordless-ssh-connection-osx-10-9-
mavericks-linux/
 Set up keys on the server Login via SSH keys
 https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Block everything
 Allow specific ports from specific IPs
 22 – SSH
 80 – Web
 443 – Secure Web
 3306 – MySql
 Allowing for dynamic IPs
 Use hit count rules
 https://github.com/jpurpleman/linux
 http://cyberciti.biz/tips/linux-iptables-examples.html
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: support.Microsoft.com
 yum update for CentOS
 apt-get update for Ubuntu
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
 Apache or Nginx
 Use virtual hosting for multiple domains
 Create development domains
 .htaccess is off by default in Apache
 Change “AllowOverride” to All
 https://www.digitalocean.com/community/
tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
php.ini
 allow_url_fopen
 session.gc_maxlifetime
 disable_functions
 display_errors
 post_max_size
 memory_limit
 max_execution_time
 upload_max_filesize
.htaccess
 php_value
upload_max_filesize
10M
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
http://php.net/manual/en/ini.list.php
 MySql or MariaDB
 Setup steps
 Set a secure root user
 Remove test database
 Create web user with limited access
 Create yourself a user with full access
 https://www.digitalocean.com/community/
tutorials/a-basic-mysql-tutorial
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Download and extract
 Create the database
and a user
 Set up wp-config.php
 Run the install script
 http://codex.wordpress.org/
Installing_WordPress
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 http://codex.wordpress.org/
Hardening_WordPress
 http://codex.wordpress.org/
Changing_File_Permissions
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Home directory
 Root home directory
 Configuration directory
 Web files
 Database
 Automysqlbackup
http://sourceforge.net/projects/automysqlbackup/
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: memofixdatarecovery.com
 http://aws.amazon.com/backup-storage
 http://mozy.com/product/solutions/
server-backup
 https://www.jungledisk.com/
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Google Apps for Business
 http://www.rackspace.com/email-hosting/
 https://www.fastmail.fm
 https://www.zoho.com/mail
 https://www.pobox.com/
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Uptime Robot
 Pingdom
 New Relic
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: opmlink.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Get a virtual private server – call it professional development
 Set it up
 Play around – learn!
 Edit your hosts file and point your domain to the server
 Create a development WordPress site
 Setup your WordPress site
 Create a production WordPress site
 Change the DNS!
 You’re live!
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 Setting up and configuring SSL
 2 Servers - Web & MySQL
 Varnish / Memcache for caching
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
 https://www.digitalocean.com/community/
 https://www.linode.com/docs
 http://www.youtube.com/user/TJsWebDev/
 http://www.cyberciti.biz
 http://www.rosehosting.com/blog
 http://www.servermom.org
 http://www.tecmint.com
 http://webchat.freenode.net/?channels=digitalocean&uio=d4
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Mike Johnson.
http://gdargaud.net/Humor/QuotesHardwareSoftware.html
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
August 17, 2014Jonathan Perlman - WordCamp Montreal 2014
Questions
Thank
you!
Jonathan Perlman
August 17, 2014
Montreal, Quebec
@jpurpleman
jonathan@purpleman.org
http://purpleman.org/wcmtl
@

More Related Content

PDF
On the Move, Migrations Made Simple
PDF
Stashaway 1
PDF
API All the Things!
PDF
PHP Conference Argentina 2013 - Independizate de tu departamento IT - Habilid...
PDF
Puppet Keynote
PDF
Git hooks For PHP Developers
KEY
第5回SCDN - Things that become possible with HTML5
PDF
Docker & PHP - Practical use case
On the Move, Migrations Made Simple
Stashaway 1
API All the Things!
PHP Conference Argentina 2013 - Independizate de tu departamento IT - Habilid...
Puppet Keynote
Git hooks For PHP Developers
第5回SCDN - Things that become possible with HTML5
Docker & PHP - Practical use case

What's hot (20)

PPT
Resumable File Upload API using GridFS and TUS
PDF
Polymer in the real life - Devoxx France - 2016 04-20
PPT
Tus.io presentation for iOS devscout meetup
PDF
tus.io – Resumable file uploads for web and mobile apps by Felix Geisendörfer
ODP
Ripping web accessible .git files
PDF
Desktop Apps with PHP and Titanium (ZendCon 2010)
PDF
Virtual IETF meetings with WebRTC @ IETF 109 MOPS
PPT
Internet Archive at Open Video Conference 2009
PDF
Desktop Apps with PHP and Titanium
PDF
Ruxmon.2015-08.-.proxenet
PDF
Local Community for Debian (2013 Taiwan miniDebConf)
PPSX
Golang getting started
PPTX
Quick & Dirty Wordpress Customization
PDF
FFMUC jitsi-report after first two weeks
PPTX
Re-thinking Performance tuning with HTTP2
PDF
ITB2016 - ForgeBox 2 Package Management
KEY
Cufon - Javascript Font Replacement
PDF
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
PDF
CPAN Workshop, Chicago 2014
PDF
Implementing real time web applications with Django
Resumable File Upload API using GridFS and TUS
Polymer in the real life - Devoxx France - 2016 04-20
Tus.io presentation for iOS devscout meetup
tus.io – Resumable file uploads for web and mobile apps by Felix Geisendörfer
Ripping web accessible .git files
Desktop Apps with PHP and Titanium (ZendCon 2010)
Virtual IETF meetings with WebRTC @ IETF 109 MOPS
Internet Archive at Open Video Conference 2009
Desktop Apps with PHP and Titanium
Ruxmon.2015-08.-.proxenet
Local Community for Debian (2013 Taiwan miniDebConf)
Golang getting started
Quick & Dirty Wordpress Customization
FFMUC jitsi-report after first two weeks
Re-thinking Performance tuning with HTTP2
ITB2016 - ForgeBox 2 Package Management
Cufon - Javascript Font Replacement
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
CPAN Workshop, Chicago 2014
Implementing real time web applications with Django
Ad

Similar to 10 things you need to know about leaving shared hosting (20)

PDF
Null bhopal Sep 2016: What it Takes to Secure a Web Application
PDF
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
PDF
Setting up a local WordPress development environment
PDF
Apache course contents
PDF
On the Move - Migrations Made Simple
PPT
Webmaster's Report - IEEE Microwave Theory and Techniques Society
PPT
Web Development From the Ground Up, a Series for Novice ...
PPT
Webmaster
PPT
Webmaster
PPTX
WordPress Performance
PPT
Performance stack
PDF
OpenVMS with Apache Osu and Wasd The Nonstop Webserver HP Technologies 1st Ed...
PDF
Parallels Plesk Panel 9 Quick Start Guide
PPTX
Apache Performance Tuning: Scaling Out
PDF
Word press, the automated way
PDF
Choosing the best hosting package for WordPress
PDF
Intro to Linux - Skillswap
PPTX
WordPress Hosting Basics
PPTX
Robust WordPress Installation using L2MP Stack
PDF
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Setting up a local WordPress development environment
Apache course contents
On the Move - Migrations Made Simple
Webmaster's Report - IEEE Microwave Theory and Techniques Society
Web Development From the Ground Up, a Series for Novice ...
Webmaster
Webmaster
WordPress Performance
Performance stack
OpenVMS with Apache Osu and Wasd The Nonstop Webserver HP Technologies 1st Ed...
Parallels Plesk Panel 9 Quick Start Guide
Apache Performance Tuning: Scaling Out
Word press, the automated way
Choosing the best hosting package for WordPress
Intro to Linux - Skillswap
WordPress Hosting Basics
Robust WordPress Installation using L2MP Stack
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
Ad

More from Jonathan Perlman (10)

PDF
Leveling Upon Building Forms.pdf
PDF
WooCommerce Fundamentals
PDF
Leveling up on Building Forms
PPTX
WooCommerce Fundamentals
PPTX
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
PDF
On the Move, Website Migrations Debunked
PPTX
On the Move, Website Migrations Debunked
PDF
On the Move, Migrations Made Simple
PDF
The Dawson Way of Doing Things
PDF
WP-CLI - Super Admin Tips and Tricks
Leveling Upon Building Forms.pdf
WooCommerce Fundamentals
Leveling up on Building Forms
WooCommerce Fundamentals
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
On the Move, Website Migrations Debunked
On the Move, Website Migrations Debunked
On the Move, Migrations Made Simple
The Dawson Way of Doing Things
WP-CLI - Super Admin Tips and Tricks

Recently uploaded (20)

PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
A Presentation on Artificial Intelligence
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation theory and applications.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Tartificialntelligence_presentation.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Enhancing emotion recognition model for a student engagement use case through...
Chapter 5: Probability Theory and Statistics
gpt5_lecture_notes_comprehensive_20250812015547.pdf
A novel scalable deep ensemble learning framework for big data classification...
A Presentation on Artificial Intelligence
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Programs and apps: productivity, graphics, security and other tools
Encapsulation theory and applications.pdf
WOOl fibre morphology and structure.pdf for textiles
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TLE Review Electricity (Electricity).pptx
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A comparative study of natural language inference in Swahili using monolingua...
Tartificialntelligence_presentation.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf

10 things you need to know about leaving shared hosting

  • 1. Jonathan Perlman August 17, 2014 Montreal, Quebec @jpurpleman jonathan@purpleman.org http://purpleman.org/wcmtl @
  • 2.  + 10 years as a web developer at Dawson College  + 6 years teaching the World Wide Web and Microsoft Office  + 4 years using and learning WordPress  I’m not a Linux network administrator  I’m not a security expert Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: alexidagher.com
  • 3. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: office.com
  • 4. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 5. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: commons.wikimedia.org
  • 6. Restrictions Software limitations Can’t modify configurations Resources CPU intense Noisy neighbors Reliability Downtime Lack of support Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 7. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: flickr (roger4336 )
  • 8. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 UnmanagedManaged Image credit: commons.wikimedia.org Image credit: flickr (retropc )
  • 9. Managed Shared hosting for WordPress Support knows WordPress Relevantly easy and hands off Costly in $$$ Unmanaged Learning curve Very DIY “ Painful “ Costly in time Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 10. WPEngine http://wpengine.com WebSynthesis http://websynthesis.com Flywheel http://getflywheel.com Page.ly https://pagely.com Pressable http://pressable.com SiteGround http://siteground.com Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 11. Digital Ocean http://www.digitalocean.com Linode https://www.linode.com Media Temple http://mediatemple.net/webhosting/ vps/developer/ Site5 http://www.site5.com Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 12. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: commons.wikimedia.org
  • 13. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 RAM CPU Disk Space Image credit: commons.wikimedia.org
  • 14. purpleman.org • Photo clients • Personal use • Ram: 1 Gig • CPU: 1 Core • Disk: 30 Gigs snookercanada.ca • Snooker players • Media relations • Ram: 2 Gigs • CPU: 2 Cores • Disk: 40 Gigs dawsoncollege.qc.ca • + 10,000 students • + 1,000 faculty / staff • Ram: 16 Gigs • CPU: 4 Core • Disk: 128 Gigs Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 15. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 16. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 DNS Linux Web PHP Db
  • 17.  CloudFlare  https://www.cloudflare.com  Easydns  https://www.easydns.com  DNS with domain or hosting provider  Local “Hosts” file Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 18.  Stable  CentOS 7 Supported till 2024  Bleeding edge  Ubuntu 14.04 LTS Supported till 2019 Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 19.  cPanel  www.cpanel.net  Parallels Plesk  sp.parallels.com/ products/plesk/  ZPanel  www.zpanelcp.com Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 20.  Text Editor  vi / nano  File System  cd & ls  cp & mv & rm  mkdir  Permissions  chmod & chown  Process Management  ps & top  Kill  http://www.ee.surrey.ac.uk/ Teaching/Unix/ Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 21. Stan Lee Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 22. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: sapienstoonz.deviantart.com
  • 23.  All powerful server administrator  Terminal Root User = WordPress Admin User  Constantly targeted and attacked  New servers are under attack in hours Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 24.  Change it’s password  Make it a super secure password!  Deny Root from remote login  Create a non-admin user account  Assign admin rights with VISUDO  https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-6 Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 25.  Generating keys  http://kb.siteground.com/how_to_generate_an_ssh_key_on_windows_using_putty/  http://coolestguidesontheplanet.com/make-passwordless-ssh-connection-osx-10-9- mavericks-linux/  Set up keys on the server Login via SSH keys  https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 26.  Block everything  Allow specific ports from specific IPs  22 – SSH  80 – Web  443 – Secure Web  3306 – MySql  Allowing for dynamic IPs  Use hit count rules  https://github.com/jpurpleman/linux  http://cyberciti.biz/tips/linux-iptables-examples.html Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 27. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: support.Microsoft.com  yum update for CentOS  apt-get update for Ubuntu
  • 28. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 29. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: commons.wikimedia.org
  • 30.  Apache or Nginx  Use virtual hosting for multiple domains  Create development domains  .htaccess is off by default in Apache  Change “AllowOverride” to All  https://www.digitalocean.com/community/ tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6 Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 31. php.ini  allow_url_fopen  session.gc_maxlifetime  disable_functions  display_errors  post_max_size  memory_limit  max_execution_time  upload_max_filesize .htaccess  php_value upload_max_filesize 10M Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 http://php.net/manual/en/ini.list.php
  • 32.  MySql or MariaDB  Setup steps  Set a secure root user  Remove test database  Create web user with limited access  Create yourself a user with full access  https://www.digitalocean.com/community/ tutorials/a-basic-mysql-tutorial Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 33. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 34.  Download and extract  Create the database and a user  Set up wp-config.php  Run the install script  http://codex.wordpress.org/ Installing_WordPress Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 36. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 37.  Home directory  Root home directory  Configuration directory  Web files  Database  Automysqlbackup http://sourceforge.net/projects/automysqlbackup/ Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: memofixdatarecovery.com
  • 38.  http://aws.amazon.com/backup-storage  http://mozy.com/product/solutions/ server-backup  https://www.jungledisk.com/ Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 39.  Google Apps for Business  http://www.rackspace.com/email-hosting/  https://www.fastmail.fm  https://www.zoho.com/mail  https://www.pobox.com/ Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 40.  Uptime Robot  Pingdom  New Relic Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014 Image credit: opmlink.com
  • 41. Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 42.  Get a virtual private server – call it professional development  Set it up  Play around – learn!  Edit your hosts file and point your domain to the server  Create a development WordPress site  Setup your WordPress site  Create a production WordPress site  Change the DNS!  You’re live! Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 43.  Setting up and configuring SSL  2 Servers - Web & MySQL  Varnish / Memcache for caching Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 44.  https://www.digitalocean.com/community/  https://www.linode.com/docs  http://www.youtube.com/user/TJsWebDev/  http://www.cyberciti.biz  http://www.rosehosting.com/blog  http://www.servermom.org  http://www.tecmint.com  http://webchat.freenode.net/?channels=digitalocean&uio=d4 Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
  • 46. August 17, 2014Jonathan Perlman - WordCamp Montreal 2014 Questions Thank you! Jonathan Perlman August 17, 2014 Montreal, Quebec @jpurpleman jonathan@purpleman.org http://purpleman.org/wcmtl @