Re: apt-get install or apt-get source

2001-11-04 Thread daniel
Whoever told you that is wrong...

If you know how to program stuff and you can modify any source you get
then you may have a use in getting the source code of a package, or even
if compiling yourself gives you a functionality you need that is not in
the precompiled packages.

But if you are just going to use a program, plain and simple, it's better if
you get a precompiled package for which you dont need dev libs or
anything else, and the results, will be the same as compiling yourself.

Good luck

Daniel

On Sun, Nov 04, 2001 at 07:20:11PM +0100, [EMAIL PROTECTED] wrote:
> hi, 
> someone told me that sorce is better that binary...why ?
> 
> why do I have to recompiling apache x example ?
> 
> _
> 
> Sebastian Ezequiel Ovide
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




apt-get install or apt-get source

2001-11-04 Thread seezov
hi, 
someone told me that sorce is better that binary...why ?

why do I have to recompiling apache x example ?

_

Sebastian Ezequiel Ovide





Re: Quata Support with MySQL

2001-11-04 Thread cfm
On Sun, Nov 04, 2001 at 09:59:28AM -0800, Jeremy Zawodny wrote:
> On Fri, Nov 02, 2001 at 02:10:38AM -0500, Keith Elder wrote:
> > Greetings,
> > 
> > I was wondering if anyone had any type of hints as howto setup
> > virtual mysql accounts with quota support.
> 
> There's no really good way to do it yet.  MySQL itself has no quota
> system.  And if you use OS quotas, you risk table corruption when a
> user goes over quota.
> 
> You could have a cron jobs to compute each users usage once a day and
> let them know if they're over.

You could dump their tables into their userland periodically.  Of course,
then they would be double overquota for the mySQL data even though it
would only get counted once.  :-)


> 
> Jeremy
> -- 
> Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, WCNet, Yahoo!
> <[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 

Christopher F. Miller, Publisher   [EMAIL PROTECTED]
MaineStreet Communications, Inc   208 Portland Road, Gray, ME  04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux




Re: Quata Support with MySQL

2001-11-04 Thread Jeremy Zawodny
On Fri, Nov 02, 2001 at 02:10:38AM -0500, Keith Elder wrote:
> Greetings,
> 
> I was wondering if anyone had any type of hints as howto setup
> virtual mysql accounts with quota support.

There's no really good way to do it yet.  MySQL itself has no quota
system.  And if you use OS quotas, you risk table corruption when a
user goes over quota.

You could have a cron jobs to compute each users usage once a day and
let them know if they're over.

Jeremy
-- 
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, WCNet, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/




Mailman within VHOST

2001-11-04 Thread A.Sleep
Hello all,

I'm attempting to setup Mailman for just one vhosted user.

Once mailman was installed (via apt) I edited the mm_cfg.py to reflect the
default url and host.

I created a lists. subdomain vhost and made the DocumentRoot the mailman
root (/usr/lib/mailman/cgi-bin). Then restarted Apache.

When I went to lists./listinfo I get a garbled output. Inbetween the
mess I can see it complaining about the UIG/GID but alas the script doesn't
tell me what gid/uid it's getting (looks like the script isn't being run
correctly to me).

Below is the vhost entry and it's corresponding Directory directive. Please
forgive the dropping of domain/ip data, it's not needed.

Note that I've attempted to use User and Group directives to set the uid/gid
to: www-data (should be the default for any host w/o a user/group directive
anyway) and the list user.

I also set the MAILMAN_UID and MAILMAN_GID to list and www-data to no avail.

Any insight would be wonderful.


# User list - Also tried manually setting to www-data
# Group list - Same as above
DocumentRoot /usr/lib/mailman/cgi-bin
ServerName lists.[domain]



Options ExecCGI


---
A.Sleep




Re: apt-get install or apt-get source

2001-11-04 Thread daniel

Whoever told you that is wrong...

If you know how to program stuff and you can modify any source you get
then you may have a use in getting the source code of a package, or even
if compiling yourself gives you a functionality you need that is not in
the precompiled packages.

