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.

【inst.sh panel】How to reinstall vps to Debian yet with kasmvnc/chrome/x11 orchestrated(moreapps too)

minlearnminlearn Member
edited 7:15AM in Tutorials

You can now use the DD script to reinstall your OS and orchestrate your post-reinstall applications.

as we all know, Docker acts as a container layer between the OS and applications and delivers certain convenience. However, for resource-constrained, purpose-built VPS instances — such as a 1C/1G VPS intended to host sth just as a "node,droplet" ---- it turn out to be somewhat bloated — On the one hand, Docker consumes extra resources. On the other hand, Its network port mapping and filesystem abstraction also introduce unnecessary complexity.

In this scenario, a possible better approach is to reinstall the OS into a clean, pre-configured state and deploy applications in simple one single pass.

inst.sh supports this orchestration pattern via -t debian,app1,app2. Note that these apps are not simple apt-get install package targets. They are custom scripts that run automatically after inst.sh finishes OS installation and boots into the new system.

The implementation is built on the earlier `cmdstr` mechanism with extended capabilities. (--the difference is that it is run on the openvt 1, since the global system initial phase and on the visualized terminal ,but not on the background--),Conceptually, all `cmdstr` logic has been refactored into standalone scripts, covering use cases ranging from initial OS provisioning to post-deployment runtime tasks.

inst.sh also supports the syntax -t app1,app2 directly on an existing Debian system. This mode will not trigger OS reinstallation. It first provisions an embedded PVE LXC layer — this is devdesk, which additionally supports -t app1:N, where N denotes the number of instances to deploy for app1 — then executes the underlying application scripts. This works as an alternative to Docker.

In short, inst.sh supports above two distinct application orchestration modes.

how

The example below uses the single kasmvnc app. You may fork inst/instapps to extend your own script library or assemble more sophisticated application stacks.

Run either command below on Debian:

wget -qO- inst.sh|bash -s - -t debian,kasmvnc

WARNING: This performs a DD reinstall. The system will be wiped, and the KasmVNC setup script runs inside the newly deployed Debian environment.

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

WARNING: This variant preserves your existing OS. It requires Debian 11. It spins up an embedded PVE layer and creates a dedicated KasmVNC container.

Once ready, access the VNC at https://<ip>:8000. Remember to update your VNC password(initial password: 123456,update via running /root/changevncpw.sh) and root password (initial password: inst.sh,update via running passwd root).


Repositories:

https://github.com/minlearn/inst
https://github.com/minlearn/instapps

See the script usage above. A web panel is also available for easier operation:

https://inst.sh/panel

Sign In or Register to comment.