This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install apache2-prefork-dev libxml2 libxml2-dev apache2-dev | |
mkdir ~/modbuild/ && cd ~/modbuild/ | |
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.c | |
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.h | |
sudo apxs2 -aic -I/usr/include/libxml2 ./mod_xml2enc.c | |
cd ~ | |
sudo rm -rfd ~/modbuild/ | |
sudo service apache2 restart |