Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Installing webapps to another directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Tue Apr 19, 2005 11:53 pm    Post subject: [Solved] Installing webapps to another directory Reply with quote

Hi, I've just emerged phpbb and phpmyadmin. webapp-config defaults the installation to /var/www/localhost/htdocs/phpBB and /var/www/localhost/htdocs/phpmyadmin. How can I install webapps to a directory of my choice. Let say I want to install phpBB to /var/www/localhost/htdocs/myforum.

I've thought of creating symlinks, but that would be just a dirty hack. Another method is just to install all my webapps manually, but I want to use portage as much as possible because I don't want to waste time checking out new versions of webapp everytime there is a security problem. Anyone have any suggestions? Thanks

ps: I don't have any vhost.
_________________
E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo


Last edited by lenk on Wed Apr 20, 2005 1:30 am; edited 1 time in total
Back to top
View user's profile Send private message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Wed Apr 20, 2005 1:05 am    Post subject: Reply with quote

Code:
webapp-config -I -h localhost -d myforum phpBB 2.0.14
Back to top
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Wed Apr 20, 2005 1:29 am    Post subject: Reply with quote

This is what I did:

webapp-config --list-installs (to find out what is installed and where)
webapp-config -C -d /phpBB (remove the default installation dir)
/usr/sbin/webapp-config -I -h localhost -u root -d /dcsforum phpBB 2.0.14 (install to new dir of my choice)

ps: who say webapp-config is bad? I think its great app, I love gentoo :)
_________________
E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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