FULL apache2 reinstall by apt-get it's possible including configfiles, etc?

Eduardo J. Vega Arguedas edvega at racsa.co.cr
Wed Oct 11 01:31:20 UTC 2006


Great ! it recover them... the only stuff that was not recover was the php
configuration...  

Also if I try to enable it by ae2nmod it said that it's already up, but if I
try to use any php script it will not server it and just open a window like
if it's downloading an unknown file...

I already do the same apt-get remove -purge and apt-get install with 

libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear
php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite
php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell


any idea?


root at lamp:/etc/apache2/mods-available# a2enmod
Which module would you like to enable?
Your choices are: actions asis auth_anon auth_dbm auth_digest auth_ldap
cache cern_meta cgid cgi dav_fs dav deflate disk_cache expires ext_filter
file_cache headers imap include info ldap mem_cache mime_magic php5
proxy_connect proxy_ftp proxy_http proxy rewrite speling ssl suexec
unique_id userdir usertrack vhost_alias
Module name? php5
This module is already enabled!

-----Original Message-----
From: Mirko Coz [mailto:mirkocoz at gmail.com] 
Sent: Tuesday, October 10, 2006 5:23 PM
To: Eduardo J. Vega Arguedas
Subject: Re: FULL apache2 reinstall by apt-get it's possible including
configfiles, etc?

apt-get remove --purge apache2
apt-get install apache2

On 10/10/06, Eduardo J. Vega Arguedas <edvega at racsa.co.cr> wrote:
> By mistake I delete the /etc/apache2
>
> So I want to re-install apache and have the default configuration files
and
> default directories created.
>
> If I do an apt-get install apache2 it create the /etc/apache2/ directory
but
> it's missing the apache2.conf, http.conf, etc dirs
>
> So I need to have a full apache installation that overwrite the old one
and
> that install default directories as well as the old configuration files.
>
> Thanks
>
> //ed
>
> -----Original Message-----
> From: ubuntu-es-bounces at lists.ubuntu.com
> [mailto:ubuntu-es-bounces at lists.ubuntu.com] On Behalf Of Alvaro
Carrillanca
> Sent: Tuesday, October 10, 2006 5:03 PM
> To: ubuntu-es at lists.ubuntu.com
> Subject: Re: FULL apache2 reinstall by apt-get it's possible including
> configfiles, etc?
>
> >
> > Hello Guys.. I screw apache2 installation so I need to re-install it
>
> Hello
>
> >
> > But when I do a apt-get apache2 it will not create or overwrite
> /etc/apache2
> > directory !!
> >
> >
> >
> > I try by using the –reinstall parameter and no luck
 how could I do a
FULL
> &
> > Complete re-installation including configuration files and other dirs
from
> a
> > package?
> >
> >
> >
>
>
> Well I think that I don't understand it, do you want to remove the old
> configure?
> Do you  need to overwrite it?
>
> Greets
>
>
> --
> Alvaro J. Carrillanca P.
> Estudiante 7º semestre Ingenieria en Gestion Informatica
> Universidad Tecnologica de Chile Sede Puerto Montt
> http://ark.blogspirit.com
> alvaro.carrillanca(at)inacap.cl             ||
alvarock(at)gmail.com
> Fono : +56 - 065 - 31 96 11              ||         0-90606164
>
> --
> ubuntu-es mailing list
> ubuntu-es at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>
>
> --
> ubuntu-es mailing list
> ubuntu-es at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>


-- 
Mirko Coz Berrospi





More information about the ubuntu-users mailing list