Re: [vox-tech] Laptop Computer setup for IF

2002-06-27 Thread Rusty Minden

I have set up 
/   6GB
/var700MB
SWAP512MB
/home   14GB

I have XFree86 working and xcdroast working. I must say it is looking good. I 
have to work on sound and printing next. Then I will set up apache and samba. 
This has been kind of fun.

Rusty

PS Thanks  for the help so far so good.


On Thursday 27 June 2002 03:47 pm, you wrote:
> On Wed, Jun 26, 2002 at 09:48:45PM -0700, Henry House wrote:
> > On Wed, Jun 26, 2002 at 06:34:09PM -0700, Rusty Minden wrote:
> > > I have set aside about 17GB for the /home directory.
> > >
> > > 1 ftp directory in the /home or in a different directory
>
> ultra short version for now:
>
> - http is better for this task than ftp.
>   don't bother with setting up ftp server.
> - I recommend making /home as big as possible.  I use /home/debian/mirror
>   for mirror, and have apache export that as /debian.
>
> > > 2 How much space will I need.
>
>   Current woody i386 only complete mirror (counting non-US) is just
> under 5 Gigs.
>
> > > 3 I am not sure how to set this up. I was looking at jigdo-file,
> > > but I am not sure if that is the correct direction to go.
> >
> > Perhaps Mike can explain to you how to create the mirror.
>
>   I highly recommend my variant of the debmirror script (which
> the package maintainer has not bothered to comment on), I will
> send it along later.
>   I have not taught it to mirror all the files required to
> act as a install host... in particular the base and boot floppies
> need to be downloaded manually.
>
> Later,
>   Mike
>
> ps:
>   I conveniently forgot how much of an absolute PITA upgrading Redhat is...
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Laptop Computer setup for IF

2002-06-27 Thread Peter Jay Salzman

rusty,


begin [EMAIL PROTECTED] <[EMAIL PROTECTED]> 

> I am not sure how to set this up. I was looking at jigdo-file, 
> but I am not sure if that is the correct direction to go.

jigdo's purpose in life is to create iso images.

this is what you want if you want to burn debian cd's, but not what you
want to use to mirror woody.

if you're interested, i have a wonderful jigdo-lite tutorial on
www.dirac.org/linux/debian (the author of jigdo complemented me on it).
:)

pete
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Laptop Computer setup for IF

2002-06-27 Thread msimons

On Wed, Jun 26, 2002 at 09:48:45PM -0700, Henry House wrote:
> On Wed, Jun 26, 2002 at 06:34:09PM -0700, Rusty Minden wrote:
> > I have set aside about 17GB for the /home directory. 
> > 
> > 1 ftp directory in the /home or in a different directory

ultra short version for now:

- http is better for this task than ftp.  
  don't bother with setting up ftp server.
- I recommend making /home as big as possible.  I use /home/debian/mirror
  for mirror, and have apache export that as /debian.

> > 2   How much space will I need.

  Current woody i386 only complete mirror (counting non-US) is just
under 5 Gigs.

> > 3   I am not sure how to set this up. I was looking at jigdo-file, 
> > but I am not sure if that is the correct direction to go.
> 
> Perhaps Mike can explain to you how to create the mirror. 

  I highly recommend my variant of the debmirror script (which
the package maintainer has not bothered to comment on), I will
send it along later.
  I have not taught it to mirror all the files required to 
act as a install host... in particular the base and boot floppies
need to be downloaded manually.

Later,
  Mike

ps:
  I conveniently forgot how much of an absolute PITA upgrading Redhat is...
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Henry House

On Thu, Jun 27, 2002 at 01:42:14PM -0700, Ryan wrote:
> On Thursday 27 June 2002 01:33 pm, Gabriel Rosa wrote:
> > What you want is 'ulimit'.
> >
> > try running 'ulimit -a' or man ulimit?
> 
> I don't seem to have a manpage on it, but from what I can tell it would need 
> to be in the user's .profile

