Sharelist (1st/Legacy) Manual Installation Guide

Original link: https://www.blueskyxn.com/202208/6387.html

Sharelist (第一代/旧版)手动安装指引

foreword

Sharelist is a very useful network disk program, which can be connected to network disks including but not limited to OneDrive and GoogleDrive, supports SMB and WebDav, and also supports Local File.

Although the author recently wrote a new version, but the personal test is not very easy to use, I still think the old version is better.

The current address of the old version is https://github.com/reruin/sharelist/tree/0.1

The help documentation for this version is https://reruin.github.io/sharelist/docs/v0.1/#/zh-cn/

However, since the original author used the rubbish Bootcdn (international inaccessibility or access exceptions often occur), I recommend you to use my modified version based on v0.1

That is https://github.com/BlueSkyXN/Sharelist-Modify uses cdnjs (global cloudflare) as CDN source.

Of course, the original author has provided a method for automatic script installation, but I personally recommend using manual installation.

Manual installation

First download the source package, or use Git to pull the repository to your local

QQ%E5%9B%BE%E7%89%8720220813173750.png

Then cd this directory, you need to install npm&pm2

 npm install npm install pm2 -g pm2 start app.js --name sharelist --env prod pm2 save

Then if you want to run directly, then just

 pm2 startup

QQ%E5%9B%BE%E7%89%8720220813174027.png

Please note that this id is 0, if you want to use pm2 stop, you need the id

QQ%E5%9B%BE%E7%89%8720220813174230.png

However, for the convenience of management, it is more recommended to use the Pagoda PM2 manager.

QQ%E5%9B%BE%E7%89%8720220813174251.png

The default recognition is like this, if it is not loaded correctly, you can also manually fill in as shown below

QQ%E5%9B%BE%E7%89%8720220813173558.png

Then access this default listening port of your server to start the program configuration installation guide.

Access and Security

Please note that this method of operation will not open the fhq for public network access, only the internal network access, you need to manually open the firewall. If you use docker, the firewall of the mapped port is usually automatically opened by default, and it is difficult to solve this problem.

Of course, you can also modify the port in the configuration file.

In principle, I suggest not to open public network access to this intranet port, and only use your own common IP as the firewall IP whitelist.

At the same time, you can also consider using the domain name as an HTTP reverse proxy.

Backup and restore

The configuration can be exported in the upper left corner of the management console, but no import entry is provided

In fact, the configuration file is stored in this location locally, copy the content of the file and overwrite it directly

QQ%E5%9B%BE%E7%89%8720220813174837.png

This article is reprinted from: https://www.blueskyxn.com/202208/6387.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment