Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how i can give user space, how many mysql database will have
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
StaraDama
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 253

PostPosted: Mon Apr 11, 2005 4:30 pm    Post subject: how i can give user space, how many mysql database will have Reply with quote

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
View user's profile Send private message
StaraDama
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 253

PostPosted: Mon Apr 11, 2005 7:48 pm    Post subject: Reply with quote

anyone plis.
Back to top
View user's profile Send private message
DefconAlpha
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 151
Location: Alabama

PostPosted: Thu Apr 14, 2005 12:47 am    Post subject: well Reply with quote

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
View user's profile Send private message
StaraDama
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 253

PostPosted: Thu Apr 14, 2005 7:25 am    Post subject: Reply with quote

when i emerge quota and in webmin try to run qouta i get this

No local filesystems can support quotas.


why
Back to top
View user's profile Send private message
StaraDama
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 253

PostPosted: Thu Apr 14, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
DefconAlpha
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 151
Location: Alabama

PostPosted: Wed Apr 27, 2005 10:00 pm    Post subject: stuffs Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum