简体   繁体   English

在本地服务器中设置的现有umbraco cms

[英]existing umbraco cms set up in local server

I am completely new with the umbraco CMS and one of my client want to make some changes on his umbraco CMS web site. 我对umbraco CMS完全陌生,我的一位客户希望在其umbraco CMS网站上进行一些更改。 So i have downloaded the umbraco CMS projects files and database from the server and i need to configure it on my local server. 因此,我已经从服务器下载了umbraco CMS项目文件和数据库,我需要在本地服务器上对其进行配置。 I am using windows 10 OS. 我正在使用Windows 10 OS。 I can install a fresh umbraco cms in the local server. 我可以在本地服务器上安装新的umbraco cms。 But When i try to run the existing in local server, its asking me for install the fresh umbraco CMS.Can anyone help me on sort out this issue? 但是,当我尝试在本地服务器上运行现有服务器时,它要求我安装新的umbraco CMS。有人可以帮助我解决此问题吗?

Note : I don't have changed the any configurations on the files. 注意:我没有更改文件上的任何配置。 Just simply running the project with Microsoft WebMatrix app. 只需使用Microsoft WebMatrix应用程序运行项目即可。 Please help me with the database and other configuration settings also. 请帮助我数据库和其他配置设置。

Aby help will be really appreciated... 非常感谢Aby的帮助...

It sounds like the Umbraco installation is assuming it is a new installation and then creates a new database for you. 听起来好像Umbraco安装假定它是新安装,然后为您创建一个新数据库。

You need to download the website files directly from the server and place those in a folder which can be served by a webserver on your local machine. 您需要直接从服务器下载网站文件,并将其放置在本地计算机上可以由网络服务器提供服务的文件夹中。 Then you need to get a backup of the database on the server and restore this on a SQL server on your local machine. 然后,您需要获取服务器上数据库的备份,并将其还原到本地计算机上的SQL Server上。

When this is done, you need to make sure the connectionstring in the web.config of the site is set up correct to match where you have restored the database on your local SQL server. 完成此操作后,您需要确保站点的web.config中的连接web.config设置正确,以匹配您在本地SQL Server上还原数据库的位置。 Search for umbracoDbDsn and make sure the server name, credentials and database name is correct. 搜索umbracoDbDsn ,并确保服务器名称,凭据和数据库名称正确。

When this is done, you should be able to start up the site and hopefully it will run just as it did on the server. 完成此操作后,您应该能够启动该站点,并希望它可以像在服务器上一样运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM