Enviroment: Initial Installation of Centos 6.3 Apache / 2.2.15
Installation steps:
we will install mono in
mkdir -p /opt/mono cd /tmp
Download and extract source
wget http://download.mono-project.com/sources/mono/mono-2.10.2.tar.bz2 wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2 wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2 wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2 tar -xjf mono-2.10.2.tar.bz2 tar -xjf xsp-2.10.2.tar.bz2 tar -xjf mod_mono-2.10.tar.bz2 tar -xjf libgdiplus-2.10.tar.bz2
compile and install libgdiplus
cd libgdiplus-2.10 ./configure --prefix=/opt/mono make ; make install
compile and install mono
cd ../mono-2.10.2 ./configure --prefix=/opt/mono --with-libgdiplus=/opt/mono make ; make install
Install the vars environment (remember to also modify the ~ / .bash_profile file)
export PATH=$PATH:/opt/mono/bin export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig
compile and install xsp
cd ../xsp-2.10.2 ./configure --prefix=/opt/mono make ; make install
compile and install mod_mono
cd ../mod_mono-2.10 ./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono make ; make install mv /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/
source share