Do the following on CentOS/Fedora/RHEL before starting the installation:
Installation:
Code:
yum -y install libungif-devel freetype-devel libtiff-devel libjpeg-devel xulrunner-devel cmake
Code:
cd /root
mkdir mono
cd mono
wget https://download.mono-project.com/sources/mono/mono-5.12.0.226.tar.bz2
tar xjf mono-5.12.0.226.tar.bz2
wget http://download.mono-project.com/sources/mod_mono/mod_mono-3.13.tar.gz
tar xzf mod_mono-3.13.tar.gz
cd mono-5.12.0.226
./configure --prefix=/usr
make -j 8
make install
cd ../mod_mono-3.13
./configure --prefix=/usr
make
make install
ldconfig
echo '#mod_mono' >> /etc/httpd/conf/extra/httpd-includes.conf
echo 'Include /etc/httpd/conf/mod_mono.conf' >> /etc/httpd/conf/extra/httpd-includes.conf
#skip the next line on FreeBSD
/etc/init.d/httpd restart
#skip the next line on CentOS/Debian/Fedora/Ubuntu
/usr/local/etc/rc.d/httpd restart
Last edited: