Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

【1kdd】reinstall your vps to headless pve and connect it with a local frontend(or remote frontend)

minlearnminlearn Member
edited September 2024 in Tutorials

as is known to all that pve is a monolithic distributed app, but it doesn't necessarily mean pve is born in a monolith, in fact it was written as a perl backend plus a js/ext front separatedly, we can decouple the fronts and backends of pve with some mods.

image if we can even install multiple headless pves and connect them using a single collaborated frontend, it will be so cool!

to be a demo and prototype, let us just play the 1kdd project:

backend setup

firstly, we will need install a pve with mods bypassing the CORS rules

wget -qO- inst.sh|bash -s - -t debianmu

after installation done
goto https://yourpveserverip:8006, when browser hints unsecured contents, click to grant access to the page, we just meant to get a cert to https://domain here.
no more. no need login in this page.

the installed pve is 100% front/back decoupled but not 100% headless, just because i want to use it in some usecases similarly as original pve, though it is easily to get it totally headless, it is the same story:)

frontend setup

next, we will need prepare a local "pveman", this is the pvemanager with all asserts bounded to micmic a pve "client",in which we added some enhancements to support the "front server/ip login" logics

https://github.com/minlearn/mujj/archive/refs/heads/master.zip

we need the unzipped mujj/dist/pveman dir, and server it using a local httpserver
any way, you can use https://mujj.de/pveman as well

test the connection

all done!

connect your local client or remote https://mujj.de/pveman to your pve instance, input the https://ip:8006 in the server blank, wait for realm being filled, then click login button to connect

======

give me a star at:
https://github.com/minlearn/1kdd

res:
https://github.com/minlearn/mujj/archive/refs/heads/master.zip

video:

Sign In or Register to comment.