framework · installation

Playing around with Sitecore 9 and my simple framework version 2.0

I guess that we’re all excited with Sitecore 9. Finally, I have a chance to play with Sitecore 9 and my simple framework. A new version 2.0 is out for that. It’s mostly based on version 1.7 because I just did:

  • upgrade all Sitecore Nuget packages to version 9.0.171002
    • sf20_2.png
  • upgrade .Net Framework to version 4.7
  • get some minor tweaks

Sitecore 9 Installation Enhancement

In my previous post A step by step guide for Sitecore 9 installation on your machine, we can see that there will be some limitations if we play with the default ones. For a better Sitecore development, I think that we should update some items:

  • using SOLR 6.6.2 instead of SOLR 6.6.1 which has a core lock bug
  • enabling to change the website install folder instead of using the default one C:\inetpub\wwwroot\ due to disk space limitation, the reference
  • being able to uninstall a specific Sitecore 9 instance easily so that we enjoy playing with multiple ones, the reference

What should we do?

I’m a super lazy developer so I love The lazy developer’s way to install Sitecore 9

If you’re totally new with Sitecore 9 installation, you should do it manually then you will fall in love with SIFless very soon 😀

  • open A step by step guide for Sitecore 9 installation on your machine
  • follow Step 1 to Step 4
  • from Step 5 to Step 7: play with SOLR 6.6.2 instead of SOLR 6.6.1
  • follow Step 8 to Step 10
  • now you done with Step 10, download zip file (note: the original one – Thank Rob Ahnemann) and unzip it then copy / paste 02 files below to D:\sc9_install with overwrite option:
    1. sitecore-XP0.json
    2. xconnect-xp0.json
  • follow Step 11
  • bypass Step 12, do this step instead: download sc9_install_customDir.ps1 and copy / paste it to D:\sc9_install then open it to correct 05 parameters below:
    1. $prefix
    2. $InstallDirectory
    3. $SqlServer
    4. $SqlAdminUser
    5. $SqlAdminPassword
  • bypass Step 13, do this step instead:
    • open Windows PowerShell (run as administrator)
    • sf20_1
    • hopefully there is nothing can stop the installation process
      • otherwise take a look at Note: some known issues in the previous post
    • open a browser, navigate to http://{$prefix}.local/ and http://{$prefix}.local/sitecore/ (log into it by using super famous account admin / b)
  • follow Step 14 strictly

How to uninstall it?

  • download sc9_uninstall.ps1 (note: the original one – Thank James Darrall) and put it into D:\sc9_install then open it to correct 07 parameters below:
    1. $Prefix
    2. $InstallDirectory
    3. $SolrService
    4. $PathToSolr
    5. $SqlServer
    6. $SqlAccount
    7. $SqlPassword
  • open Windows PowerShell (run as administrator)
    • sf20_5.png
  • hopefully, it runs well and cleans everything up

Development Framework Installation

  • Are you ready for Sitecore 9 development?
  • Yes, I am 😀

Now you can start building and deploying my simple framework by following the Step-by-step Guide. After all, hopefully you can see something like this:

This slideshow requires JavaScript.

Additional ones

Got issues?

Please send your issues (with screenshots if possible) to viet.hoang.sitecore@gmail.com so that I have a chance to understand your problem and be able to suggest the solution.

Happy Sitecore 9 Playing!

 

Advertisement

One thought on “Playing around with Sitecore 9 and my simple framework version 2.0

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.