This document is a presentation by Jonathan Perlman given at WordCamp Montreal 2014. It discusses various hosting options for WordPress websites, including shared hosting, virtual private servers (VPS), and managing servers independently with Linux. It provides recommendations for specific hosting providers and an overview of tasks involved in setting up WordPress on a Linux server like installing software, configuring security, backups, and ongoing maintenance.
08448380779 Call Girls In Friends Colony Women Seeking Men
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
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
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
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
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
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
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
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
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
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