Background: I’m managing a VPS (Ubuntu 16.04) for an esports group and we’re operating a bunch of recreation server and a voice server on there. Because the VPS has restricted efficiency I’ve created a “webinterface” utilizing PHP to start out, cease and handle the sport servers. My (not so good) answer is that I’ve the www-data consumer executing instructions as sudo with all of the instructions he wants explicitly specified within the sudoers file. As I feel this won’t be the very best and most safe answer I used to be desirous about different methods to create this webinterface.
Query: What’s the finest know-how to create a webinterface?
- Consumer have to login/register and so forth (primary consumer administration as effectively)
- Consumer can press a button which executes a command on the VPS (e.g. beginning a display screen for a recreation server)
- Nice could be to “embrace” the display screen within the webinterface, I’ve seen this on some skilled internet hosting suppliers, so its doable, I simply do not understand how sophisticated it’s
- I’m additionally planning to incorporate a teamspeak3 bot which may assign teams/perms to customers, afaik there’s a Node.js library for teamspeak3 question
I used to be additionally desirous about utilizing some pre-built webinterfaces like https://easy-wi.com/ however as I like programming I assumed that I’d give it a strive myself 🙂
I’m pleased about any options, suggestions, replies.
Thanks and have an awesome weekend,