Apache Friends Support Forum

It is currently 09. February 2010 16:42

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Change installation dir on ubuntu 8.04
PostPosted: 27. August 2008 05:37 
Offline

Joined: 27. August 2008 05:21
Posts: 2
Hello.
I would like to install xampp to a different directory other that /opt/
i tried changing the install
Code:
sudo tar -xvf xampp-linux-1.6.7.tar -C /opt/

to
Code:
sudo tar -xvf xampp-linux-1.6.7.tar -C /myinstallfolder/

but upon starting lampp via
Code:
sudo /myinstallfolder/lampp/lampp start

i would get error messages because the file lampp had the original directory, opt, instead of my directory
but even after changing all of the /opt/... to /myinstallfolder]/... i still got error messages from multiple other files that also use /opt/...

my question boils down to:
is there a way to install lampp to a different directory other than /opt/ ?

i would think it would be something like getting the source and using
Code:
./configure prefix=[i]myinstallfolder[/i]

but i that doesn't work

any thoughts and suggestions would be greatly appreciated


Top
 Profile  
 
 Post subject:
PostPosted: 27. August 2008 09:55 
Offline
AF-Moderator

Joined: 01. February 2004 12:38
Posts: 17072
Location: Stuttgart / Germany
A symlink can help.


Top
 Profile  
 
 Post subject:
PostPosted: 27. August 2008 10:25 
Offline

Joined: 09. March 2008 13:04
Posts: 2434
>any thoughts and suggestions would be greatly appreciated

Unfortunately, you *must* install Xampp in /opt/lampp - this is hard coded in some binary files.

But you can use it later on in a different folder by creating a symbolic link from /opt/lampp to your personal folder:

Code:
ln -s /opt/lampp /myinstallfolder/lampp


You also must have root priviliges to install Xampp in /opt and to start/stop Xampp.

This also works vice verse, you may install Xampp into your local folder, but *must* create a symbolic link to /opt:

Code:
ln -s /myinstallfolder/lampp /opt/lampp


Top
 Profile  
 
 Post subject:
PostPosted: 27. August 2008 13:58 
Offline

Joined: 27. August 2008 05:21
Posts: 2
how would i go about doing the second option

just install it to /myinstallfolder/, not modify any files and then do the command
Code:
ln -s /myinstallfolder/lampp /opt/lampp


thanks for the quick response both of you


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group