banner
moeyy

moeyy

一条有远大理想的咸鱼。
github
mastodon
email

Appnode One-Click Management Software

Preface#

Because I used to install and use Appnode on my servers, I quite like its cluster management and synchronization configuration file features. However, if I need to synchronize websites, it can be quite troublesome, often taking half an hour to manually synchronize. So I need such software. It is written in Flutter and operates through the Appnode API.

The "Control Center" refers to the main control, and the "Node" refers to the controlled end.#

Main Text#

First, open your Appnode, you need the control center, enable the API service, and set the port and secret key, as shown in the figure.

image

Then open the software, enter your IP port and your secret key, and click Save.

image

It will list all the servers on this control center.

image

I usually deploy static sites on the control center and then use synchronization commands to proceed.

image

You need to deploy your website or reverse proxy on the control center, and then you can synchronize as shown in the figure. You can select all servers and force synchronization. Forcing synchronization to the node will overwrite the existing content on your node and delete any sites on the node that are not included in your selections on the control center; if not selected, it will add new synchronization.

If you want to build your own CDN but have 30 sites, you can enable a VIP on the control center, and the nodes do not need it; synchronization can bypass the website limitations of the nodes.

You can also execute SSH commands in bulk.

For clearing CDN cache, you can directly use the bulk SSH command to remove the cache folder of that site.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.