Integrate LAMP + web browser?
-
I have a use case where I want a linux server together with a web browser in the same machine.
It's a not a problem just installing everything on one machine but for management I'm thinking VMs - one for the browser environment and one for the server. There might also be a load balancer VM.
For the VM to be able to use the graphics on the host I assume I have to do PCI pass-through. Will that work with just one graphics adapter?
I also need keyboard & mouse so those USB devices have to be passed through to the browser VM as well.
Has anyone done something like this? Suggestions or comments?
-
Seems easier to use the host as a browser and for graphics, then make the VMs the guiless servers. I'd run Fedora server with a graphical environment of your choice in that scenario.
-
@Pete-S What super special requirement is making the web browser live on the same machine as the server stack?
You should have no issue running a web browser from a machine without a "real" graphics adapter. I have a Fedora desktop running as a VM on my server that only has a 20 year old graphics card.
I've run graphics programs from computers that had no graphics adapter, where the main interface was a serial terminal. Ford's IDEAS and Pro-E 3d design software too, so I'm not talking the low end or easy stuff. Doesn't mean I recommend doing that tho!
-
@travisdh1 said in Integrate LAMP + web browser?:
@Pete-S What super special requirement is making the web browser live on the same machine as the server stack?
It's a something like a kiosk. The browser will connect to a remote server but if there is no connection, it will failover to it's local server. The local server contains a subset of the remote servers code base and it's data and is replicated on a regular basis.
-
@Pete-S said in Integrate LAMP + web browser?:
@travisdh1 said in Integrate LAMP + web browser?:
@Pete-S What super special requirement is making the web browser live on the same machine as the server stack?
It's a something like a kiosk. The browser will connect to a remote server but if there is no connection, it will failover to it's local server. The local server contains a subset of the remote servers code base and it's data and is replicated on a regular basis.
For a kiosk, I think that I agree with Ob that using the base environment for the browser, and just run the server in a container.
-
If you want to do web browser kiosk.
https://porteus-kiosk.org/