我们的使命

助力跨境卖家高效建立全球销售网络

喜报2021年我司获《江苏省国家高新技术企业》认定

分类目录

文章标签

热门推荐

相关咨讯

opencart大型网站,magento如何升级

2022-11-04 10:17:55 - 米境通跨境电商

    

    最近升级了很多网站到Magento1.9.3,这里把升级方法和碰到问题记录一下。升级magento系统,首先第一步就是得备份。备份无非就是程序资源文件和数据库。一般的magento网站只需要拷贝网站目录副本和导出数据库SQL文件即可。下面的代码早前记录的【也不知道来源是哪里了】

    升级步骤

    1.设置站点为维护模式:

    cd/你的magento根目录

    touchmaintenance.flag

    2.备当前的数据库:

    mysqldump-uroot-p数据库名>数据库名.sql

    3.备份当前网站的目录:

    cp-R/你的magento根目录备份目录名

    例如cp-rmageoo.commageoo.com_bak

    4.更新:

    cd/你的magento根目录

    chmod-R777./*

    rm-rfvar/cache/*var/session/*

    chmod550./mage

    ./magemage-setup.

    ./mageconfig-setpreferred_statestable

    ./magelist-installed

    如果最后的命令不会列出预期Magento的模块,如:

    Installedpackageforchannel'community':

    Lib_Unserialize1.9.2.4stable

    Mage_All_Latest1.9.2.4stable

    Interface_Adminhtml_Default1.9.2.4stable

    Interface_Frontend_Default1.9.2.4stable

    Interface_Install_Default1.9.2.4stable

    Mage_Downloader1.9.2.4stable

    Mage_Centinel1.9.2.4stable

    Interface_Frontend_Base_Default1.9.2.4stable

    Phoenix_Moneybookers1.9.2.4stable

    Mage_Compiler1.9.2.4stable

    Magento_Mobile1.9.2.4stable

    Lib_Cm1.9.2.4stable

    Cm_RedisSession1.9.2.4stable

    Interface_Frontend_Rwd_Default1.9.2.4stable

    Mage_Core_Adminhtml1.9.2.4stable

    Mage_Core_Modules1.9.2.4stable

    Lib_Js_Ext1.9.2.4stable

    Lib_LinLibertineFont2.8.14.5stable

    Lib_Js_TinyMCE3.5.11.4stable

    Lib_Varien1.9.2.4stable

    Lib_Google_Checkout1.9.2.4stable

    Lib_Js_Calendar1.51.1.5stable

    Lib_Js_Mage1.9.2.4stable

    Lib_Phpseclib1.9.2.4stable

    Mage_Locale_en_US1.9.2.4stable

    Lib_Mage1.9.2.4stable

    Lib_Magento1.9.2.4stable

    Lib_Credis1.9.2.4stable

    Lib_Pelago1.9.2.4stable

    Lib_IDNA21.9.2.4stable

    Lib_ZF1.12.10.4stable

    Lib_Js_Prototype1.9.2.4stable

    Lib_ZF_Locale1.12.10.4stable
    联系我们
  • 24H客服
  • 联系电话:16651690460(龙经理)
  • 微信咨询:
南京天遥路联网络科技有限公司,版权所有 Copyright By ©米境通ERP4.0,2015-2025,苏ICP备:苏ICP备15044100号-4, 苏公网安备:32011402011043