In this guide, you will learn how to install Umbraco 8 and configure your Windows PC to maximize productivity when building a new website. This first point of call is to ensure you have all the software to host a website installed and configured correctly on your local development PC.
Install & Configure IIS
First, you will need to ensure IIS is installed and that it has .NET 3.5 and 4.8 installed. I also recommend that you ensure HTTP redirection and the application initialization module is installed
Next, you will need to create a website within IIS. To use Umbraco optimally you should create a 'hostname'. The hostname will be a user-friendly name for you to access your local website within a web browser. To create a hostname, you will need to add an entry within your host file. Located in C -> WIndows -> System32 -> Drivers -> ETC -> host
When you open this file within a text editor ensure the file is opened in admin mode, otherwise you will not be allowed to save the file.
You will need to:
With SQL installed, you will need to configure it so that your Umbraco website can use a username and password to connect to SQL.
This is done by:
- Enabling 'mix moded' authentication
- Ensure the 'sa' account is enabled and is active
NOTE When changing these items you will need to reset SQL Server before the changes will be enabled!
Adding Useful Visual Studio Plug-ins
I recommend that you install ReAttach as it will make you a lot ore efficient when debugging your Umbraco website
Within Visual Studio, ensure that your local PC has met all the pre-requisites. If your local development PC fails to meet any of these points then the installer and the installation will fall.:
- Microsoft Visual Studio 2017 version 15.9.6+
- ASP.NET 4.7.2
- SQL Server 2012+ Hosting
- ASP.NET 4.7.2
Within Visual Syio create a new ASP.NET MVC project. Open Nuget up and install Umbraco CMS. When the package has finished installer you can install Umbraco. To do this open up the website.
You will need to configure the installer with a username and password. Do not forget this as you will need these details to log in to the CMS shortly. In the installer, you also want to choose 'customize'. These options will allow you to install the database using the SQL server rather than using SQL compact. This will allow you a lot of better and easier development experience.