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:

  1. Click Next on the welcome screen of the installer.

  2. Select your country. The installer automatically tries to pre-select the appropriate country based on your system’s locale.

  3. Accept the license terms.

  4. Click Next.

  5. Click Custom installation. The installer displays the Custom installation wizard.
    Selecting the installation type

  6. In Step 1, do not make any changes and click Next. This points the installation to the default location in the Program files folder. 
    Installation location

  7. In Step 2, select MVC as the preferred development model and click Next.
    Choosing the preferred development model

  8. In Step 3, you need to configure the MVC application registered as part of the installation process:

    1. 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.

    2. Under Site, select New site, and enter MEDIOClinic into the Name field.

    3. Click Next.

    Configuring the blank MVC project

  9. 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.

    1. Select I have access to SQL server. Additional configuration options become available.
    2. Under SQL Server, select the server where you want to store the Kentico database.
    3. Under Authentication, configure access credentials depending on your mode of authentication.
    4. Click Establish connection to verify access to the database server is configured correctly.
    5. Under Database name, type: Kentico12
    6. Click Next.

    Database configuration

  10. In Step 5, leave the default settings and click Next.

  11. 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.

  1. Open the administration interface (http://localhost/Kentico12_Admin) and sign-in using the default administrator account (with an empty password).

  2. Navigate to the Sites application.

  3. Edit () the MEDIOClinic site.

  4. Change the Site display name field to MEDIO clinic MVC.

    Changing the site’s display name

  5. 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