宝塔面板搭建Cloudreve云盘

操作步骤

  1. 登录弹性云服务器。
  2. 执行以下命令,下载并安装宝塔面板。
  3. yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
  4. 当出现以下提示信息时,输入“y”: … Do you want to install Bt-Panel to the /www directory now?(y/n): y

安装完成后,回显如下类似信息:

...
==================================================================
Congratulations! Installed successfully!
==================================================================
Bt-Panel: http://114.115.180.45:8888/46722528
username: ut22gsvp
password: 788db533
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
==================================================================
Time consumed: 2 Minute!

说明:请记录回显信息中“Bt-Panel”、“username”和“password”的参数值。

登录宝塔面板
  1. 在浏览器地址栏中输入记录的“Bt-Panel”参数后面的地址,例如:http://114.115.180.45:8888/46722528。显示如下界面:
  2. 输入记录的账户和密码。显示如下界面:
  3. 根据业务需要可以通过面板安装相关的套件并部署网站,更多关于宝塔面板的信息请参见宝塔面板官网。

官网下载地址:http://cloudreve.org/download.php

下载完成后直接上传根目录解压,然后进行第三步。

设置宝塔伪静态
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
设置写入权限

根目录下的runtime需要写入权限,如果你使用本地存储,public目录也需要有写入权限,需要权限的文件夹权限设置为777。

PHP安装fileinfo拓展

访问 http://你的域名/CloudreveInstaller/开始安装

默认安装账户是admin@cloudreve.org  密码是admin 可在后台更改

搭建完成后整个页面非常简洁,使用高效,手机和PC端都很方便。当做自己的私人网盘非常不错。

演示站点:雾里云

觉得方便的话也可以使用我的云盘。

类似文章

4条评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注