Install and Setup SDL Tridion Sites 9 on Windows 10

This blog covers (and uncover) simplified steps needed to setup SDL Tridion Sites 9 on a Windows 10 laptop [while it may work, it will not be supported in any way by SDL – So do it at your own risk.]

Below are the steps to setup SDL Tridion Sites 9 (CM, CD, Topology Manager etc.) all on one single machine with Windows 10 OS and using MS SQL Server installed on the same machine.

  1. Database Installation
    1. Install and Setup MS SQL Server 2017 “Developer” edition – Don’t forget to enable the TCP/IP client protocol
    2. Install following database for SDL Tridion Sites 9 by running corresponding powershell scripts [You need to run the powershell window as “Run as Administrator”] – you may find these scripts in the installation media at – ..\Tridion\Database\mssql :
      • Tridion CM Database – Install Content Manager database.ps1
      • Tridion Topology Manager Database – Install Topology Manager database.ps1
      • Tridion Broker Database – Install Content Data Store.ps1
      • Tridion Discovery Service Database – Install Content Data Store.ps1
      • Tridion XPM Database – Install Content Data Store.ps1 [if needed]
      • Any other based on need (like Audience Manager, UGC etc.)
  2. Content Manager Installation & Setup
    1. Install Tridion Sites Content Manager by running the setup file from Command Line and passing “mode” parameter as “debug”
      site-commandprompt
    2. Choose all features you want to install and follow the installation wizard [Note: MTS User could be any “Administrator” of the machine]
    3. Restart the Machine once the installation wizard finish. You should be able to access the SDL Tridion Sites CME at this point.
  3. Content Delivery Installation & Setup
    1. Locate the following file in installation media – .\Tridion\Content Delivery\resources\quickinstall\setenv.ps1 – and open it for edit
    2. Edit the setenv.ps1 file as below:
      • #Content section – replace parameter values with Broker Database information
      • #Preview section – replace parameter values with XPM Database information
      • #UGC section – replace parameter values with UGC Database information
      • # Deployer Endpoint and Deployer Engine Section – replace parameter values with Broker Database information
    3. Open powershell as “Run as Administrator” and navigate to following path in the installation media:
      .\Tridion\Content Delivery\resources\quickinstall
    4. Execute following powershell command here:
      .\quickinstall.ps1 -enable-discovery -enable-context -enable-deployer-combined -enable-preview -enable-session -auto-register -discovery-url http://localhost:8082/discovery.svc
    5. This will take some time to execute – wait till all services are successfully installed
    6. Verify that all services are in running status and are not automatically shutdown after some time – If this is the case, check the corresponding services’ log and check/rectify the error logged there
    7. Verify the URL – http://localhost:8082/discovery.svc – is responding well and giving output as below (it may be different output for Authentication Type set to OAuth):disco_ss.png
    8. Copy the file – discovery-registration.jar – from following path in the installation media – .\Tridion\Content Delivery\roles\discovery\registration – and paste it at the following path [Discovery Service Installation path by default] – C:\SDL\Tridion\discovery\config
    9. Open the command prompt as “Run as Administrator” and change directory to – C:\SDL\Tridion\discovery\config
    10. Run following command and ensure it completes successfully:
      java -jar discovery-registration.jar update 
  4. Topology Manager Setup
    1. Open powershell command as “Run as Administrator” and execute following TTM commands to create Purpose, Topology Types, Cd Environment, Topology, and Websites
      • Add-TtmCdTopologyType -Id TOPOLOGYTYPEID -Name TOPOLOGYTYPENAME -EnvironmentPurposes “PURPOSES”
      • Add-TtmCdEnvironment -Id CDENVIRONMENTID -EnvironmentPurpose CDENVIRONMENTPURPOSE -DiscoveryEndpointUrl DISCOVERYENDPOINTURL -AuthenticationType AUTHTYPE
      • Add-TtmCdTopology -Id TOPOLOGYID -Name TOPOLOGYNAME -CdTopologyTypeId TOPOLOGYTYPEID -CdEnvironmentIds CDENVIRONMENTIDS
      • Add-TtmWebsite -Id WEBSITEID -CdEnvironmentId CDENVIRONMENTID -BaseUrls “BASEURLS”
    2. Refer SDL Documentation about definition of parameters
  5. Publishing Setup
    • Create a Business Process Type and select the appropriate “Topology Type” created earlier during the Topology Manager Setup
    • Map the CD Environment with Business Process type by selecting “Publishing” tab in the properties of the Publication as shown below:
      publish_ss
    • You are now ready to publish items from your newly setup Tridion instance on Windows 10 environment

It feels so good to remove a barrier of VM, VPN, Internet, Cloud etc. to access Tridion end to end on a local machine:image

Comments/Suggestions are welcome 🙂

Director at Content Bloom India having 15+ years of experience in Software Development Life Cycle using AGILE, Iterative and RUP approaches. Experience in following: - CMS packages: SDL Tridion, Adobe Experience Manager (AEM), Sitecore, Umbraco, Kentico, and Alfresco - Search Engines: SOLR, AWS Cloud Search, Elastic Search - .NET Technologies: .NET & .NET CE Framework, ASP.NET, ASP.NET MVC, WCF, WinForms - Mobile Development: Android Native App, Windows Mobile App - Database: MS-SQL Server, MySQL - Program Management: JIRA, MS-Project, Trello - Design Tools: MS-Visio, StarUML - Infrastructure: Linux, Windows Server, AWS Have decent knowledge about Core Java, Spring MVC Instrumental in Application Architecture, Designing (HLD & LLD), Coding and deployment .NET applications (Web, Desktop, Mobile). Experience in following domain: - Digital Media & eCommerce - Travel & Hospitality - Aviation Industry - Education - Insurance - Automation - Automobile - Railways Education: Bachelor Degree in Computer Engineering and Post Graduate Diploma in Business Administration with specialization in Marketing

Tagged with: , , , , , , , , ,
Posted in SDL Tridion
2 comments on “Install and Setup SDL Tridion Sites 9 on Windows 10
  1. Ryan O'Dell says:

    What’s the performance like Pankaj?

    • Pankaj Gaur says:

      Hey Ryan,

      Certainly it’s a bit slow than the installation on Servers – considering it is installed in “Debug” mode, but the Sample DXA 2.0 website, Publishing etc. is performing quite good.
      Also, the GraphQL query are as fast as “instantly” and Model Service response are very fast as well – remember I tested with Default DXA 2.0 publications and content load only.
      Refer the configuration of my machine in terms of CPU and RAM in the screen shot in the blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: