Original link: https://www.blueskyxn.com/202208/6387.html
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
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
Please note that this id is 0, if you want to use pm2 stop, you need the id
However, for the convenience of management, it is more recommended to use the Pagoda PM2 manager.
The default recognition is like this, if it is not loaded correctly, you can also manually fill in as shown below
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
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.