An example of how you can host your own Wordpress sites, or any other web applications, with a minimum of fuss or clashes between sites.

Slides:



Advertisements
Similar presentations
UNIX System Programming Installing OpenSolaris. 2/86 Contents How to setup a virtual machine guest How to install OpenSolaris as a guest How to update.
Advertisements

VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
VMWare to Hyper-V FOR SERVER What we looked at before migration  Performance – Hyper-V performs at near native speeds.  OS Compatibility – Hyper-V.
The Essentials of Essentials JEREMY ANDERSON – SMALL BUSINESS SERVER MVP.
INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
What to expect.  Linux  Windows Server (2008 or 2012)
IT:Network:Applications VIRTUAL DESKTOP INFRASTRUCTURE.
IERG4180 Tutorial 4 Jim.
Networking in VMware Workstation 8
Offering your Windows Server Class Online. Tony Basilico Community College of Rhode Island
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
VMware vCenter Server Module 4.
Virtual Machine Management
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Installing Active Directory on Windows Server 2008 R2 Installing Active Directory on a fresh Windows Server 2008 R2 machine in a home network. These instructions.
Virtualization and Open source Software Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9 th, 21 st, 22 nd March, 2011.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Campus Virtualization Update Laurie Collinsworth 1/25/2012.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.

Setting Up a Local WordPress Development Environment By Gregory Young Alternative Hosting
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Hands-On Virtual Computing
Installing Active Directory on Windows Server 2008 R2 Installing Active Directory on a fresh Windows Server 2008 R2 machine in a home network. The guide.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Setting Up a Local WordPress Development Environment By Gregory Young Alternative Hosting
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
 First, check if Windows Server 2008 minimum hardware requirements matches your computer hardware through link below
Port Forwarding in VM brief intro
Remote Controller & Presenter Make education more efficiently
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
Welcome School of Business Information Technology Services Chris Buckridge, Chris Zissis, Chris Hewitt 10 Fulltime Staff Members 10 Student Techs.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Hands-On Virtual Computing
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
“Build that Virtual Lab you always wanted” Information Assurance Group 2011.
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
Installing iHRIS on VMWare
BY: SALMAN 1.
Using Virtualization in the Classroom
Virtual Machine and VirtualBox
BY: SALMAN.
Desktop Virtualization
Installation and Configuration
Senior Design Lab Policies
Create A Virtual Machine
Welcome To : Group 1 VC Presentation
Hands-On Virtualization in the Classroom
02 | Hosting Services in Windows Azure
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
How To Install CentOS 6.5 & Virtual Box
How To Install CentOS 6.5 & Virtual Box
Virtual Machine and VirtualBox
Linux Operations and Administration
How To Configure Hotspot in Virtual Mikrotik on VMware
Virtual Machine and VirtualBox
Virtual Machine and VirtualBox
Port Forwarding ( VirtualBox / VMware Player )
Presentation transcript:

An example of how you can host your own Wordpress sites, or any other web applications, with a minimum of fuss or clashes between sites

About the presenter Chris has been in the tech industry for more than 20 years. He has been both the in-house and outsourced IT guy for over 50 local small businesses and started his own consultancy in April of He understands the difficulties facing a growing small business and can offer a measured perspective, founded on a solid base of experience. 2

Self-hosting intro Why would you do this? Control Testing Cost Learning Fun 3

Static IP address/business account A normal residential service can change IP address You can add a static IP address to some home accounts Your ISP might only offer it for business accounts, and may require an ABN (I strongly recommend getting an ABN anyway) Nothing else should change 4

Configuring domains/subdomains You’ll need one or more of your own domains Use your domain host’s tools to add an A record to your static IP address You can then create as many subdomains as you want as C records (aliases) to your A record 5

VM host environment (Part 1) All you need is a spare old computer you can leave on all the time CPU barely matters, RAM is most useful ESXi & Linux-based QEMU solutions are free, just download and install If you have a Windows Server, you can use Hyper-V If you have a desktop PC, you can use Vmware Player 6

VM host environment (Part 2) My recommendation is CentOS ( Grab a DVD ISO image and burn to a DVD. Boot from disc and follow the wizard. THIS WILL TOTALLY ERASE EVERYTHING ON THE COMPUTER. Just so we’re clear. Congratulations, you’re a Linux user. There’s probably a Meetup group for that. 7

Pre-built Wordpress VM You don’t have to build your own virtual machines I use Bitnami & Turnkey Linux for my VMs You can download a pre-built environment that’s a working Wordpress install, or You can download a LAMP VM and install Wordpress yourself. 8

Getting it booting & live (Part 1) Your VM host environment will have an option to import an existing file When setting up your VM, make sure the virtual network adapter is bridged, not NATed 9

Getting it booting & live (Part 2) In your DHCP server, create a reservation. For most homes, the router is the DHCP server. For most businesses, the main server is the DHCP server. 10

Getting it booting & live (Part 3) In your router, set up port forwarding. The IP address matches the reservation. 11

Quick Review Computer on all the time Static IP address Domain with one or more records pointed at static IP address VM host environment on computer Pre-build VM on host DHCP reservation for VM Port forwarding on router pointed at reserved IP 12

Now let’s make it scalable In our set up so far, all the domain records point to the same server. What if you want different servers for different domains? The solution is a “Reverse Proxy”. 13

Nginx VM Pronounced “engine x” Download and install a pre-built VM Set up a reservation Point the port 80 port forwarding to this server 14

Nginx configuration (Part 1) Configure hosts file Each line has the private IP address of the server and its name as known by the outside world. This fixes some weird redirection issues. 15

Nginx configuration (Part 2) Configure default enabled sites For each domain/server name, pass incoming requests to the matching name you’ve set up in the hosts file. 16

Done 17

That seemed complicated… Yes, you could do most of this with a single server, a single LAMP install, no virtual stuff and a lot of configuring. BUT, changing it is hard. Scaling it up is hard And you’re stuck with one platform 18

I mean, really complicated… With this solution you can have any number of physical and virtual servers. You can add and reassign resources much more easily. Servers do not have to be LAMP/WordPress installs. Servers can be any OS For example; you can build a testing environment for your plug-ins that has a dozen or more different OS, stack and version combinations. 19

Do you really do this? Yes. Details on the next slide. 20

21 Router ( ) ESXi Windows Server Linuxsvr01 ( relay) Windows 10 test env CentOS 1 iwantmy.xyz (Telescope) Bamboo Invoices Disposals/C lassifieds Helpdesk job tracking Podcast Slack invites ERP / Bookkeeping RSS server Technicalconsultingperth.com Nginx reverse proxy CentOS Prebiotic.diet Dev/Test ERP system eBooksa.ga Satelliteup.link Munchausenbypro.xyz Technicalconsulting.in Technicalconsulting.in/ternati onal Technicalconsulting.in/Perth Technicalconsulting.in/Austral ia Technicalconsulting.in/theUK

Questions? 22