It it a bash builtin. See bash(1).

-- 
Henry House
The attached file is a digital signature. See 
for information.  My OpenPGP key: .



msg03008/pgp0.pgp
Description: PGP signature


Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Ryan

On Thursday 27 June 2002 01:39 pm, Matt Roper wrote:
> On systems using PAM, I think /etc/security/limits.conf might be what
> you're looking for.

Ok thanks, yeah, that's exactly what I wanted.

-- 
If Microsoft built cars, the Linux community would make a car that was powered
by the sun, was reliable, five times as fast, twice as easy to drive, and
available freely - but only 5 percent of the people would use it.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Ryan

On Thursday 27 June 2002 01:33 pm, Gabriel Rosa wrote:
> What you want is 'ulimit'.
>
> try running 'ulimit -a' or man ulimit?

I don't seem to have a manpage on it, but from what I can tell it would need 
to be in the user's .profile

> On Thu, 27 Jun 2002, Ryan wrote:
> > I want to limit some of the accounts on my system to only be able to run
> > X number of processes, and reserve a percentage of CPU cycles for root if
> > possible, does anyone know how to do this? I tried searching google, but
> > couldn't find anything, probaply cause I wasn't really sure what to
> > search for.

Oddly This didn't show up in my inbox.

-- 
NT (as in Windows NT) is short for "Needs Testing".
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Matt Roper

On systems using PAM, I think /etc/security/limits.conf might be what
you're looking for.


Matt

On Thu, Jun 27, 2002 at 01:30:22PM -0700, Ryan wrote:
> I want to limit some of the accounts on my system to only be able to run X 
> number of processes, and reserve a percentage of CPU cycles for root if 
> possible, does anyone know how to do this? I tried searching google, but 
> couldn't find anything, probaply cause I wasn't really sure what to search 
> for.
> 
> -- 
> The gates in my computer are AND, OR and NOT; they are not Bill.
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 

*
* Matt Roper <[EMAIL PROTECTED]>*
* http://www.mattrope.com   *
* PGP Key: http://www.mattrope.com/mattrope.asc *
*
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Gabriel Rosa


Err, ulimit is part of bash, run 'man bash' and search for ulimit.

-- 
ulimit [-SHacdflmnpstuv [limit]]
   Provides control over the  resources  available  to
   the  shell  and to processes started by it, on sys­
   tems that  allow  such  control.   The  -H  and  -S
   options  specify that the hard or soft limit is set
   for the given resource.  A  hard  limit  cannot  be
   increased  once  it  is  set;  a  soft limit may be
   increased up to the value of the  hard  limit.   If
   neither  -H  nor -S is specified, both the soft and
   hard limits are set.  The value of limit can  be  a
   number  in  the  unit specified for the resource or
   one of the special values hard, soft, or unlimited,
   which stand for the current hard limit, the current
   soft limit, and no limit, respectively.   If  limit
   is  omitted, the current value of the soft limit of
   the resource is printed, unless the  -H  option  is
   given.   When  more than one resource is specified,
   the limit name and  unit  are  printed  before  the
   value.  Other options are interpreted as follows:
   -a All current limits are reported
   -c The maximum size of core files created
   -d The maximum size of a process's data segment
   -f The maximum size of  files  created  by  the
  shell
   -l The  maximum  size  that  may be locked into
  memory
   -m The maximum resident set size
   -n The maximum number of open file  descriptors
  (most  systems do not allow this value to be
  set)
   -p The pipe size in 512-byte blocks  (this  may
  not be set)
   -s The maximum stack size
   -t The maximum amount of cpu time in seconds
   -u The maximum number of processes available to
  a single user
   -v The maximum amount of virtual memory  avail­
  able to the shell

   If limit is given, it is the new value of the spec­
   ified resource (the -a option is display only).  If
   no option is given, then -f is assumed.  Values are
   in 1024-byte increments, except for -t, which is in
   seconds,  -p, which is in units of 512-byte blocks,
   and -n and -u,  which  are  unscaled  values.   The
   return  status  is  0  unless  an invalid option or
   argument is supplied, or an error occurs while set­
   ting a new limit.

