# Linstor GUI on Proxmox

**URL:** <https://forums.linbit.com/t/linstor-gui-on-proxmox/306>\
**Category:** Proxmox VE\
**Created:** [September 12, 2024, 2:26pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306 "2024-09-12T14:26:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![keanu](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@keanu](https://forums.linbit.com/u/keanu)\
**Post date:** [September 12, 2024, 2:26pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306/1 "2024-09-12T14:26:03Z")

</div>

Hi there,

Was just wondering if it’s possible to use the Linstor GUI ontop of a Proxmox install?

Thanks,  
Kind regards,

---

<div class="post-metadata">

**Author:** ![RumenBlack](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RumenBlack](https://forums.linbit.com/u/RumenBlack)\
**Post date:** [September 12, 2024, 4:54pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306/2 "2024-09-12T16:54:56Z")

</div>

It doesn’t look like they’ve added it to the public repo for proxmox 8 yet, and their instructions for installing it on the github are pretty lacking.

No luck so far with either the npm or the ppa method on ubuntu 22.04

---

<div class="post-metadata">

**Author:** ![RumenBlack](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RumenBlack](https://forums.linbit.com/u/RumenBlack)\
**Post date:** [September 12, 2024, 5:47pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306/3 "2024-09-12T17:47:58Z")

</div>

Oh I got it working using npm.

My quick and dirty steps;  
Install ubuntu 22.04 LXC using the proxmox helper scripts (just for ease of use any ubuntu 22.04 will be fine)

Install npm and nodejs using the nodesource PPAS as the ones included in apt for Ubuntu 22.04 are too old to work with this

```auto
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt update && sudo apt install -y nodejs

#clone the repo and install it
git clone https://github.com/LINBIT/linstor-gui
cd linstor-gui
npm install

#Set environment variables
nano .env

```

Add the following values to the .env

> #The listening address for the linstore-gui, change to IP address of the the ubuntu machine  
> HOST=127.0.0.1  
> #desired listening port for gui  
> PORT=8080  
> VERSION=DEV  
> #point the gui towards the linstor controller  
> LINSTOR\_API\_HOST=[http://192.168.123.214:3370](http://192.168.123.214:3370)  
> #This is optional but if you want to use the linstore gateway features likes nfs isci etc then configure the linstor gateway ip address here, uncomment to use  
> #GATEWAY\_API\_HOST=[http://192.168.123.214:8080](http://192.168.123.214:8080)  
> #Optional as well, configure only if using vsan otherwise uncomment it out to use  
> #VSAN\_API\_HOST=[https://192.168.123.214](https://192.168.123.214)

```auto
#run the gui with the following command, still inside the github repo that was cloned
npm run start:dev

```

You should still be able to visit the gui now and see your drbd cluster info. Linstor gateway is not enabled by default even if set in the envs just got to the settings to flip the slider on for the gateway feature.

If you want this to start on boot you could create a systemd service to start the program but I’m just testing for now so I’m not going to worry about that for now.

---

<div class="post-metadata">

**Author:** ![RumenBlack](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RumenBlack](https://forums.linbit.com/u/RumenBlack)\
**Post date:** [September 12, 2024, 6:14pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306/4 "2024-09-12T18:14:17Z")

</div>

I’m curious to see if I can get it running as a docker. I’ll report back if I’m successful.

EDIT: I was able to get it done check it out here!

> **[GitHub - RumenBlack84/linstor-gui-docker: This is a docker designed to run the npm version...](https://github.com/RumenBlack84/linstor-gui-docker/)**
>
> This is a docker designed to run the npm version of the recently open sourced linstor-gui

The GUI deploys in a standalone fashion and connects to your pre-existing cluster which is configured in the docker environment variables.

Forum post about it here;

> [@Docker for Linstor-GUI](https://forums.linbit.com/t/docker-for-linstor-gui/311):
>
> I was not able to reply to another post due to being a new user, however I feel like this deserves it’s own post anyway. I’ve gone ahead and created a docker image for the linstor-gui. It deploys a standalone instance of linstor-gui which can be used to control and manage your pre-existing cluster. I couldn’t figure out where the configuration files for the gui were kept so the bind mount is basically a clone of the entire linstor-gui GitHub at the moment haha. If anyone knows where that’s …

---

<div class="post-metadata">

**Author:** ![keanu](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@keanu](https://forums.linbit.com/u/keanu)\
**Post date:** [September 13, 2024, 5:49pm UTC](https://forums.linbit.com/t/linstor-gui-on-proxmox/306/5 "2024-09-13T17:49:55Z")

</div>

I’m blown away. Nothing else to say but - You absolute legend. Going to give this a go and see if I can stand something up! Thanks again!!
