Total Pageviews

Wednesday, 14 December 2011

apache server下安装module的命令

比如:
# a2enmod proxy
Enabling module proxy.
Run '/etc/init.d/apache2 restart' to activate new configuration!
as3:~# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .

又比如:

as3:~# a2enmod rewrite
Enabling module rewrite.
Run '/etc/init.d/apache2 restart' to activate new configuration!
as3:~# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .

比如:

as3:~# a2enmod ssl
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
as3:~#

No comments:

Post a Comment