On Thu, 27 Jun 2002, Gabriel Rosa wrote:

>
> What you want is 'ulimit'.
>
> try running 'ulimit -a' or man ulimit?
>
>

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Limiting user processes?

2002-06-27 Thread Gabriel Rosa


What you want is 'ulimit'.

try running 'ulimit -a' or man ulimit?


-Gabe

On Thu, 27 Jun 2002, Ryan wrote:

> I want to limit some of the accounts on my system to only be able to run X
> number of processes, and reserve a percentage of CPU cycles for root if
> possible, does anyone know how to do this? I tried searching google, but
> couldn't find anything, probaply cause I wasn't really sure what to search
> for.
>
>


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] Limiting user processes?

2002-06-27 Thread Ryan

I want to limit some of the accounts on my system to only be able to run X 
number of processes, and reserve a percentage of CPU cycles for root if 
possible, does anyone know how to do this? I tried searching google, but 
couldn't find anything, probaply cause I wasn't really sure what to search 
for.

-- 
The gates in my computer are AND, OR and NOT; they are not Bill.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 10:17:38AM -0700, Rod Roark wrote:
> Well, I just tried these two URLs on IE 5.0 after booting up
> Win98 on my wife's (dual boot) machine.  It seems to display
> your stuff OK, regardless of the "friendly messages" setting.

Yes, same here for us, on two different boxen.

It _seems_ that there's already something magical about Apache's config.
on LUGOD.org, _OR_ that IE actually looks at the length/complexity/keywords
within the 404 response HTML to "decide" whether it's already "friendly enough"

Compare:

  http://www.lugod.org/tototo

with the setting on and off   (both cases, you see my nice PHP 404 error)

to:

  http://www.newbreedsoftware.com/tototo

with the setting on and off   (on, you see the generic IE "friendly" 404,
   off, you see my simply 404.shtml page)


Whatever.   This is why I don't like thinking about IE. :)


-bill!
(discovered that a server-erroring VBScript in IIS still sends a 200 "OK"
response, since I guess they assume all VB coders are too stewpid to disable
the 'friendly error' setting.   Seriously...  I read this at microsoft.com
just now after doing a Google search ;) )

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Rod Roark

Well, I just tried these two URLs on IE 5.0 after booting up
Win98 on my wife's (dual boot) machine.  It seems to display
your stuff OK, regardless of the "friendly messages" setting.

-- Rod
   http://www.sunsetsystems.com/

On Thursday 27 June 2002 09:29 am, nbs wrote:
> On Thu, Jun 27, 2002 at 07:22:28AM -0700, Rod Roark wrote:
> > >From Apache's default httpd.conf:
> >
> > # Customizable error response (Apache style)
> > #  these come in three flavors
> > #
> > #1) plain text
> > #ErrorDocument 500 "The server made a boo boo.
> > #  n.b.  the (") marks it as text, it does not get output
> > #
> > #2) local redirects
> > #ErrorDocument 404 /missing.html
> > #  to redirect to local URL /missing.html
> > #ErrorDocument 404 /cgi-bin/missing_handler.pl
> > #  N.B.: You can redirect to a script or a document using
> > server-side-includes. #
> > #3) external redirects
> > #ErrorDocument 402 http://some.other_server.com/subscription_info.html
> > #  N.B.: Many of the environment variables associated with the original
> > #  request will *not* be available to such a script.
> >
> > Looks like #2 is what you are mostly wanting.
>
> Maybe I'm missing something, but I don't think that will do it.
> In fact, that's what I already have.  Using a non-IE browser, go to,
> for example:
>
>   http://www.lugod.org/projects/installfests.shtml
>
> and, perhaps, compare it to:
>
>   http://www.lugod.org/FooBar/
>
>
> So I've already got 404 errors doing magical PHP stuff.  My issue is,
> they are (rightly) being transmitted as "404" responses.
>
> IE notices this, ignores any of the actual HTML content provided by
> the webserver (e.g., in the first page up there, the note saying
> "You're probably looking for the installfest page: _link_"), and just
> plops its crap onto the screen.
>
>
> I want Apache to say "Ok, this is a 404... BUT... the requester is using
> Internet Explorer, so I'll still show them the 404 error page Bill so
> tirelessly created, BUT I'll just say it's an "okeydokey" response, not
> a 404."
>
>
> I think someone's suggestion to rewrite headers using PHP might do the
> trick for me.  If so, I'll post my solution.
>
>
> Now to track down a Windows box with IE to test with ;)
>
> -bill!

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 09:59:54AM -0700, Jeff Newmiller wrote:
> 
> > Now to track down a Windows box with IE to test with ;)
> 
> First get the response code straightened out:
> 