But if you are just going to use a program, plain and simple, it's better if
you get a precompiled package for which you dont need dev libs or
anything else, and the results, will be the same as compiling yourself.

Good luck

Daniel

On Sun, Nov 04, 2001 at 07:20:11PM +0100, [EMAIL PROTECTED] wrote:
> hi, 
> someone told me that sorce is better that binary...why ?
> 
> why do I have to recompiling apache x example ?
> 
> _
> 
> Sebastian Ezequiel Ovide
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




apt-get install or apt-get source

2001-11-04 Thread seezov

hi, 
someone told me that sorce is better that binary...why ?

why do I have to recompiling apache x example ?

_

Sebastian Ezequiel Ovide



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Quata Support with MySQL

2001-11-04 Thread cfm

On Sun, Nov 04, 2001 at 09:59:28AM -0800, Jeremy Zawodny wrote:
> On Fri, Nov 02, 2001 at 02:10:38AM -0500, Keith Elder wrote:
> > Greetings,
> > 
> > I was wondering if anyone had any type of hints as howto setup
> > virtual mysql accounts with quota support.
> 
> There's no really good way to do it yet.  MySQL itself has no quota
> system.  And if you use OS quotas, you risk table corruption when a
> user goes over quota.
> 
> You could have a cron jobs to compute each users usage once a day and
> let them know if they're over.

You could dump their tables into their userland periodically.  Of course,
then they would be double overquota for the mySQL data even though it
would only get counted once.  :-)


> 
> Jeremy
> -- 
> Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, WCNet, Yahoo!
> <[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 

Christopher F. Miller, Publisher   [EMAIL PROTECTED]
MaineStreet Communications, Inc   208 Portland Road, Gray, ME  04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Quata Support with MySQL

2001-11-04 Thread Jeremy Zawodny

On Fri, Nov 02, 2001 at 02:10:38AM -0500, Keith Elder wrote:
> Greetings,
> 
> I was wondering if anyone had any type of hints as howto setup
> virtual mysql accounts with quota support.

There's no really good way to do it yet.  MySQL itself has no quota
system.  And if you use OS quotas, you risk table corruption when a
user goes over quota.

You could have a cron jobs to compute each users usage once a day and
let them know if they're over.

Jeremy
-- 
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, WCNet, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Mailman within VHOST

2001-11-04 Thread A.Sleep

Hello all,

I'm attempting to setup Mailman for just one vhosted user.

Once mailman was installed (via apt) I edited the mm_cfg.py to reflect the
default url and host.

I created a lists. subdomain vhost and made the DocumentRoot the mailman
root (/usr/lib/mailman/cgi-bin). Then restarted Apache.

When I went to lists./listinfo I get a garbled output. Inbetween the
mess I can see it complaining about the UIG/GID but alas the script doesn't
tell me what gid/uid it's getting (looks like the script isn't being run
correctly to me).

Below is the vhost entry and it's corresponding Directory directive. Please
forgive the dropping of domain/ip data, it's not needed.

Note that I've attempted to use User and Group directives to set the uid/gid
to: www-data (should be the default for any host w/o a user/group directive
anyway) and the list user.

I also set the MAILMAN_UID and MAILMAN_GID to list and www-data to no avail.

Any insight would be wonderful.


# User list - Also tried manually setting to www-data
# Group list - Same as above
DocumentRoot /usr/lib/mailman/cgi-bin
ServerName lists.[domain]



Options ExecCGI


---
A.Sleep


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: nameservers open to world - with test output

2001-11-04 Thread Russell Coker
On Sat, 3 Nov 2001 23:02, James wrote:
> Well, if your company runs the DNS for your website on those servers and
> you block outside IPs from querying from, no one on the internet will be
> able to go to your website.  :)
>
> Overall, I do not think it is a big problem, unless someone is pointing
> massive amounts of traffic to your DNS servers.  DNS traffic is usually
> very small UDP packets (I think like less than 512 bytes).  If it goes
> over that, it uses TCP.

