1

我已经在我的本地驱动器上安装了 DotNetNuke 5.6,现在我想将它移动到主机以运行网站。我应该执行哪些步骤来运行我的网站?

4

1 回答 1

2

如果您没有对本地主机上的站点进行任何操作,那么让您的主机为您安装一个干净的 DotNetNuke 副本可能是最简单的。许多主机会为您执行此操作或提供自动化工具以通过其控制面板进行安装。

为了帮助您移动 DotNetNuke 站点,我们确实需要更多详细信息才能提供完整的答案(您的托管公司应该能够为您提供指导),但基础是:

1a. If you are just using SQL Express on the local host and plan to
use it under SQL Express on the host as well, you'll just need to
FTP up the DB files along with all the other files. 
1b. If you'll be
running the DB under a full SQL Server: Backup your database on your
localhost, copy the DB backup to your host, and restore the database
to the database server provided by the host.
2. Create a blank website on the host.
3. FTP all site files from your localhost to the root directory of your new website. 
4. Make sure the Network Service account has Full Access permissions to the root directory and all sub-directories.
5. If you're using a full SQL Server, you'll need to update connection strings in the web.config to point to the restored DB and
ensure you're using a user/login with read/write rights to the DB.
6. Browse to the site.

那应该这样做。

于 2012-05-11T04:04:53.420 回答