LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-18-2011, 05:26 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 250

Rep: Reputation: 18
/etc/apache2 - how to recover folder


Hi all,

I have a problem with my Debian. I have just uninstall Apache2 (apt-get remove apache2). Unfortunately I forgot to use "--purge" parameter, so I have decided to delete /etc/apache2 folder manualy.

Now I would like to install this package once again, but apt-get doesnt want to create new /etc/apache2 with all new configuration files.

How to install it properly once again using apt-get ????? How to create /etc/apache2 with apt-get ?


Dlugasx
 
Old 12-18-2011, 05:34 AM   #2
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 250

Original Poster
Rep: Reputation: 18
Solution

Sorry for that post... I have just found...

Code:
apt-get install --reinstall apache2.2-common
 
  


Reply

Tags
apache2, apt-get, problem, uninstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed new version over home folder! can I recover? Jivan Naveen Linux - Newbie 3 11-15-2011 11:19 AM
how to recover deleted folder 124vikas.dange@gmail.com Linux - Software 1 09-09-2009 08:21 AM
How do I recover a rm deleted folder? CrownAmbassador Linux - Desktop 13 02-16-2009 04:54 AM
I have deleted a folder accidentally? How do I recover it? srikanth_dhondi Linux - Software 2 02-19-2008 07:38 PM
Can't Recover Mail folder with kmail aeruzcar Linux - General 0 04-13-2004 10:31 PM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration