关于网盘:h5ai搭建网盘
装置编译|下载能够本人下载编译,也能够间接去下载作者编译好的release git clone https://github.com/lrsjng/h5ai.gitcd h5ainpm installnpm run build编译好后失去的目录构造如下: 环境启动须要php环境来启动,能够用apache, lighttpd, nginx or cherokee等,我比拟习惯用apache2 service apache2 status# 确保php存在php --version如果发现apache2无奈解析php,须要装置如下依赖 sudo apt-get install libapache2-mod-phpservice apache2 restart查看配置拜访http://localhost/_h5ai/public/index.php,默认明码为空 解决掉这些是no的选项 没有读写权限,能够用如下命令给权限 chmod 777 -R _h5ai/其余什么是no就去装置什么,解决问题 # ffmpegapt install -y ffmpeg# convertsudo apt-get install imagemagick# PHP GD extension with JPEG support availablesudo apt-get install php-gd libjpeg-dev直到全都是yes就胜利了。 批改配置批改语言 "l10n": { "enabled": true, "lang": "zh-cn", "useBrowserLang": true },开启文件搜寻性能 "search": { "enabled": true, "advanced": true, "debounceTime": 300, "ignorecase": true },二维码 ...