8

I simply did :

sudo aptitude install apache2

And that's how my server is set up. No extra modules, no nothing.

I'm on ubuntu jaunty.

5
sudo ln -s /etc/apache2/mods-available/deflate.load /etc/apache2/mods-enabled/

and restart apache

sudo /etc/init.d/apache2 restart
2
  • That's it? I don't have to do anything else? Everything should work correctly, as if nothing has changed?
    – Alex
    Mar 15 '10 at 8:40
  • 4
    or you can just do "sudo a2enmod deflate", which does the same thing. Aug 6 '10 at 17:26
14

Debian/Ubuntu have the a2* set of scripts for managing modules and vhosts. You can use a2enmod:

$ sudo a2enmod deflate
Enabling module deflate.
Run '/etc/init.d/apache2 restart' to activate new configuration!
$ sudo /etc/init.d/apache2 restart
 * Restarting web server apache2
 ... waiting                                                             [ OK ]
$
0

check this manual, describes quite clearly and is for debian like systems

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.