当前位置:网站首页>The server quickly sets up the alist integrated network disk website [pagoda panel one click deployment of alist]
The server quickly sets up the alist integrated network disk website [pagoda panel one click deployment of alist]
2022-06-29 22:42:00 【Shangjin vegetable pig】
One , Preface
Because there are a lot of video resources in my network disk , They are distributed in different net disks , It is very inconvenient to find , So I use Alist Quickly set up a network disk collection online website , Deployed to my server .
The renderings are as follows :( Code anti black )
Experience website ( No domain name , Exchange and learn to use , Don't be bad ):
http://81.70.23.51:5244/aliyun
Two , Server deployment
First you need to have a server , The performance requirements are not high .
Open the pagoda :
Build a network , No domain name is directly written to the server public network ip that will do .
The creation is completed as follows :
Click the terminal on the left , Get into ssh terminal : Enter the following command :
install Alist
curl -fsSL "https://nn.ci/alist.sh" | bash -s install
The following instructions appear to explain the server installation Alist success :
Release port :5244.
Otherwise, inaccessibility will occur !
Try to visit , The renderings are as follows :
3、 ... and , Connect to alicloud disk
3.1 Add an alicloud disk account
Get into AList Back end , The default path is :
/@manage/settings/0
Click on the account number , Click Add .
Here you need to get Ali's refresh_token( Refresh the command disk ), Pay attention to the .
order_by( Sort ): Optional value is name,size,updated_at,created_at
order_direction( Sort direction ): Optional ASC( positive sequence ),DESC( In reverse order )
3.2 Alibaba cloud disk mobile end packet capture / Find the log to get refresh_token( Refresh the command disk )
The log file path is as follows :
/data/media/0/Android/data/com.alicloud.databox/files/logs/trace/
The official website documents include Alibaba cloud disk mobile end packet capture / Find the log to get refresh_token( Refresh the command disk ) The steps are as follows
https://alist-doc.nn.ci/docs/driver/aliyundrive/
Follow the steps on the official website to complete refresh_token( Refresh the command disk ) obtain .
3.3 change Alist Head and body
stay Alist Add the above prompt picture to the header of , And the following lines of styled text . The code is as follows :
<img src="wxgong.jpg" style="width: 100%;" />
<h1 style='text-align: center ; font-size: 18px;'>
Focus on <span style="color:red;">" Octagonal branch ape "</span> send out <span style="color:red;">" pass "</span> Get password
<br />
<strong> If playback fails , Please use the quark on the mobile phone / Baidu broadcast </strong><br /> part H265 Encoding video PCweb No end solution .<br />
<small> If you need other subject resources , Please add the author's wechat in the official account </small>
</h1>
The effect is as follows :
Use Js Script , Control the page style to be always dark , The bright department is very unsightly .
<script async id="default-theme" src="https://api.xhofe.top/js/alist-theme.js" theme="dark"></script>
Close the download button , Reduce website consumption .
<style>
.footer span,
.footer a:nth-of-type(2) {
display: none;
}
.line0{
display: none;
}
.css-neion{display: none;}
</style>
Add bottom style description .
<h1 style='text-align: center ; font-size: 18px;'>
Copyright 2022 gowork.All rights ZhuBo.
</h1>
<br/>
Four , test
The playing page is as follows :
If playback fails , Please use the quark on the mobile phone / Baidu broadcast
part H265 Encoding video PCweb No end solution .
The list style is shown as follows :
Enter the password box , Verified as follows :
Sort according to the file name as follows :
《 Zhen Huan preach 》 The full screen experience is as follows :
Play smoothly without jam .
The server traffic consumption is as follows :
边栏推荐
- Use the leader election mechanism in kubernetes to complete your own ha application
- PhpSpreadsheet读写Excel文件
- static关键字续、继承、重写、多态
- The MySQL data cannot be read after the checkpoint recovery. Do you know the reason
- 5 - 1 Analyse de vulnérabilité du système
- MySQL 锁常见知识点&面试题总结
- How to use filters in jfinal to monitor Druid for SQL execution?
- 股票开户安全吗?上海股票开户。
- Numpy array creation
- 从零实现深度学习框架——RNN从理论到实战【实战】
猜你喜欢
With the rise of China's database, Alibaba cloud lifeifei: China's cloud database has taken the lead in various mainstream technological innovations abroad
Detailed description of gaussdb (DWS) complex and diverse resource load management methods
Low code, end-to-end, one hour to build IOT sample scenarios, and the sound network released lingfalcon Internet of things cloud platform
What are the software testing methods and technical knowledge points?
26 years old, 0 basic career change software test, from 3K to 16K monthly salary, a super complete learning guide compiled by me
leetcode:91. 解码方法【dfs + 记忆化】
math_基本初等函数图型(幂函数/指数/对数/三角/反三角)
Why does copying files on a shared folder on a local area network (ERP server) result in the loss of the local Internet
【无工具搭建PHP8+oracle11g+Windows环境】内网/无网络/Win10/PHP连接oracle数据库实例
Three development trends of enterprise application viewed from the third technological revolution
随机推荐
Kubernetes architecture that novices must know
低代码、端到端,一小时构建IoT示例场景,声网发布灵隼物联网云平台
云原生爱好者周刊:炫酷的 Grafana 监控面板集合
The soft youth under the blessing of devcloud makes education "smart" in the cloud
Day9 - user registration and login
Conceptual understanding of deep learning (notes)
Problem solving metauniverse, multi communication scheme in online games
为什么在局域网(ERP服务器)共享文件夹上拷贝文件时导致全局域英特网断网
What are the software testing methods and technical knowledge points?
5-2web application vulnerability scanning
Spark集群安装
Just like our previous views on the Internet, our understanding of the Internet began to become deeper
联通入库|需要各地联通公司销售其产品的都需要先入总库
Talk about auto in MySQL in detail_ What is the function of increment
华为7年经验的软件测试总监,给所有想转行学软件测试的同学的几个建议
Can cdc2.2.1 listen to multiple PgSQL libraries at the same time?
STM32基础知识点
[proteus simulation] digital tube display of stepping motor speed
LeetCode85+105+114+124
VS2013如何让编写的程序在其它电脑上面也能运行