如何在不影响实时站点的情况下将实时 magento 站点带到本地主机 [英] how to bring live magento site to localhost without effecting live site

查看:28
本文介绍了如何在不影响实时站点的情况下将实时 magento 站点带到本地主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望一个实时站点位于本地主机上,并且不影响实时 magento 站点的任何功能.我尝试了很多方法,但没有得到任何结果.

我尝试的步骤是:1. 通过进入 cpanel(通过 ftp 访问)从 magento 实时站点获取数据库> phpmyadmin > 将所有文件导出到我的本地机器,我将所有数据导入到我的本地 phpmyadmin.

2. 从 cpanel > 文件管理器 > 所有文件(例如 p_html、.htpassword、.trash、访问日志等文件等等)中取出所有必要的文件并将其放在我的本地机器上,然后我把文件在文件夹中并将其保存在 C:xampphtdocs 所有文件(在文件夹中).

3 在第一步中适用的所有 sql 文件中,将实时站点的路径替换为 localhost:1234.

但仍然无法正常工作.任何帮助将不胜感激....

解决方案

将您的 LIVE Magento 商店复制到您的本地计算机:

  1. 使用任何 ftp 客户端下载 magento 文件.
  2. 从实时服务器导出数据库.
  3. 将下载的 Magento 文件放在 localhost 根文件夹中.
  4. 在您的本地计算机上创建一个空白数据库(假设它是本地数据库")并导入您从实时数据库导出的数据库备份.
  5. 删除/重命名文件 app/etc/local.xml
  6. 使用本地数据库重新安装 Magento.
  7. 安装后,转到管理部分,然后

<块引用>

(i) 刷新所有缓存.(ii) 重新索引所有数据.(iii) 刷新所有缓存.

就是这样.大功告成.

注意如果您安装了特定于域的模块,这些模块将无法在此处工作.

看起来很简单吧.相信我,就是这么简单.

如果您在本地计算机上安装 Magento 时遇到任何问题,这里有一篇文章可能会派上用场:http://www.insync.co.in/how-to-install-magento-on-wamp-server-localhost-localcomputer/

i want a live site to be on local host and without effecting any functionality of live magento site. i have tried many way of doing that but have not get any result from it.

steps i tried are : 1. taken database from magento live site by entering into cpanel(by ftp access) > phpmyadmin > exported all the files to my local machine and i imported all the data to my local phpmyadmin.

2.taken all neccessary files from cpanel > file manager > all files (for example p_html, .htpassword, .trash, access log, etc file and many more) and put it on my local machine and then i put the file in folder and kept it into C:xampphtdocs all file ( in folder ).

3 Replaced the path of live site with localhost:1234 in the all sql files where applicable taken in step one.

but still not working . Any help will be appreciated....

解决方案

Copy your LIVE Magento store to your Local computer:

  1. Download the magento files using any ftp client.
  2. Export the database from live server.
  3. Put the downloaded Magento files in your localhost root folder.
  4. Create a blank database(lets say it 'local-database') in your local computer and import the database backup that you exported from the live one.
  5. Delete/Rename the file app/etc/local.xml
  6. Re-install the Magento using the local-database.
  7. After installation, go to Admin section and then

(i)Flush all cache. (ii)Re-Index all data. (iii)Flush all cache.

That's it. You are done.

N.B. If you have domain specific Modules installed, those modules will not work here.

Seems very simple right. Believe me, it is that simple.

If you face any problem in installing your Magento in localcomputer, here is a post that may come in handy: http://www.insync.co.in/how-to-install-magento-on-wamp-server-localhost-localcomputer/

这篇关于如何在不影响实时站点的情况下将实时 magento 站点带到本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