#1  
Old 29th August 2010, 13:17
=ChAoS= =ChAoS= is offline
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change sites directory

Hi, I installed ispconfig following the howto tutorial "perfect server ubuntu 10.04 on a remote dedicated server. As a noob it seemed the best way to get apache/mail etc up and running. I then installed my ipb board and started my forum.

Only after did i realise that by default my provider formatted the 1T hdd so that "file system" installed on a 10gig partition and the other 900 odd gig was the /home directory. When i installed my forum i saw it was installed in /var/www and so was limited to what was left of the 10gig file system partition. Also any other sites i create install in that partition.

After doing some reading it seems i cannot expand the file system partition and if i want to move it to a larger partition i need to use the install disc which is not an option.

So is there anyway i can tell ispconfig to point to another location?

I made an exact replica of /var/www in /home/www and edited my sites enabled files to point to this but it seems that ispconfig is still looking for my sites in /var/www.

I hope this makes sense as all i really want is more space for my forum/other sites etc. I hope this can be done or there is a simple solution i haven't found yet or its back to the drawing board and reformat time.

Thanks for any help =ChAoS=
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2010, 13:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

Quote:
So is there anyway i can tell ispconfig to point to another location?

I made an exact replica of /var/www in /home/www and edited my sites enabled files to point to this but it seems that ispconfig is still looking for my sites in /var/www.

I hope this makes sense as all i really want is more space for my forum/other sites etc. I hope this can be done or there is a simple solution i haven't found yet or its back to the drawing board and reformat time.
This was not a good isea as /var/www must be the root directory of all websites as /var/www is hard compiled into apache and every other directory will cause a securitey exception in apache when you activate suexec. So please undo all changes that you did.

There is a much easier solution for your problem, you just swap the content and remount /home as /var. Please see here for detailed instructions:

http://www.howtoforge.com/forums/sho...50&postcount=6
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th August 2010, 13:44
=ChAoS= =ChAoS= is offline
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply. Can this be done with ispconfig already installed only the tutorial seems to imply ispconfig isn't installed yet?

Thanks =ChAoS=
Reply With Quote
  #4  
Old 29th August 2010, 14:38
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

Yes, this can be done when ispconfig is installed already.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 29th August 2010, 15:35
=ChAoS= =ChAoS= is offline
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry but i have one last question ...

It seems to my inexperienced linux mind that my /home directory would then be 10gig? If this is so, would it be possible to just gpart my current 900gig /home in half and name/mount the second half and copy /var to there?

Thanks for all your help till =ChAoS=
Reply With Quote
  #6  
Old 29th August 2010, 16:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

Why do you need a bigger home directory? The home dir is not used on a web and email server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th August 2010, 16:54
=ChAoS= =ChAoS= is offline
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Just the option incase i ever need it.

The tutorials i've seen for running game servers for example get installed under my name in /home.

=ChAoS=

Last edited by =ChAoS=; 29th August 2010 at 16:57.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
update failed loge Installation/Configuration 6 1st December 2007 17:53
Debian3.1 | PHP Binary planet_fox Installation/Configuration 2 26th September 2006 00:52
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
Next error while installing ISPconfig my-webhosting Installation/Configuration 1 12th March 2006 14:30


All times are GMT +2. The time now is 10:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.