Installing Sitecore
Welcome back to Sitecore Bootcamp for Developers! In this part we’ll walk through installing Sitecore 8.x and setting up IIS to view a Sitecore website on your local machine.
If you are just joining us, please go back and read the introduction where you’ll also find links to each other part of the bootcamp.
- Prerequisites
- SQL Server
- 2012 was used to create this guide
- Visual Studio
- 2015 was used to create this guide
- IIS
- Version 8.5.9600 was used to create this guide
- Sitecore 8.x
- Version 8.2 was used to create this guide
- SQL Server
- Setup SQL Server to allow Mixed Authentication Mode
- Open SQL Server Management Studio
- Connect to local server
- Right click Server in Object Explorer – > Properties
- Click Security page
- Server Authentication
- Click SQL Server and Windows Authentication
- Setup a SQL Server user for Sitecore
- Open SQL Server Management Studio
- Connect to local server
- Right click Security in Object Explorer -> Logins -> New Login
- General Page
- SQL Server Authentication
- Set the Login name and password
- You can reuse the same login on your local machine for multiple Sitecore instances. But it would be recommended to have a different login for each site in a production environment.
- Uncheck enforce password policy
- This may not be recommended in a production environment
- Server Roles Page
- Check boxes for public and sysadmin
- This may not be recommended in a production environment
- Check boxes for public and sysadmin
- Install Sitecore
- Download Sitecore
- https://dev.sitecore.net/Downloads.aspx
- You must have a Sitecore Developer account
- Choose your license file
- Run Sitecore Installer
- Cannot be installed from a network drive
- Installation Wizard
- New instance
- Accept Terms
- Installation Type
- Complete
- Instance Name
- SitecoreBootcamp
- License File
- SQL Server
- This is the name of database server (not the Sql Server instance name)
- Shown when you run Sql Server Management studio and connect to your local server.
- Sitecore credentials created in Step 2.
- This is the name of database server (not the Sql Server instance name)
- Install path
- SitecoreBootcamp
- Website Name
- SitecoreBootcamp
- We will rename this SitecoreBootcamp.localhost in the next step. The installer will not allow you to enter special characters in the name.
- SitecoreBootcamp
- IIS Settings
- Open IIS Manager
- Right click Sites/SitecoreBootcamp in Connections -> Edit Bindings
- Click on the entry for “SitecoreBootcamp” -> Edit
- Set the Host name to “SitecoreBootcamp.localhost”
- You should always a domain extension
- Cookies don’t work correctly without a TLD
- You should use .local or .localhost
- Check with your project leader to see if they have a preference
- You should NOT use.dev
- .dev was purchased by Google as a TLD and tries to route to an actual non-existant domain
- You should always a domain extension
- Restart the website
- Hosts File
- Open notepad.exe as an admin
- Right click -> Run as admin
- Open C:WindowsSystem32driversetchosts
- Change the line “127.0.0.1 SitecoreBootcamp” to “127.0.0.1 SitecoreBootcamp.localhost”
- Save
- Open notepad.exe as an admin
- Launch Site
- http://sitecorebootcamp.localhost
- The first page load may take some time as Sitecore rebuilds it caches.
- http://sitecorebootcamp.localhost
- Download Sitecore
Be sure to follow me through the entire month of November 2017 and follow along with each part as they become available. Thanks for reading, and be sure to leave me comments or questions, I would love to chat with you about Sitecore.
Created by: Eric Sanner, Brandon Bruno, Alan Tibbs