【问题标题】:How to install the xampp and moodle in mac os x?如何在mac os x 中安装xampp 和moodle?
【发布时间】:2013-11-08 03:32:04
【问题描述】:

我需要帮助才能使用 xampp 在 mac 中安装 moodle。我不知道如何安装它。请帮助如何通过命令行或其他任何方式在我的 mac 中安装这些工具..

【问题讨论】:

    标签: macos command-line xampp moodle


    【解决方案1】:

    首先从http://www.apachefriends.org/en/xampp-macosx.html#849下载xampp

    $ wget -c http://www.apachefriends.org/download.php?xampp-osx-1.8.2-2-installer.dmg
    

    → 安装它

    $ hdiutil mount xampp-osx-version-number.dmg
    $ cd /Volumes/xampp_mounted_directroy
    $ sudo cp -Rv xampp_app_file.app /Application
    

    别忘了分离挂载的卷

    $ hdiutil detach <path-to-mountpoint> 
    

    和

    $ cd /Applications/XAMPP/xamppfiles/htdocs
    

    → 然后在那里克隆 git repo

    $ git clone git://git.moodle.org/moodle.git                       
    $ cd moodle
    $ git branch -a                                                   
    $ git branch --track MOODLE_25_STABLE origin/MOODLE_25_STABLE     
    $ git checkout MOODLE_25_STABLE                                   
    

    → 现在启动 xampp 并链接 localhost

    好的,现在完成了

    【讨论】:

      猜你喜欢
      • 2016-07-06
      • 2014-09-19
      • 2011-08-29
      • 2012-01-09
      • 1970-01-01
      • 2014-09-21
      • 1970-01-01
      • 2014-05-12
      • 1970-01-01
      相关资源
      最近更新 更多