[01] Preparation, 01 preparation
Sitecore CMS is a set of commercial software for content management systems. Its underlying platform relies on Microsoft. net technology. A recent project has adopted this platform, so it has the opportunity to access this product.
Although I have been in touch with this product for some time, I always feel that I lack a more complete and in-depth understanding of this product. So I want to record the learning and use of this product through blog, make a free marketing for this product :)
Today, let's talk about the installation of Sitecore CMS.
(1) first, obtain the installation package. As a commercial software, the installation package of Sitecore is not open for download, and a valid license is required. Although this is for the purpose of copyright protection, the result is that it restricts the spread of Sitecore software and brings a high threshold to self-scholars. At present, it is extremely difficult for individuals to obtain such a set of software, usually through the company channel. Download the installation package directly to the http://sdn.sitecore.net/products.aspx, download before you need to register a website account and get the corresponding download permissions. The installation package used here is Sitecore 7.1 rev. 140324
(2) Select the installation method. Sitecore provides the installation package of the exe version to support automatic installation, and also provides the File Installation Package of the zip version. The results of the two methods are similar, but manual installation through the zip version can better control the installation process, so the installation method of the zip package is selected here.
(3) create a project. Create a project folder in the appropriate path, for example, "D: \ SitecoreAll \ SitecoreSampleProject ".
(4) decompress the zip folder. The decompressed file contains three folders: Data, Databases, and Website. Put the files in these three folders in the project folder.
"D: \ SitecoreAll \ SitecoreSampleProject \ Data", "D: \ SitecoreAll \ SitecoreSampleProject \ Databases", "D: \ SitecoreAll \ SitecoreSampleProject \ Website"
(5) Place the license. xml file in the "D: \ SitecoreAll \ SitecoreSampleProject \ Website \ data" folder. If no license is available or the license is invalid, the normal access to the website will be affected.
(6) append the database and set the database connection string. Sitecore mainly uses three database cores, Web and Master, all in the Databases folder. You need to attach these three databases to SQL Server.
Modify the connection string in the Website \ App_Config \ ConnectionStrings. config file:
<Add name = "core" connectionString = "user id = your uid; password = your pwd; Data Source = localhost; Database = Sitecore_Core"/>
<Add name = "master" connectionString = "user id = your uid; password = your pwd; Data Source = localhost; Database = Sitecore_Master"/>
<Add name = "web" connectionString = "user id = your uid; password = your pwd; Data Source = localhost; Database = Sitecore_Web"/>
[Tips] When attaching a database, you may encounter a situation where the database cannot be attached. One possible reason is that the permissions are insufficient. The solution is to right-click the Databases folder and choose Properties> Security> Authenticate Users> Edit> hide full control> OK. (Figure 1)
(7) Configure IIS ApplicationPool and Website. The ApplicationPool is CLR4.0, the Integrated Authentication mode is Integrated, and the Identity is ApplicationPoolIdentity.
Add a new Website and set the physical path to "D: \ SitecoreAll \ SitecoreSampleProject \ Website ". (Figure 2)
(8) Start the website http: // localhost: 9000/sitecore/and enter the background login page of Sitecore. The default login name is admin and password B. select "Desktop" on the UI of the logon mode. After the logon is successful, the classic Sitecore Web Desktop is displayed. There is a way to get back to Windows Xp. so far, the installation is basically complete.
Conclusion: Sitecore has different Installation methods for different environments. For this reason, Sitecore has a dedicated Installation Guide to Guide the Installation process and some possible problems.
References: installation_guide_sc71-a4.pdf