如何将现有的 Sitecore 6.2 站点部署到新环境?
我想部署一个我一直在使用的 Sitecore 测试站点,从单一开发人员平台(一切都在一台本地 PC 上)到更像测试环境(专用 IIS 和 SQL 服务器、对 IIS 的虚拟访问)。我现在确实不需要太担心团队开发和源代码控制,尽管开发将在本地继续,并将包部署到测试环境。
是否有执行此操作的最佳实践文档?
我可以简单地在 IIS 上安装一个空的 Sitecore 实例,然后复制所有内容(编辑连接字符串以指向正确的数据库等)吗?如果是这样,最好使用安装程序或 zip 文件?
除了确保正确的服务器配置(.NET 版本、安全设置等)之外,还有什么我应该特别注意的吗?
提前致谢。
I want to deploy a Sitecore test site I've been playing with from a single developer platform (everything on one local PC) to something more like a test environment (dedicated IIS and SQL servers, virtual access to IIS). I don't really need to worry too much about team development and source control right now, though development will continue locally with packages deployed to the test environment.
Is there any best practice documentation for doing this?
Can I simply install an empty Sitecore instance on the IIS and then copy everything over (editing connection strings to point to correct DBs etc)? If so it best to use the installer or the zip file?
Aside from ensuring correct server configuration (.NET version, security settings etc) is there anything I should be paying particular attention to?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
幸运的是,移动 Sitecore 安装是一项相当简单的任务,并且您可以使用多种方法。这是我通常会做的(稍微简化)。
是否要使用 Sitecore Installler 取决于个人喜好。它确实为您设置了很多配置问题,但我个人从不使用它。我选择“Zip of the root”。
我认为我无法列出您应该特别注意的事项的完整列表,但这里有一些最常见的事项
希望这能提供一些见解:-)
Fortunately, moving a Sitecore installation around is a fairly simple task, and there are a number of approaches you could be using. Here's what I would normally do (somewhat simplified).
Whether you want to use Sitecore Installler or not is a matter of personal preference. It does set a lot of configuration issues for you, but personally I never use it. I go with "Zip of the root".
I don't think I could come up with a full list of things you should be paying particular attention to, but here's a few of the most common ones
Hope this provides a bit of insight :-)
关于安装程序与 Zip,我一直更喜欢 zip。
它看起来更快,我可以控制整个过程......加上我玩过的第一个安装程序似乎从来没有工作得那么好或根本没有工作。
关于移动站点,我建议制作一个解决方案的清理压缩包。
有些东西是不需要的,通常这些东西是不需要的:
viewstate文件夹内容
诊断文件夹内容
MediaCache 文件夹内容
审核文件夹内容
临时文件夹内容
索引文件夹内容
,但通常您需要这些文件夹,而不是内容,例如 MediaCache 文件夹,它是在从数据库检索媒体项目时由 Sitecore 生成的。
With regards to Installer vs Zip I've always prefered the zip.
It seems faster and I get to control the whole process... plus the first installers I played with never seemed to work that well or at all.
With regards to moving a site, I'd say make a cleaned up zip of the solution.
there are things that are not needed, usually these things are not needed:
viewstate folder content
diagnostics folder content
MediaCache folder content
audit folder content
temp folder content
indexes folder content
but usually you need these folders, just not the content, as for instance with the MediaCache folder, it's generated by Sitecore when media items are retrieved from the database.