Unix

An easy way to start a HTTP server serving static content/files

I was looking for a oneliner to start a HTTP server and serve static content from a directory. Python's SimpleHTTPServer is the perfect match for the job. Smiling Python is already installed by most linux distributions by default and it's easily available for a lot of other platforms as well. Starting your own little HTTP server was never easier than this:
python -m SimpleHTTPServer 8080
And to access it, open the http://localhost:8080/ URL.

Monit - monitor processes/services/files/directories/etc. and react if necessary (for Linux/Unix)

"Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations."

FreeNAS

FreeNAS sounds like the perfect tool for a home storage+download server. Smiling Since it's based on m0n0wall (which is written in PHP) I suppose I could install TorrentFlux into it. So here's the deal: get a low-power x86 system (eg. a thin client or some embedded, all-in-one motherboard in a small case) and plug some external HDD(s) into it, install FreeNAS and TorrentFlux and you've got a decent file and torrent server for home. Smiling

Syndicate content