BeDrive可以让你在没有任何编码的基础上在几分钟内创建出一个自托管文件分享的网站来。它有着强大的功能,并且安装使用方便。在起初的时候官方自己的介绍说已经超越了部分同行,例如谷歌和 dropbox,可能也感觉不妥吧,现在找不到这些字眼了。本次给大家带来的是2.2.1目前官方最新版。
在线演示
系统需求
PHP 版本大于等于 5.6
PDO PHP 扩展开启
php_fileinfo 扩展开启
MySQL 数据库
系统特性
安装方便
基于Ajax
分享功能
文件上传
共享链接
多语言
响应式设计
文件预览
Amazon S3,DigitalOcean,Dropbox存储
文档
认证管理
角色和权限
禁用注册
网格和列表视图
广告系统
专业设计
外观编辑
设置
Analytics(分析)
多个主页
(可选)付款系统
拖放上传
上下文菜单
回收站
收藏
搜索
文件细节
源代码开源
更新日志
2020 April 16 - Version 2.2.1
New Features
Added new notification system.
Added configurable GDPR cookie notice.
Added configurable confirmation policies to register page.
Enhancements
Single tap on mobile will now either open a folder or show file preview.
Set bedrive user email and display name on stripe, so subscriptions can be found more easily.
Specific plans can now be hidden from upgrade and pricing pages.
Proration amount on subscription changes to more expensive plan on same interval will now be charged immediately instead of next billing cycle on stripe to prevent abuse.
Added validation to check whether x-accel or x-sendfile is setup on the server before enabling that setting in BeDrive.
Added keybinds for "DELETE" and "ENTER" buttons when at least one file is selected in drive.
Slugs will now be generated properly for cyrillic and chinese characters.
Improved performance when downloading large files.
Account confirmation email can now be resent from login page and admin area.
Localization settings page will now show all available timezones.
Bug Fixes
Allow user to upload files if they have allowed space set as unlimited.
Properly set file mime type when using backblaze storage method.
Fixed an issue where files would not delete from trash properly when using backblaze storage method.
Moving uploaded file to a folder will no longer incorrectly show double space used.
Subscription will now cancel properly on latest version of Stripe API.
Fixed an issue where large files would not download on some servers.
Fixed an issue where some images on site would be loaded as http when site had ssl enabled.
Prevent fails that fail extension validation from uploading.
Corrected a few visual issues with dropdowns across the site.
Fixed an issue with site logo in shared file page sometimes not showing.
Chart legend items will now wrap to new line if there's not enough space.
A number of other smaller fixes and improvements.
安装方法
咱也为宝塔做点贡献,本测试基于宝塔面板。
Centos安装命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Ubuntu/Deepin安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
Debian安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
Fedora安装命令:
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
安装完面板后,进入面板,根据提示,然后选择安装PHP、Nginx或Apache、Mysql。新建网站。
1、下载文件解压缩上传到服务器
2、建立mysql数据库
3、将网站运行目录设置为public (public 目录包含了应用入口文件 index.php 和前端资源文件(图片、jаvascript、CSS等),该目录也是 Apache 或 Nginx 等 Web 服务器所指向的应用根目录,这样做的好处是隔离了应用核心文件直接暴露于 Web 根目录之下,如果权限系统没做好或服务器配置有漏洞的话,很可能导致应用敏感文件被黑客窃取,进而对网站安全造成威胁;设置方法请百度。)
4、打开http://www.yourdomain.tld
5、检查环境和扩展,通过点击下一步。
6、输入数据库信息和管理员登录信息。
7、安装完毕。
下载地址
欢迎转载,拒绝贩卖,在淘宝上看到有卖这个的,价格还不低,改个名字就拿去卖,也不嫌恶心?
安装截图
最后附上nginx的伪静态规则
要替换路径的,别拿过来就用。然后说不好使。用宝塔直接就能设置伪静态和运行目录。
server {
listen 80 default_server;
server_name default;
root /home/forge/default/public;
index index.html index.htm index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/default-error.log error;
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
评论(3)