New answers tagged webserver
For distro: there aren't nearly as many differences in server distros as there are in desktop distros (no need for new drivers or eyecandy). It's probably best if you keep in the same family as what you're familiar with (i.e. if you're using to running Ubuntu, it's okay to run Debian on the server, but not CentOS; if you're using to running Fedora, run ...
The size of the file you are getting through the HTTP server is exactly the remainer of 5345834658 mod 4294967296. That means the web server overflowed a 32-bit integer and is using the remainer as the file size. You need to upgrade to a web server that supports large files (>4GiB).
I don't know how to do this with the shell. But since the script is already trapping the interrupt signal, you might as well leverage that and add an extra command there as you can execute commands with that interpreter, like so: #!/usr/bin/env ruby require 'webrick' system *%W(sudo iptables -I INPUT -p tcp --dport 3000 -j ACCEPT) server = ...
The alias directive is important here wiki.nginx.org - alias
Top 50 recent answers are included