Debian 4 Move /var/www to /home/www ln -s

Discussion in 'Installation/Configuration' started by s2angel, Jan 15, 2007.

  1. s2angel

    s2angel New Member

    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
     
  2. falko

    falko Super Moderator

    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.
     
  3. s2angel

    s2angel New Member

    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..
     
  4. till

    till Super Moderator

    To remove ISPConfig, execute the script:

    /root/ispconfig/uninstall

    Then you can reinstall ISPConfig afterwards.
     
  5. s2angel

    s2angel New Member

  6. till

    till Super Moderator

    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.
     
  7. till

    till Super Moderator

    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.
     

Share This Page