10 things you need to know about leaving shared hosting
-
Upload
jonathan-perlman -
Category
Technology
-
view
365 -
download
1
description
Transcript of 10 things you need to know about leaving shared hosting
![Page 1: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/1.jpg)
Jonathan Perlman
August 17, 2014
Montreal, Quebec
@jpurpleman
http://purpleman.org/wcmtl
@
![Page 2: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/2.jpg)
+ 10 years asa web developerat Dawson College
+ 6 years teachingthe World Wide Weband 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
![Page 3: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/3.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: office.com
![Page 4: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/4.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 5: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/5.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
![Page 6: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/6.jpg)
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
![Page 7: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/7.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: flickr (roger4336 )
![Page 8: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/8.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
UnmanagedManaged
Image credit: commons.wikimedia.org Image credit: flickr (retropc )
![Page 9: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/9.jpg)
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
![Page 10: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/10.jpg)
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
![Page 11: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/11.jpg)
Digital Ocean http://www.digitalocean.com
Linode https://www.linode.com
Media Templehttp://mediatemple.net/webhosting/
vps/developer/
Site5 http://www.site5.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 12: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/12.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
![Page 13: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/13.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
RAM CPUDisk
Space
Image credit: commons.wikimedia.org
![Page 14: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/14.jpg)
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
![Page 15: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/15.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 16: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/16.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
DNS
Linux Web
PHP Db
![Page 17: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/17.jpg)
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
![Page 18: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/18.jpg)
Stable
CentOS 7
Supported till 2024
Bleeding edge
Ubuntu 14.04 LTS
Supported till 2019
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 19: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/19.jpg)
cPanel
www.cpanel.net
Parallels Plesk
sp.parallels.com/
products/plesk/
ZPanel
www.zpanelcp.com
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 20: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/20.jpg)
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
![Page 21: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/21.jpg)
Stan Lee
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 22: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/22.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: sapienstoonz.deviantart.com
![Page 23: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/23.jpg)
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
![Page 24: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/24.jpg)
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
![Page 25: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/25.jpg)
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
![Page 26: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/26.jpg)
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
![Page 27: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/27.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: support.Microsoft.com
yum update for CentOS
apt-get update for Ubuntu
![Page 28: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/28.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 29: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/29.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: commons.wikimedia.org
![Page 30: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/30.jpg)
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
![Page 31: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/31.jpg)
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
![Page 32: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/32.jpg)
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
![Page 33: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/33.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 34: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/34.jpg)
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
![Page 35: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/35.jpg)
http://codex.wordpress.org/
Hardening_WordPress
http://codex.wordpress.org/
Changing_File_Permissions
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 36: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/36.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 37: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/37.jpg)
Home directory
Root home directory
Configuration directory
Web files
Database
Automysqlbackuphttp://sourceforge.net/projects/automysqlbackup/
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: memofixdatarecovery.com
![Page 38: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/38.jpg)
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
![Page 39: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/39.jpg)
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
![Page 40: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/40.jpg)
Uptime Robot
Pingdom
New Relic
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
Image credit: opmlink.com
![Page 41: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/41.jpg)
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 42: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/42.jpg)
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
![Page 43: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/43.jpg)
Setting up and configuring SSL
2 Servers - Web & MySQL
Varnish / Memcache for caching
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 44: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/44.jpg)
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
![Page 45: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/45.jpg)
Mike Johnson.http://gdargaud.net/Humor/QuotesHardwareSoftware.html
Jonathan Perlman - WordCamp Montreal 2014 August 17, 2014
![Page 46: 10 things you need to know about leaving shared hosting](https://reader034.fdocuments.us/reader034/viewer/2022042601/5482681bb4af9f7a788b45a9/html5/thumbnails/46.jpg)
August 17, 2014Jonathan Perlman - WordCamp Montreal 2014
Questions
Thank you!
Jonathan Perlman
August 17, 2014
Montreal, Quebec
@jpurpleman
http://purpleman.org/wcmtl
@