From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] minimal web server
Date: Sat, 5 May 2012 12:22:37 +0100 [thread overview]
Message-ID: <201205051222.54899.michaelkintzios@gmail.com> (raw)
In-Reply-To: <FA170F18-AD19-4433-8F25-476A1199FC5B@stellar.eclipse.co.uk>
[-- Attachment #1: Type: Text/Plain, Size: 1499 bytes --]
On Saturday 05 May 2012 05:32:54 Stroller wrote:
> 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/C1256F0A00429755/html/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+line+python+web+server
Other alternatives are boa, thttpd, nginx.
You can also run netcat as 'nc -l -p 80 > backup_20120418.cfg' and then run
the copy command from the router.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-05-05 11:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 2:39 [gentoo-user] minimal web server James
2012-05-05 4:32 ` Stroller
2012-05-05 11:22 ` Mick [this message]
2012-05-08 0:09 ` Walter Dnes
2012-05-05 11:04 ` Alan McKinnon
2012-05-05 16:29 ` [gentoo-user] " James
2012-05-05 23:09 ` Alan McKinnon
2012-05-07 12:03 ` James
2012-05-05 15:18 ` Grant Edwards
2012-05-05 15:30 ` [gentoo-user] " Eliezer Croitoru
2012-05-05 22:00 ` Keith Dart
2012-05-07 11:57 ` [gentoo-user] " James
2012-05-08 9:56 ` [gentoo-user] " napalm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201205051222.54899.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox