当前位置:网站首页>服务器快速搭建AList集成网盘网站【宝塔面板一键部署AList】
服务器快速搭建AList集成网盘网站【宝塔面板一键部署AList】
2022-06-29 22:20:00 【上进小菜猪】
一,前言
因为我的网盘里有很多的视频资源,他们分布在不同的网盘中,找起来非常的不方便,所以我使用Alist快速搭建了一个网盘合集在线网站,部署到了我的服务器上。
效果图如下:(打码防黑)
体验网址(没有上域名,交流学习使用,不要使坏):
http://81.70.23.51:5244/aliyun
二,服务器部署
首先需要有一个服务器,对性能要求不高。
打开宝塔:
建一个网点,没有域名直接写服务器公网ip即可。
创建完成如下:
点击左侧的终端,进入ssh终端:输入如下命令:
安装Alist
curl -fsSL "https://nn.ci/alist.sh" | bash -s install
出现如下说明服务器安装Alist成功:
放行端口:5244。
否则会出现无法访问!
尝试访问,效果图如下:
三,对接阿里云盘
3.1 添加阿里云盘账号
进入AList后端,默认路径为:
/@manage/settings/0
点击账号,点击添加。
这里需要获取阿里的refresh_token(刷新令盘),注意一下。
order_by(排序):可选值为name,size,updated_at,created_at
order_direction(排序方向):可选ASC(正序),DESC(倒序)
3.2 阿里云盘手机端抓包/查找日志获取refresh_token(刷新令盘)
日志文件路径如下:
/data/media/0/Android/data/com.alicloud.databox/files/logs/trace/
官网文档有 阿里云盘手机端抓包/查找日志获取refresh_token(刷新令盘)的步骤如下
https://alist-doc.nn.ci/docs/driver/aliyundrive/
根据官网的步骤即可完成refresh_token(刷新令盘)获取。
3.3 更改Alist头部和body
在Alist的头部添加上面的提示图片,和下面的几行样式文字。代码如下:
<img src="wxgong.jpg" style="width: 100%;" />
<h1 style='text-align: center ; font-size: 18px;'>
关注<span style="color:red;">"八方支猿"</span>发送<span style="color:red;">"通行证"</span>获取密码
<br />
<strong>如播放失败,请使用手机端夸克/百度播放</strong><br />部分H265编码视频PCweb端无解。<br />
<small>如您需要其他科目资源,请在公众号内添加作者微信</small>
</h1>
效果如下:
使用Js脚本,控制页面样式一直为暗系,亮系很不美观。
<script async id="default-theme" src="https://api.xhofe.top/js/alist-theme.js" theme="dark"></script>
关闭下载按钮,降低网站消耗。
<style>
.footer span,
.footer a:nth-of-type(2) {
display: none;
}
.line0{
display: none;
}
.css-neion{display: none;}
</style>
增加底部样式说明。
<h1 style='text-align: center ; font-size: 18px;'>
Copyright 2022 gowork.All rights ZhuBo.
</h1>
<br/>
四,测试
播放页面如下:
如播放失败,请使用手机端夸克/百度播放
部分H265编码视频PCweb端无解。
列表样式表现如下:
输入密码框,验证如下:
根据文件名称排序如下:
《甄嬛传》全屏体验如下:
播放流畅无卡顿。
服务器流量消耗如下:


边栏推荐
- The correct method for Navicat to connect to mysql8.0 (valid for personal testing)
- 把数组排成最小的数_数组中的逆序对(归并统计法)_数字在升序数组中出现的次数_丑数(剑指offer)
- mysql备份数据库linux
- leetcode:91. Decoding method [DFS + memorization]
- The child component of a single data flow modifies the value of the parent component
- #第三天
- 26岁,0基础转行软件测试,从月薪3k到16k,我整理的超全学习指南
- Three development trends of enterprise application viewed from the third technological revolution
- 5-2Web应用程序漏洞扫描
- Analyze apache SH script
猜你喜欢
![[php8+oracle11g+windows environment without tools] Intranet / no network /win10/php connecting to Oracle database instance](/img/72/214ee6d3842f393164cc93bb387926.png)
[php8+oracle11g+windows environment without tools] Intranet / no network /win10/php connecting to Oracle database instance

Problem solving metauniverse, multi communication scheme in online games
![[multithreading] how to implement timer by yourself](/img/a9/dd9489c7a0028dd9d3a6dae9a71deb.png)
[multithreading] how to implement timer by yourself

Matplotlib histogram

生产环境AIX小机报错B6267342问题处理

《天天数学》连载54:二月二十三日

Can you be a coder if you don't learn English well? Stop worrying and learn it first

Free PDF to word software sharing, these software must know!

中国数据库崛起,阿里云李飞飞:中国云数据库多种主流技术创新已领先国外

5-1系统漏洞扫描
随机推荐
laravel 关联模型 多态关系
从检查点恢复后读取不到mysql的数据有那位兄台知道原因吗
Advanced use of the optional class
Day9 ---- 用户注册与登录
Kr-gcn: an interpretable recommendation system based on knowledge aware reasoning
Introduction, deployment and application of moosefs
稳!上千微服务接入 Zadig 的最佳姿势(Helm Chart 篇)
leetcode:91. 解码方法【dfs + 记忆化】
Code sharing for making and developing small programs on the dating platform
阶段性总结与思考
联通入库|需要各地联通公司销售其产品的都需要先入总库
This time, I will talk about technology and life
《天天数学》连载54:二月二十三日
The correct method for Navicat to connect to mysql8.0 (valid for personal testing)
#第三天
详细聊聊MySQL中auto_increment有什么作用
Day9 - user registration and login
With the rise of China's database, Alibaba cloud lifeifei: China's cloud database has taken the lead in various mainstream technological innovations abroad
客户端可以连接远程mysql
合宙AIR32F103CBT6开发板上手报告
