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.

Alex
  • 8,471
  • 26
  • 75
  • 99

3 Answers3

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 ]
$
z0mbix
  • 251
  • 1
  • 3
  • 10
5
sudo ln -s /etc/apache2/mods-available/deflate.load /etc/apache2/mods-enabled/

and restart apache

sudo /etc/init.d/apache2 restart
Jeff Atwood
  • 13,104
  • 20
  • 75
  • 92
Sergey
  • 2,121
  • 15
  • 14
0

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

rytis
  • 2,382
  • 1
  • 18
  • 13