Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th January 2007, 02:00
s2angel s2angel is offline
Junior Member
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debian 4 Move /var/www to /home/www ln -s

I recently been wanting to get a server up and running and stop paying a provider. I got everything working and then deceded to run the latest ispconfig..

They have changed the place where all the user web sites are stored on debian.. (Agggh!)

I like that the majority of the wear and tear of the harddriveto be contained to the / (root) and swap part of the harddrive.. gives me anouther chance to recover the data.. I was happy with a decent swap, fair size root and what ever was left for the storage of webhosting ( /home/ )
I was shocked to find that they changed it.. !! (in the latest version of ispconfig for debian )

Now I am curuious where do I change this in the configuration files..
I want to copy it all over to a www dir ( /home/www) and make a symbolic link

Can I do this? will this work?

I am not about to reload and fight with etch v4 debian ( I should write a tutorial!)

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 15th January 2007, 20:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

You should have used the expert mode during installation, there you can choose /home/www.

Move all files from /var/www to /home/www, then change /var/www in the isp_server table in the ISPConfig MySQL database. Also change the users' home directories in /etc/passwd and the paths in Vhosts_ispconfig.conf.
I hope I haven't forgotten anything.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th January 2007, 14:51
s2angel s2angel is offline
Junior Member
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to cleanly remove ispconfig from debian

SO with out caring too much for the One website I setup for testting.. What do I delete to reinstall ispconfig so I can start fresh with advanced config..

Thanks

Also is there a list some place where everything is installed?
Maybe someone can ppoint me in the right direction..
Reply With Quote
  #4  
Old 27th January 2007, 16:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

To remove ISPConfig, execute the script:

/root/ispconfig/uninstall

Then you can reinstall ISPConfig afterwards.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th January 2007, 23:22
s2angel s2angel is offline
Junior Member
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What if you followed this http://www.howtoforge.com/forums/sho...pconfig+remove
and you removed the sql directory and now its sorta messed.. how would I remove everything that would allow me to install fresh

So there is the /root/ispconfig then what do I delete in the var and any place else?
Reply With Quote
  #6  
Old 28th January 2007, 14:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Quote:
What if you followed this http://www.howtoforge.com/forums/sho...pconfig+remove
and you removed the sql directory and now its sorta messed.. how would I remove everything that would allow me to install fresh
Which SQL directory did you delete exactly. If you delted just the datbase directory, there cant be anything messed up.

There is no solution to run the uninstall script anymore as you followed the other uninstall instructions.

Please run:

rm -fr /home/admispconfig
rm -rf /root/ispconfig

make sure you removed the database and install ISPConfig again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th January 2007, 08:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
 
Default

Only the uninstaller deletes the content too. But there is no problem with the content, ISPConfig will overwrite it, you will just have to empty the web directories.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 19:31
Howto move /var/www other HDD ? Herbert Installation/Configuration 7 2nd December 2006 16:54
SNORT and BASE on a CLEAN "The Perfect Setup - Debian Sarge (3.1)" edge Suggest HOWTO 5 10th September 2006 01:07
how to change Web-Root: /home/www to /var/www/ mtuser Installation/Configuration 1 1st January 2006 13:01
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 08:45.


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