cloudreve网盘搭建

mgc
mgc
2022-11-29 / 1 评论 / 237 阅读 / 正在检测是否收录...

christina-wocintechchat-com-glRqyWJgUeY-unsplash.jpg
大硬盘vps安装cloudreve网盘所需代码
1.bebian系统
更新系统环境

apt update -y && apt install -y curl && apt install -y socat && apt install wget -y

打开端口

iptables -P INPUT ACCEPT  
iptables -P FORWARD ACCEPT   
iptables -P OUTPUT ACCEPT    
iptables -F

BBR开启

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

装宝塔面板 建议安装国内版降级

wget https://raw.githubusercontent.com/AaronYES/aaPanel/main/script/aapanel.sh  -O aapanel.sh && chmod +x aapanel.sh && clear && ./aapanel.sh

2.下载安装

cloudreve网盘GitHub官方地址 (https://github.com/cloudreve/Cloudreve)

cloudreve/Cloudreve: 🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers) (github.com)

也可以用命令安装
解压获取到的主程序(自己去看版本号)

wget https://github.com/cloudreve/Cloudreve/releases/download/3.8.0/cloudreve_3.8.0_linux_amd64.tar.gz
tar -zxvf cloudreve_3.8.0_linux_amd64.tar.gz

赋予执行权限

 chmod +x ./cloudreve

启动

 ./cloudreve

3.下载cloudreve.service文件上传到vps下 /usr/lib/systemd/system/cloudreve.service

下载

更新配置

systemctl daemon-reload

启动服务

systemctl start cloudreve

设置开机启动

systemctl enable cloudreve

4.离线下载组件
组件环境

apt install wget curl ca-certificates

下载脚本

wget -N git.io/aria2.sh && chmod +x aria2.sh

运行脚本

./aria2.sh

屏幕截图 2022-11-29 023236.png

0

评论 (1)

取消
  1. 头像
    小白
    Windows 10 · Google Chrome

    攻略写一半,不讲究呀表情

    回复