> HTTP/1.0 404 Not Found  <-* this is the response code 

> ... then worry about finding IE to test with.


Well _duh_.  I haven't _done_ anything yet. :^)  :^P

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Jeff Newmiller

On Thu, 27 Jun 2002, nbs wrote:

[...]

> So I've already got 404 errors doing magical PHP stuff.  My issue is,
> they are (rightly) being transmitted as "404" responses.
> 
> IE notices this, ignores any of the actual HTML content provided by
> the webserver (e.g., in the first page up there, the note saying
> "You're probably looking for the installfest page: _link_"), and just
> plops its crap onto the screen.

[...]

> Now to track down a Windows box with IE to test with ;)

First get the response code straightened out:

$ telnet www.lugod.org 80
Trying 168.150.251.11...
Connected to dcn251-11.dcn.davis.ca.us.
Escape character is '^]'.
GET /nonexistent HTTP/1.0

HTTP/1.0 404 Not Found  <-* this is the response code 
Date: Thu, 27 Jun 2002 08:06:35 GMT
Server: Apache/1.3.20 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.4 OpenSSL/0.9.6b
DAV/1.0.2 PHP/4.1.1 mod_perl/1.24_01
Content-Type: text/html; charset=iso-8859-1
X-Cache: MISS from bala.omsoft.com
Connection: close



404 Not Found

Not Found
The requested URL /nonexistent was not found on this server.

Apache/1.3.20 Server at www.livepenguin.com Port 80

Connection closed by foreign host.
$ 

... then worry about finding IE to test with.

---
Jeff NewmillerThe .   .  Go Live...
DCN:<[EMAIL PROTECTED]>Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 07:22:28AM -0700, Rod Roark wrote:
> >From Apache's default httpd.conf:
> 
> # Customizable error response (Apache style)
> #  these come in three flavors
> #
> #1) plain text
> #ErrorDocument 500 "The server made a boo boo.
> #  n.b.  the (") marks it as text, it does not get output
> #
> #2) local redirects
> #ErrorDocument 404 /missing.html
> #  to redirect to local URL /missing.html
> #ErrorDocument 404 /cgi-bin/missing_handler.pl
> #  N.B.: You can redirect to a script or a document using server-side-includes.
> #
> #3) external redirects
> #ErrorDocument 402 http://some.other_server.com/subscription_info.html
> #  N.B.: Many of the environment variables associated with the original
> #  request will *not* be available to such a script.
> 
> Looks like #2 is what you are mostly wanting.

Maybe I'm missing something, but I don't think that will do it.
In fact, that's what I already have.  Using a non-IE browser, go to,
for example:

  http://www.lugod.org/projects/installfests.shtml

and, perhaps, compare it to:

  http://www.lugod.org/FooBar/


So I've already got 404 errors doing magical PHP stuff.  My issue is,
they are (rightly) being transmitted as "404" responses.

