2018年 08月 27日 - linux下用户管理速查

    概览

    用户查看与密码修改,用户与密码存储文件结构.

    2018年 08月 22日 - nginx使用php做文件上传出现413 Request Entity Too Large的解决

    在安装Cloudreve后进行文件上传测试

    小文件上传正常,大文件已上传就卡住上传进度,打开控制台查看发现post请求响应了413 Request Entity Too Large 解决:

    1. 检查php.ini配置内容
    2. 检查nginx的配置内容

    2018年 08月 21日 - php插件安装

    php插件安装

    1. 新装指定编译时设置,如需要安装curl扩展
      $ cd $PHP_ROOT
      $ ./configure --with-curl
      
    2. 已安装的php,使用phpize
      $ cd $PHP_ROOT/ext/crul
      $ phpize ./configure –with-curl
      

    2018年 08月 13日 - @Autowire集合的使用

    使用自动注入集合类时候提示

    Description:
    
    Field xxx in com.XXX.xxx required a single bean, but 3 were found:
    
    Action:
    
    Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed