Hi
can anybody tell me how to delete the conf files after installation of a server
Hi
can anybody tell me how to delete the conf files after installation of a server
try this i think
Code:sudo apt-get --purge remove <application>
Unique Beautiful Unlimited New Trust Unix
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
What conf files? Where?
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
to learn more about rm before you begin.Code:man rm
When ready give the following commands:
Make sure that you are in /etc/apache2/sites-available/ directory by typingCode:cd /etc/apache2/sites-available/
Then delete everything there:Code:pwd
This will delete everything in that directory and everything in subdirectories, so be careful.Code:sudo rm -frv *
Last edited by Vivaldi Gloria; June 11th, 2008 at 02:09 PM. Reason: typo
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
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?
yaa
thats right,i used that one and also apt-get remove <package name>
but it couldn't delete the files.
Bookmarks