头图

Introduction

Alist is an open source network disk agent program. In simple terms, it mounts all the files of commonly used network disks into this program, and realizes that a webpage can view Alibaba cloud disk, Baidu network disk, and Lansuan cloud disk. , Tianyi cloud disk, etc. The back end is based on golang's gin framework, and the front end is developed using vue and ant design.

build

This article will use the Linux server pagoda panel to install and run Alist.

1. Create a website <br>Pagoda panel click on website -> add site -> add domain name (port number 5244)

image.png

2. Enter the website directory to download Alist

Click on File -> Terminal on the left

image.png

Enter the following command in the terminal to install (where alist.xxx.com is the directory name of the website you created)

 curl -fsSL "https://nn.ci/alist.sh" | bash -s install /www/wwwroot/alist.xxx.com

image.png

After the installation is complete, the initial password and some common commands and access methods will pop up.

image.png

Visit Alist

Access your server IP + port number to enter the Alist background, such as 192.168.0.1:5244, or after resolving the domain name, you can also access the domain name + port number.

image.png

The password here is the initial password. After logging in, you can change the password.

Add a network disk

In the background of Alist, click on the account and add a network disk. I will use the Lanzou cloud disk to demonstrate.

image.png

After filling in some simple configurations, the important thing here is this cookie. If you find a way to get the cookie, you can get all the files of your Lansong cloud disk.

image.png

The method to get Lansuo cloud disk cookie:
Visit http://lanzou.com Log in to your account, then F12 to open the developer tool, click NetWork (some browsers are network), then click mydisk.php to see the cookie, copy all of them and save it.

image.png

View Alist Home Directory

Visit your domain name + port to enter the home page.

image.png

author

Author: TANKING
Wechat: sansure2016


TANKING
4.8k 声望493 粉丝

热爱分享,热爱创作,热爱研究。