View previous topic :: View next topic |
Author |
Message |
StaraDama Apprentice
Joined: 01 Sep 2004 Posts: 253
|
Posted: Mon Apr 11, 2005 4:30 pm Post subject: how i can give user space, how many mysql database will have |
|
|
how i can give user space, how many mysql database will have.
I want to give my friend 100mb space , 3 mysql database, ftp access and http://mydomain/~hisnick access to web with public_html which will show data in net.
With with program i can do this.
Thnx. |
|
Back to top |
|
|
StaraDama Apprentice
Joined: 01 Sep 2004 Posts: 253
|
Posted: Mon Apr 11, 2005 7:48 pm Post subject: |
|
|
anyone plis. |
|
Back to top |
|
|
DefconAlpha Apprentice
Joined: 25 Feb 2003 Posts: 151 Location: Alabama
|
Posted: Thu Apr 14, 2005 12:47 am Post subject: well |
|
|
i don't know of any specific programs to do most of what you want, but...
for the 100mb of space, just use disk quotas, try emerging either sys-fs/quota or sys-fs/quotatool
for the 3 databases, that part is tricky. you will probably just want to create three databases with whatever name your buddy wants and deny all CREATEs except CREATE TABLE and definitely exclude his user from all databases except his specific db's. most of the pretty gui tools that do this are front ends that do essentially the same thing i just described.
ftp is easy, emerge proftpd and make sure you configure it to restrict to the ~ folder (home folder)
web is also easy, just emerge apache and set it up to use user_mod (by default this should work). all you will have to do is create a public_html folder that the apache process can read so either put apache in the users group *bad idea* or perhaps symlink public_html to somewhere that apache can read (probably a better idea) _________________ In the end, the love you get is equal to the love you make
--John Lennon & Paul McCartney (The End - Abbey Road, |
|
Back to top |
|
|
StaraDama Apprentice
Joined: 01 Sep 2004 Posts: 253
|
Posted: Thu Apr 14, 2005 7:25 am Post subject: |
|
|
when i emerge quota and in webmin try to run qouta i get this
No local filesystems can support quotas.
why |
|
Back to top |
|
|
StaraDama Apprentice
Joined: 01 Sep 2004 Posts: 253
|
Posted: Thu Apr 14, 2005 10:39 am Post subject: |
|
|
Quote: |
for the 3 databases, that part is tricky. you will probably just want to create three databases with whatever name your buddy wants and deny all CREATEs except CREATE TABLE and definitely exclude his user from all databases except his specific db's. most of the pretty gui tools that do this are front ends that do essentially the same thing i just described.
|
front ends. I can't find that program. Where i can get it?
Yes i want this what you write. |
|
Back to top |
|
|
DefconAlpha Apprentice
Joined: 25 Feb 2003 Posts: 151 Location: Alabama
|
Posted: Wed Apr 27, 2005 10:00 pm Post subject: stuffs |
|
|
Quota support is a kernel issue, if you don't have it built into your kernel, it won't happen.
The 'front-end' is a generic application that makes a harder utility easy to use (ie DVD::Rip and K3b). There is no 'front-end' for the database stuff, you will actually have to run the commands to create the table and assign passwords and privileges and such. _________________ In the end, the love you get is equal to the love you make
--John Lennon & Paul McCartney (The End - Abbey Road, |
|
Back to top |
|
|
|