{"id":6874,"date":"2024-05-24T00:59:47","date_gmt":"2024-05-24T00:59:47","guid":{"rendered":"https:\/\/www.qedge.co\/blog\/?p=6874"},"modified":"2024-05-24T00:59:52","modified_gmt":"2024-05-24T00:59:52","slug":"how-to-install-sxp-10-4-single-xp0-using-sif","status":"publish","type":"post","link":"https:\/\/www.qedge.ai\/blog\/how-to-install-sxp-10-4-single-xp0-using-sif.html","title":{"rendered":"How to Install SXP 10.4 Single (XP0) using SIF"},"content":{"rendered":"\n<p>This article was first published by <a href=\"https:\/\/www.linkedin.com\/pulse\/install-sxp-104-single-xp0-using-sif-yaochang-liu-oqcjc\/?trackingId=Wt%2B%2FShYobdFRDyZE%2FeWMPg%3D%3D\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Yaochang Liu<\/a>, a member of QEdge.<\/p>\n\n\n\n<p id=\"ember3147\">Sitecore provides multiple ways to install SXP 10.4 XP0, Azure ARM template for Azure App Service, Sitecore Installation Framework (SIF) and Sitecore Install Assistant (SIA) for On Premises, Docker Compose for Sitecore Container. In this article, I will explain how to install SXP 10.4 XP0 using SIF on a local machine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3148\">Install Sitecore Installation Framework 2.4.0<\/h2>\n\n\n\n<p id=\"ember3149\">The compatible SIF version for SXP 10.4 is 2.4.0, so make sure that the SIF 2.4.0 is installed in your machine. To check the version, open PowerShell as an administrator and run the following cmdlet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Get-Module SitecoreInstallFramework \u2013ListAvailable<\/pre>\n\n\n\n<p id=\"ember3150\">If you don't get any result, run the following cmdlet to add the Sitecore Gallery repository:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Register-PSRepository -Name SitecoreGallery -SourceLocation https:\/\/nuget.sitecore.com\/resources\/v2\/<\/pre>\n\n\n\n<p id=\"ember3151\">Run the following cmdlet to install SIF 2.4.0:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.4.0<\/pre>\n\n\n\n<p id=\"ember3152\">If a previous version is installed on the machine, you may get the following error:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/D5612AQHTmbpkhODhkw\/article-inline_image-shrink_1500_2232\/0\/1713878241267?e=1721865600&amp;v=beta&amp;t=LLXRnebb8bC62OUcjivHngnFUHrOR_rBfAKeJqNx_fs\" alt=\"\"><\/figure>\n\n\n\n<p id=\"ember3154\">If this occurs, run the following cmdlet to update the SourceLocation of Sitecore Gallery:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Set-PSRepository -Name SitecoreGallery -SourceLocation https:\/\/nuget.sitecore.com\/resources\/v2\/<\/pre>\n\n\n\n<p id=\"ember3155\">Then run the following cmdlets and restart the machine if the error persists.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.4.0  -SkipPublisherCheck<\/pre>\n\n\n\n<p id=\"ember3156\">To run the specific version 2.4.0 of SIF, start a new PowerShell session and run the following cmdlet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion 2.4.0<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3157\">Enable Contained Database Authentication<\/h2>\n\n\n\n<p id=\"ember3158\">Launch Microsoft SSMS and log in as an administrator, run the following new query:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">EXEC sp_configure 'contained', 1;\nRECONFIGURE;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3159\">Download and organize files<\/h2>\n\n\n\n<p id=\"ember3160\">Download the Packages for XP Single 10.4, and extract to a install folder, for example: <strong><em>D:\\SitecorePackages\\104XP0<\/em><\/strong>, then extract <strong><em>XP0 Configuration files 10.4.0 rev. 010422.zip<\/em><\/strong> to <strong><em>D:\\SitecorePackages\\104XP0<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/D5612AQFdMp3iRoCwWg\/article-inline_image-shrink_1500_2232\/0\/1713878241294?e=1721865600&amp;v=beta&amp;t=nP3E7LSBFdgwI5zECvVL5_6KLvD7gS0xAzr3h078-4I\" alt=\"\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3162\">Install the prerequisites<\/h2>\n\n\n\n<p id=\"ember3163\">Open PowerShell as an administrator and navigate to the <strong><em>D:\\SitecorePackages\\104XP0<\/em><\/strong> folder, then run the following cmdlet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Install-SitecoreConfiguration -Path .\\Prerequisites.json<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3164\">Installing Solr<\/h2>\n\n\n\n<p id=\"ember3165\">Open PowerShell as an administrator and navigate to the <strong><em>D:\\SitecorePackages\\104XP0<\/em><\/strong> folder, then run the following cmdlet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Install-SitecoreConfiguration -Path .\\Solr-SingleDeveloper.json<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3166\">Run the installation script<\/h2>\n\n\n\n<p id=\"ember3167\">Unblock the <strong><em>XP0-SingleDeveloper.ps1 <\/em><\/strong>file:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/D5612AQEPa2cFgbOdlQ\/article-inline_image-shrink_1500_2232\/0\/1713878241235?e=1721865600&amp;v=beta&amp;t=xoQnxs80gkhWY-8_j9mVYSMwPcxFzGQx06X0Aw29lSs\" alt=\"\"><\/figure>\n\n\n\n<p id=\"ember3170\">Update the variables in <strong><em>XP0-SingleDeveloper.ps1<\/em><\/strong> :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Prefix = \"XP104\"\n$SitecoreAdminPassword = \"b\"\n$SCInstallRoot = \"D:\\SitecorePackages\\104XP0\"\n$LicenseFile = \"&lt;yourLicenseFilePath&gt;\"\n$SolrRoot = \"&lt;yourSolrRoot&gt;\"\n$SolrService = \"&lt;yourSolrServiceName&gt;\"\n$SqlAdminPassword = \"&lt;yourSqlAdminPassword&gt;\"<\/pre>\n\n\n\n<p id=\"ember3171\">Open PowerShell as an administrator and navigate to the <strong><em>D:\\SitecorePackages\\104XP0<\/em><\/strong> folder, then run the following cmdlet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\\XP0-SingleDeveloper.ps1<\/pre>\n\n\n\n<p id=\"ember3172\">After the execution of the script is finished, open <a href=\"https:\/\/xp104.sc\/sitecore\" target=\"_blank\" rel=\"noopener\">https:\/\/xp104.sc\/sitecore<\/a> to login.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ember3173\">Rebuild the search indexes and the Link database<\/h2>\n\n\n\n<p id=\"ember3174\"><strong>To rebuild all the indexes<\/strong>: Open Sitecore launchpad, go to <strong>control panel<\/strong> and click <strong>indexing manager<\/strong>. <strong>Select all<\/strong> indexes and <strong>Rebuild<\/strong>.<\/p>\n\n\n\n<p id=\"ember3175\"><strong>To rebuild the Link databases<\/strong>: Open Sitecore launchpad, go to <strong>control panel<\/strong> and click <strong>Rebuild Link Databases<\/strong>. Select <em>Master<\/em> and <em>Core<\/em> and click <strong>Rebuild<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/D5612AQGbaGoAcgviPw\/article-inline_image-shrink_1000_1488\/0\/1713878244702?e=1721865600&amp;v=beta&amp;t=jEleBaTl2txqKKysyQKDOlKnn20H0iWG2n15VKfdEAo\" alt=\"\"><\/figure>\n\n\n\n<p id=\"ember3178\">Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article was first published by Yaochang Liu, a member of QEdge. Sitecore provides multiple ways to install SXP 10.4 XP0, Azure ARM template for Azure App Service, Sitecore Installation Framework (SIF) and Sitecore Install Assistant (SIA) for On Premises, Docker Compose for Sitecore Container. In this article, I will explain how to install SXP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6876,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-6874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-insights"],"views":5894,"_links":{"self":[{"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/posts\/6874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/comments?post=6874"}],"version-history":[{"count":2,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/posts\/6874\/revisions"}],"predecessor-version":[{"id":6877,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/posts\/6874\/revisions\/6877"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/media\/6876"}],"wp:attachment":[{"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/media?parent=6874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/categories?post=6874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qedge.ai\/blog\/wp-json\/wp\/v2\/tags?post=6874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}