IE notices this, ignores any of the actual HTML content provided by
the webserver (e.g., in the first page up there, the note saying
"You're probably looking for the installfest page: _link_"), and just
plops its crap onto the screen.


I want Apache to say "Ok, this is a 404... BUT... the requester is using
Internet Explorer, so I'll still show them the 404 error page Bill so
tirelessly created, BUT I'll just say it's an "okeydokey" response, not
a 404."


I think someone's suggestion to rewrite headers using PHP might do the
trick for me.  If so, I'll post my solution.


Now to track down a Windows box with IE to test with ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Rod Roark

From Apache's default httpd.conf:

# Customizable error response (Apache style)
#  these come in three flavors
#
#1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the (") marks it as text, it does not get output
#
#2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.
#
#3) external redirects
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
#  N.B.: Many of the environment variables associated with the original
#  request will *not* be available to such a script.

Looks like #2 is what you are mostly wanting.

-- Rod
   http://www.sunsetsystems.com/

On Thursday 27 June 2002 12:04 am, nbs wrote:
> On Wed, Jun 26, 2002 at 11:49:23PM -0700, Rod Roark wrote:
> > I think you can fix this on the browser side by going
> > into IE's settings and unchecking "show friendly HTTP
> > error messages"... or something like that.
> >
> > That's right, MS thinks that showing what caused an error
> > is "unfriendly".
>
> I can't exactly do this from my webserver. :)
> (That's my point... I'm trying to circumvent Microsoft's idiocy)
>
> -bill!

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Jeff Newmiller

On Wed, 26 Jun 2002, nbs wrote:

> 
> I'm curious, is there any way to make an Apache webserver magically
> notice when an IE browser is about to get an error 404 and not actually
> send a "404" error code back?  (e.g., show whatever error page it would
> show, but respond as if it was an "ok", versus a "file not found")
> 
> The point is to circumvent the stupid built-in IE error response pages
> which are, in turn, circumventing any _useful_ error page your webserver
> may be providing.  (LUGOD.org, for example, has a rather sophisticated
> error page which understands typos, knows about some out-of-date URLs,
> and so forth...  It's sad to think so many people might never even see
> the useful error response because IE is overriding the server's actual HTML)

[read, read, read]

The problem would probably arise in the very first line of the httpd
response, which echoes the HTTP protocol level and specifies the numeric
response code.  Following that are response headers (mod_asis lets you
control these) and a message body (ErrorDocument).

I am not seeing anything that lets you lie about the response code,
though, which may be for the best. :)

---
Jeff NewmillerThe .   .  Go Live...
DCN:<[EMAIL PROTECTED]>Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Mark K. Kim

Can you generate your own error pages in PHP (ie - error.php)?  If you
can, then you can use PHP to change the header to remove 404 into the
standard code (whatever it may be... 100, maybe?)

-Mark


On Thu, 27 Jun 2002, nbs wrote:

> On Wed, Jun 26, 2002 at 11:49:23PM -0700, Rod Roark wrote:
> > I think you can fix this on the browser side by going
> > into IE's settings and unchecking "show friendly HTTP
> > error messages"... or something like that.
> >
> > That's right, MS thinks that showing what caused an error
> > is "unfriendly".
>
> I can't exactly do this from my webserver. :)
> (That's my point... I'm trying to circumvent Microsoft's idiocy)
>
> -bill!
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

--
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread Peter Jay Salzman

begin nbs <[EMAIL PROTECTED]> 
> On Wed, Jun 26, 2002 at 11:49:23PM -0700, Rod Roark wrote:
> > I think you can fix this on the browser side by going
> > into IE's settings and unchecking "show friendly HTTP
> > error messages"... or something like that.
> > 
> > That's right, MS thinks that showing what caused an error 
> > is "unfriendly".
> 
> I can't exactly do this from my webserver. :)
> (That's my point... I'm trying to circumvent Microsoft's idiocy)
> 
> -bill!

there's got to be an IE exploit you can make use of to change the
setting   ;)

pete

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech