Installing Kentico
This page is a part of a tutorial, which you should follow sequentially, from the beginning to the end. Go to the first page: Getting started with Kentico.
You will learn about:
Before you can begin developing a website using the MVC framework, you first need to install Kentico with the MVC development model. The installation process creates an MVC site within Kentico that will serve as a repository for content, as well as a preconfigured MVC application ready for the development of your website.
Installing Kentico
Open the Kentico installer and follow these steps:
Click Next on the welcome screen of the installer.
Select your country. The installer automatically tries to pre-select the appropriate country based on your system’s locale.
Accept the license terms.
Click Next.
Click Custom installation. The installer displays the Custom installation wizard.
In Step 1, do not make any changes and click Next. This points the installation to the default location in the Program files folder.
In Step 2, select MVC as the preferred development model and click Next.
In Step 3, you need to configure the MVC application registered as part of the installation process:
Under Target location, set the target location for the web project to C:\inetpub\wwwroot\Kentico12
This tutorial assumes and works with the default location of the inetpub folder (C:/inetpub). If you have the folder mapped on a different drive or file system path, please set the Target location field accordingly.
Under Site, select New site, and enter MEDIOClinic into the Name field.
Click Next.
In Step 4, configure the database server for Kentico:
Since we cannot make assumptions about the configuration of your development environment, the following steps, unlike the rest of this tutorial, merely provide general guidance for the configuration of the SQL server connection instead of clearly defined step-by-step instructions.
- Select I have access to SQL server. Additional configuration options become available.
- Under SQL Server, select the server where you want to store the Kentico database.
- Under Authentication, configure access credentials depending on your mode of authentication.
- Click Establish connection to verify access to the database server is configured correctly.
- Under Database name, type: Kentico12
- Click Next.
In Step 5, leave the default settings and click Next.
In Step 6, click Install.
The installation process installs and configures a Kentico instance together with an MVC application connected to Kentico.
- The administration application is available under the http://localhost/Kentico12_Admin URL – a composition of the specified folder name and the ‘_Admin’ suffix.
- The connected MVC application is available under http://localhost/Kentico12_MEDIOClinic – a composition of the folder name and the specified site name.
Setting a site display name
The name for the site you specified during installation was what is in Kentico referred to as a code name – an identifier used to refer to particular Kentico objects. Let’s set a more user-friendly name for the site suited for displaying in the administration interface.
Open the administration interface (http://localhost/Kentico12_Admin) and sign-in using the default administrator account (with an empty password).
Navigate to the Sites application.
Edit () the MEDIOClinic site.
Change the Site display name field to MEDIO clinic MVC.
Save the changes.
You are done with the basic installation and configuration of your MVC environment.
Continue with the next steps of the tutorial where you will learn how to retrieve and display content from Kentico in the MVC application!
Previous page: MVC development — Next page: Configuring the MVC application
Completed pages: 2 of 10