I agree.  So I don't generally turn off the recursion function for public 
name servers even though it's easy to do.  Sometimes being able to do such 
recursive lookups from outside the network helps debugging network problems, 
something that saves an hour of my time will save the client more money than 
a year of bandwidth costs for DNS...

> But generally, I think to go over 512 bytes in one request would mean a
> zone transfer attempt (bad).

That is a matter of opinion.

When it's my choice I generally allow zone transfers.  Preventing zone 
transfers is just security by obscurity and doesn't gain much.  Allowing them 
allows smarter customers to give more detailed bug reports which can save 
time and money.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Mail server

2001-11-04 Thread Russell Coker
On Sun, 4 Nov 2001 01:55, James wrote:
> I'm going to be setting up a mail server (Exim + uwimapd + IMP webmail)
> that will serve about 300-500 users.
>
> There will not be a major amount of traffic being put through it and was
> wondering if anyone had any cost effective hardware recommendations for
> CPU/RAM/HD space?

As someone else already mentioned the hardware requirements vary a lot 
depending on the details of the use.

I know of one site that was using a fully loaded Sun E450 to serve mail for 
<1000 users (LAN connected and mailing MS-Word document attachments around 
all day).

OTOH I've setup small ISP servers with 300 accounts on machines that make a 
P-233 look grunty.

In terms of bang for buck I once ran a university mail server for 27,000 
accounts mostly using POP but also some mutt and elm use.  It ran on a 
machine that was a very old RS/6000 that gave similar performance to my 
Thinkpad on most benchmarks.  Of course that machine didn't perform too well 
until I replaced the mbox stores with Maildir and used hashing for 
/etc/passwd...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: nameservers open to world - with test output

2001-11-04 Thread Russell Coker

On Sat, 3 Nov 2001 23:02, James wrote:
> Well, if your company runs the DNS for your website on those servers and
> you block outside IPs from querying from, no one on the internet will be
> able to go to your website.  :)
>
> Overall, I do not think it is a big problem, unless someone is pointing
> massive amounts of traffic to your DNS servers.  DNS traffic is usually
> very small UDP packets (I think like less than 512 bytes).  If it goes
> over that, it uses TCP.

I agree.  So I don't generally turn off the recursion function for public 
name servers even though it's easy to do.  Sometimes being able to do such 
recursive lookups from outside the network helps debugging network problems, 
something that saves an hour of my time will save the client more money than 
a year of bandwidth costs for DNS...

> But generally, I think to go over 512 bytes in one request would mean a
> zone transfer attempt (bad).

That is a matter of opinion.

When it's my choice I generally allow zone transfers.  Preventing zone 
transfers is just security by obscurity and doesn't gain much.  Allowing them 
allows smarter customers to give more detailed bug reports which can save 
time and money.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mail server

2001-11-04 Thread Russell Coker

On Sun, 4 Nov 2001 01:55, James wrote:
> I'm going to be setting up a mail server (Exim + uwimapd + IMP webmail)
> that will serve about 300-500 users.
>
> There will not be a major amount of traffic being put through it and was
> wondering if anyone had any cost effective hardware recommendations for
> CPU/RAM/HD space?

As someone else already mentioned the hardware requirements vary a lot 
depending on the details of the use.

I know of one site that was using a fully loaded Sun E450 to serve mail for 
<1000 users (LAN connected and mailing MS-Word document attachments around 
all day).

OTOH I've setup small ISP servers with 300 accounts on machines that make a 
P-233 look grunty.

In terms of bang for buck I once ran a university mail server for 27,000 
accounts mostly using POP but also some mutt and elm use.  It ran on a 
machine that was a very old RS/6000 that gave similar performance to my 
Thinkpad on most benchmarks.  Of course that machine didn't perform too well 
until I replaced the mbox stores with Maildir and used hashing for 
/etc/passwd...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]