How to Setup Home Web Hosting Environment with WordPress, Virtualization, and SAN Storage segment One of Written Series
Click Here to Be Taken to Previous Segment
This how to series will walk you through setting up your home hosted WordPress web server on Ubuntu 12.04.
Following this guide will allow you to do the following:
1) Select the Proper Hardware for your home hosting environment
2) Install and configure a Nexenta SAN
3) Configure ISCSI Initiator and Target
4) Install VirtualBox
5) Install a Ubuntu Server inside of VirtualBox
6) Configure Apache
7) Install WordPress
8) Troubleshoot your installation
9) Setup Domain Name Mappings
10) Configure your firewall
11) Secure Your installation
12) Provide a work around for when you want to do a test install of WordPress when you don’t own the DNS name on the internet
13) Select Plugins for WordPress
14) Select a theme for your WordPress install
15) And much more
To see a 40,000 foot overview of what we are going to setup, please take a look at this first video:
This will help you understand how all the pieces fit together.
Also if you have no idea what virtualization is then please take a look at the video at this link:
Please take the time to register a domain name on the internet and to obtain your static IP address from your internet service provider to avoid the majority of the difficulties that this install can cause.
Map your static IP address given to you by your provider to the domain name that you have purchased.
You will be replacing in this video where I refer to mydomain.com or whateveryourdomain.com with the name of the domain that you have purchased.
You should make sure that you watch this full video series as it’s shown here once through before following along with it to actually perform the installation. This will give you a good understanding of how it all goes together before you begin.
Also please take a look at these links in order to help you understand they types of hardware you will need to setup your virtualized environment.
The amount of hardware that you purchase will vary with the complexity that you choose for your installation.
The maximum hardware that you would need to purchase is:
Two machines for a mirrored Nexenta SAN install
Two machines for installing your virtual environment (the exact setup depends on the virtualization solution that you choose and the price will vary greatly as well)
Two pfSense firewall hardware boxes (NOTE: FOR A REDUNDANT pfSense Setup with 2 LANS YOU WILL NEED TO HAVE 8 GIGABIT ETHERNET PORTS TO SUPPORT GIGABIT WAN LIKE GOOGLE IS NOW OFFERING (EVENTUALLY OTHER ISP’s WILL FOLLOW SUITE)
STAY TUNED I AM LOOKING FOR SUPER MICRO CASES THAT ARE CAPABLE OF SATURATING 8 GIGABIT ETHERNET PORTS FOR USE AS pfSENSE GIGABIT FIREWALLS. WILL POST HERE SOON! NO DOUBT, IT WILL BE A MOTHERBOARD THAT SUPPORTS PCI-e 2.1 or 3.0 with x16 or x32 LANES.
ALSO A FAST BACK-PLAIN AND SUPPORT OF 128 GB of MEMORY OR MORE IS NECESSARY AS WELL AS 4 HIGH END XEON PROCESSORS.
Two WAN ISP connections
Take a look at these documents to get an idea of the potential hardware you might select.
http://www.hacom.net/catalog/pfsense/jupiter (high end for gigabit Ethernet internet connections)
http://www.pcengines.ch/alix.htm (low end up to 50 MB/s Internet Connections)
To find out about how necessary fancy iSCSI host but adapters are: Read this
For most installs CAT 6a is more than sufficient. If you are really rich and can afford 10G Ethernet then you will need to follow this guide:
Depending on how far you want to take it you could easily get away with half the hardware since the list above will allow you to setup a high available installation.
Also take a look at this Overview of iSCSI document:
Also please take a look at the Nexenta HCL (Hardware Compatibility List) to help you select the most compliant hardware for your SAN, although I have worked with it on many types of Super Micro boards without a problem.
If you have the time check out this forum for to read the ramblings of fellow geeks that have gone there before you!
Although I covered this in part 11 of the video series, I feel that it is important to learn how to do this part first, since it avoids a lot of hacking to get it working.
Please follow this video segment to learn how to purchase a domain for only 99 cents for one year.
It also gives you an understanding of why you shouldn’t use DynDNS but instead you should use static IP addressing if you can afford it.
I also cover
How to map your domain name to a static IP.
How to setup a Virtual IP address on your pfSense firewall
How to implement port address translation or 1 To 1 NAT mapping.
I also suggest proper ports to forward to your Ubuntu Web Server.
This is the end of Part I of this video series follow along.