Well, I've built myself a snazzy file server, but I'd like to do some basic stuff via a custom web interface.
I know absolutely nothing about web programming. I tend to use projects to launch me in new directions, forcing me to learn things.
My problem here is that I have no idea how to even begin. Here's a list of things I'd like to be able to do:
- Authenticate against /etc/passwd for predefined users
- Edit configuration files with an online text editor (just a text box I can use to make quick changes)
- Start/Restart/Stop daemons listed in /etc/rc.d
- Have a pie graph of disk usage, and perhaps more detailed stats later on
- Have a table of HDD statistics (temperature via hddtemp, any failed tests via ide-smart)
- Copy files to an external device (/dev/sda1)
- Mount/unmount this external device
- Delete files on the external device
- Able to show output of a "locate blah" command, taking input from the interface
I know this is a pretty exhaustive list, but none of these on it's own should be particularly hard to implement. I'm not too worried about pam auth, as I could just store an MD5 sum. Cleartext PW is fine, it'll be on my local network.
My question:
What's the best way to approach this? i.e. should it run via Apache, or should it run a custom server (I'm proficient in Java...), if via apache - should it be PHP, a cgi-bin prog (C or java), etc.
I literally have 0 experience in this kind of thing, so I'm hoping for a little bit of initial guidance. I'm sure I'll come up with more specific questions later.