各种错误合集

2019-06-21  本文已影响0人  qboy0000

ubuntu Apache2

  1. .htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    只需要将在/etc/apache2/mods-enabled中执行sudo ln -s ../mods-available/rewrite.load ./

MySQL

  1. ImportError: No module named 'MySQLdb'
    MacOS 下的临时解决方案:
    export PATH=$PATH:/usr/local/mysql/bin
    Ubuntu下的临时解决方案:
    sudo apt install libmysqlclient-dev

Github

  1. github上传超过100MB文件
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: See http://git.io/iEPt8g for more information.

参考https://git-lfs.github.com/

上一篇下一篇

猜你喜欢

热点阅读