I've talked previously about how to install Umbraco via the auto installer in, How To Install Umbraco 7 In Less Than 5 Minutes. Sometimes, however, you may want a bit more control over the installation process like configuring IIS or SQL. In today's guide, we'll talk you through the whole process.
Download Your Files
First head over to the Umbraco download page here and get the latest copy of Umbraco.
Next we need to set-up a website to run Umbraco in. After you have downloaded your Umbraco files, copy them somewhere on your computer. I usually put everything in 'inetpub' in thC drive
Next up is to create a new website in IIS and point it to your extracted files:
To create a website in IIS, you need to create a website name (this won't be shown anywhere so it can be anything you want), the physical path to the location of the Umbraco files, and the hostname that you will use in the web browser to view the site. Next you will need to open up your host file and set-up your hostname entry, otherwise when you try and load the site in IIS you will get a 404 error. In File Explorer, go to, 'C:\Windows\System32\drivers\etc' and open the host file (you will need to do this in notepad in administrator mode otherwise you won't be able to save it) and add an entry like this 127.0.0.1 hostname in my example it would look like this: 127.0.0.1 umbracowebsite
The next step is to create a database for the Umbraco installer to write to. For this tutorial, I'm going to use the 'SA' account to access the database. When installing Umbraco for production, never use the SA account and create your own SQL user with correct read/write permissions to the database.
Now we are in the final furlong and can install Umbraco. Open a browser and type in the hostname you created in IIS (this should be the name you set in the hostname in IIS), if nothing loads remember to set the host file! The Umbraco installation screen should now load:
Enter your user account details (username, email and password) that you will use to access the CMS, then click the Customize button, to configure the SQL details:
Add in your SQL details so the installer can access the database we just created, e.g. the server, the database we created and the username/password combo to access it and click 'Next'. !
Next, select the sample site you want to be installed. This will be a demo website with a few web-pages to help you get started. Click next and Umbraco will go off and do its thing. After a few minutes of waiting the Umbraco CMS should load. You are now ready to start developing!
In today's guide, we've covered how to manually install Umbraco. The process is slightly more complex than the automatic method, but, on the flip-side, you get more control as to where things are installed etc.. From a development point of view I would always recommend running and testing your project via IIS as this will be the same set-up as your production environment. Happy coding!