Guest User

Untitled

a guest
Jan 23rd, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Import-Module SitecoreFundamentals
  2. Import-Module SitecoreInstallationFramework
  3.  
  4. #$global:ProgressPreference = 'silentlyContinue'
  5.  
  6. #define parameters
  7. $prefix = "sc90"
  8. $PSScriptRoot = "C:xconnect-install"
  9. $XConnectCollectionService = "$prefix.xconnect"
  10. $sitecoreSiteName = "$prefix"
  11. $InstallDirectory = "C:inetpubwwwroot"
  12. $SolrUrl = "https://localhost:8983/solr"
  13. $SolrRoot = "C:solrsolr-6.6.2"
  14. $SolrService = "solr-6.6.2"
  15. $SqlServer = "UXD8SITECOREDB"
  16. $SqlAdminUser = "sa"
  17. $SqlAdminPassword="MyPassword!23"
  18.  
  19. #install client certificate for xconnect
  20. $certParams = @{
  21. Path = "$PSScriptRootxconnect-createcert.json"
  22. CertificateName = "$prefix.xconnect_client"
  23. }
  24.  
  25. Install-SitecoreConfiguration @certParams -Verbose
  26.  
  27. #deploy xconnect instance
  28. $xconnectParams = @{
  29. Path = "$PSScriptRootxconnect-xp0.json"
  30. Package = "$PSScriptRootSitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip"
  31. LicenseFile = "$PSScriptRootlicense.xml"
  32. Sitename = $XConnectCollectionService
  33. InstallDirectory = $InstallDirectory
  34. XConnectCert = $certParams.CertificateName
  35. SqlDbPrefix = "$prefix"
  36. SqlServer = $SqlServer
  37. SqlAdminUser = $SqlAdminUser
  38. SqlAdminPassword = $SqlAdminPassword
  39. SolrCorePrefix = $prefix
  40. SolrURL = $SolrUrl
  41. }
  42.  
  43. Install-SitecoreConfiguration @xconnectParams -Verbose
Add Comment
Please, Sign In to add comment