D
D
dronab2016-06-12 08:17:53
Debian
dronab, 2016-06-12 08:17:53

Debian control web GUI. On what simple can you write?

Greetings. Suppose there is Debian and a bare console. On it the NFS server sharing folders. You need to write a simple WebGUI for managing NFS available at the address like 192.168.0.15:4444 - enable, disable the share, accounts, etc. etc. Well, the ability to manage Debian itself - reboot, turn off. Can you tell me what is the easiest option? As I understand it, the WebGUI site edits the configuration files directly on the disk. How to ensure this? I want a simple and reliable solution.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cijiw, 2016-06-12
@cijiw

Anything you know best.
Technically, it's just a program that sits on HTTP and can run other programs (console commands).
It can be done in PHP, NodeJS, Scala, Go, Java, Perl, Python, C, C++, Haskell, Pascal, Erlang, Rust, Ruby, .....
I would do it in Go. Everything is there out of the box. And the output is one binary. And you don't need anything other than this binary to run.
But that's because Go is my primary language.
If you write in PHP, then you will do just as well in PHP. True, for the functioning of this business, you will need to install PHP on the system and configure the web service

S
svd71, 2016-06-12
@svd71

I did similar things in PHP using sudoer. On an external server, port forwarding via iptables for a home server connected via VPN.
On the home server, managing the media library (start/stop several different minidlna profiles, manage home automation, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question