[gentoo-user] minimal web server

May 04th, 2012 - 10:50 pm ET by James | Report spam
Hello,

Backing up routers, I have an option I can
issue from the a router:

#copy running-config [http | https] <url>

so if my laptop is running some minimal web
server (suggestions are most welcome)

and I have local IP connectivity (say
both on a 10.10.10.x network,

The I could just issue this command?

copy running-config http://10.10.10.<laptop web server IP>

It should work and it's simple. What would be
some recommendations as to which minimal web server
I could run on a laptop (simple and small) to
just backup various router configs to?



James
email Follow the discussionReplies 12 repliesReplies Make a reply

Replies

#1 Stroller
May 05th, 2012 - 12:40 am ET | Report spam
On 5 May 2012, at 03:39, James wrote:

#copy running-config [http | https] <url>


The I could just issue this command?



The question mark terminating this statement seems dubious.

This appears to be a feature of Cisco routers.

http://stack.nil.com/C1256F0A004297...webupload/

copy running-config http://10.10.10.<laptop web server IP>

It should work and it's simple. What would be
some recommendations as to which minimal web server
I could run on a laptop (simple and small) to
just backup various router configs to?



www-servers/lighttpd is famously small and on my system all its dependencies are already installed. It has a USE=minimal flag you might also try, for fewer calories.

As a matter of practice I would not leave any webserver running on my laptop, or even installed, for longer than necessary. I would prefer to have a home or office webserver to which I could transfer these files and from which the router can obtain them. Rationally, I have no idea why I imagine one site to be more secure than the other.

Consider this installation-free alternative:
http://www.google.co.uk/searchq=one...web+server

Stroller.

Similar topics