Results 1 to 9 of 9

Thread: How To Delete .conf file completely after installation

  1. #1
    Join Date
    Jun 2008
    Beans
    17

    Lightbulb How To Delete .conf file completely after installation

    Hi

    can anybody tell me how to delete the conf files after installation of a server

  2. #2
    Join Date
    Feb 2008
    Location
    $pwd
    Beans
    329
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How To Delete .conf file completely after installation

    try this i think
    Code:
    sudo apt-get --purge remove <application>
    Unique Beautiful Unlimited New Trust Unix

  3. #3
    Join Date
    Jun 2008
    Beans
    17

    Unhappy Re: How To Delete .conf file completely after installation

    thanks,

    i tried this command and checked but the files are present and even after restarting the system i m getting the same files.

    so what i will do now

  4. #4
    Join Date
    Oct 2007
    Location
    ISS
    Beans
    1,429

    Re: How To Delete .conf file completely after installation

    What conf files? Where?

  5. #5
    Join Date
    Jun 2008
    Beans
    17

    Unhappy Re: How To Delete .conf file completely after installation

    i install the apache2 server.
    and after installation i changed in the file /etc/apache2/sites-available/default

    so now i need to uninstall the apache2 server.
    i used the command "apt-get remove --purge apache2"
    it shown me it got removed and after that i checked weather the files are present or not but the file /etc/apache2/sites-available/default is present and even after restarting the m/c i m getting the file.

    so can u tell me how can i delete these files totally.

    Thanks in advance

  6. #6
    Join Date
    Oct 2007
    Location
    ISS
    Beans
    1,429

    Re: How To Delete .conf file completely after installation

    Quote Originally Posted by sp.mahapatra View Post
    i install the apache2 server.
    and after installation i changed in the file /etc/apache2/sites-available/default

    so now i need to uninstall the apache2 server.
    i used the command "apt-get remove --purge apache2"
    it shown me it got removed and after that i checked weather the files are present or not but the file /etc/apache2/sites-available/default is present and even after restarting the m/c i m getting the file.

    so can u tell me how can i delete these files totally.

    Thanks in advance
    Type

    Code:
    man rm
    to learn more about rm before you begin.


    When ready give the following commands:

    Code:
    cd /etc/apache2/sites-available/
    Make sure that you are in /etc/apache2/sites-available/ directory by typing

    Code:
    pwd
    Then delete everything there:

    Code:
    sudo rm -frv *
    This will delete everything in that directory and everything in subdirectories, so be careful.
    Last edited by Vivaldi Gloria; June 11th, 2008 at 02:09 PM. Reason: typo

  7. #7
    Join Date
    Jun 2008
    Beans
    17

    Re: How To Delete .conf file completely after installation

    There are so many files which got created after the installation of apache2 so how many files i will delete and how can i make take it easy that it is not going to make any problem..

    like the files which got created after apache2 got installed is

    /etc/default/apache2
    /etc/apache2
    /etc/logrotate.d/apache2
    /etc/init.d/apache2
    /var/log/apache2

    so how many files i will delete here

    i need a solution

  8. #8
    Join Date
    Oct 2007
    Location
    ISS
    Beans
    1,429

    Re: How To Delete .conf file completely after installation

    Ahhh, now I understand your question. You want to know where all the apache related files are and if it is safe to delete these files after you uninstall it.

    I don't know so I can't answer this question. (Actually I thought that --purge would do it).

    Anyone?

  9. #9
    Join Date
    Jun 2008
    Beans
    17

    Unhappy Re: How To Delete .conf file completely after installation

    yaa
    thats right,i used that one and also apt-get remove <package name>
    but it couldn't delete the files.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •