欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

使用命令行刷新Magento索引管理 Rebuilt Magent

系統(tǒng) 2104 0
magento索引管理

magento索引管理

當(dāng)我們網(wǎng)站商品很多的時(shí)候,比如有幾千件,我們刷新Magento的索引管理(Index Management)經(jīng)常會(huì)失敗。那么后臺(tái)刷新不了,我們還可以通過(guò)命令行來(lái)刷新。使用命令行來(lái)刷新索引管理會(huì)極大降低系統(tǒng)消耗,容易成功。
我們來(lái)看下步驟,如果你在使用linux服務(wù)器,登入你的ssh客戶端,切換目錄到你magento根文件夾中名字是shell的文件中。


在此文件夾中輸入如下命令

    php -f indexer.php -- -reindex catalog_url
  
?

它的意思是刷新Catalog Url Rewrites即網(wǎng)址重寫。成功后會(huì)有成功提示,如: Catalog URL Rewrites index was rebuilt successfully

?

magento使用Shell刷新索引管理

?

magento使用Shell刷新索引管理

?

我們來(lái)看下有哪些索引管理,可以使用Shell的命令行來(lái)刷新,如下

1
2
3
4
5
6
7
8
catalog_product_attribute???? Product Attributes
catalog_product_price???????? Product Prices
catalog_url?????????????????? Catalog Url Rewrites
catalog_product_flat????????? Product Flat Data
catalog_category_flat???????? Category Flat Data
catalog_category_product????? Category Products
catalogsearch_fulltext??????? Catalog Search Index
cataloginventory_stock??????? Stock status

?

如上分別對(duì)應(yīng)后每項(xiàng)臺(tái)的索引管理。

命令執(zhí)行后需要耐心等待一段時(shí)間,因你商品數(shù)量和你服務(wù)器性能決定等待多久。注意命令中reinde前一共是三個(gè)英文橫線。如有代碼錯(cuò)誤提示,直接黏貼本文的命令或者
如下參考文章的命令,直接修改執(zhí)行參數(shù)即可。

?

來(lái)源: http://www.hellokeykey.com/magento-shell-reindex-index-management/

參考文章: http://inchoo.net/ecommerce/magento/executing-magento-indexer-from-shell/

?

Rebuilt Magento Indexes in terminal with php-cli

For the past 6 months, had been doing a lot of work with Magento. I’ve notice that the more I know the whole thing, the more I don’t want to share about it. Well, I still like to share some things though… so now it’s time to give some tips/tricks…

?

In your terminal do:

    cd /magento/shop/path/shell/
  
?

where “/magento/shop/path” is your magento rooth path. For e.g. (in live terminal)

    user:~$ cd /home/cliper/magento/shell/
  
?

after that, you can run the indexer by doing:

    php indexer.php reindex all
  
?

that will re-index all available indexes in magento.

Well, you can always run it in one command like:

    php /home/cliper/magento/shell/indexer.php reindex all
  
?

For help on how to use the indexer and available arguments do:

    php indexer.php
  
?

For a list of available indexes do:

    php indexer.php info
  
?

and you should be able to see a list of indexes something like this:

?

    catalog_product_attribute     Product Attributes
catalog_product_price         Product Prices
...                           ...
  
?

?

?

使用命令行刷新Magento索引管理 Rebuilt Magento Indexes in terminal with php-cli


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!??!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 91在线 | porny | 欧美 | 国产免费A片好硬好爽好深小说 | 黄网免费看 | 国产成人精品一区二区在线 | 美腿丝袜中文字幕 | 日韩欧美中国a v | 欧美成人性生活 | 国产精品综合视频 | 精品视频在线免费播放 | 97av视频在线播放 | 青娱乐免费 | 欧美日韩精品一区二区三区 | 欧美日韩综合精品一区二区三区 | 欧美国产日韩在线观看 | 欧美精品亚洲一区二区在线播放 | 国产精品视频26uuu | 好爽好大www视频在线播放 | xifan在线a精品一区二区视频网站 | 国产一区二区三区免费观看 | 精品免费国产一区二区三区 | 国产一精品一av一免费爽爽 | 久久免费福利 | 亚洲国产精品99久久久久久久久 | 狠狠色依依成人婷婷九月 | 91精品国产91久久久久久吃药 | 黄色一级视频 | 性色av一区二区三区四区 | 久久这里只有精品99 | av免费在线观看av | 国产伦精品一区二区 | 丁香婷婷久久久综合精品国产 | 最新一级毛片 | 夜干夜干2017最新网站 | 成人久久久| 亚洲性生活免费视频 | 九九综合九九综合 | 99中文在线| 欧美黄色大片免费观看 | 国产在线aaa片一区二区99 | 91精品国产闺蜜国产在线 | 欧美日韩亚洲一区二区三区在线观看 |