Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enviroment:
- Centos 6.3 basic install
- Apache/2.2.15
- Installation steps:
- #Install required software
- yum -y install httpd httpd-devel make glib2-devel libpng-devel libjpeg-devel giflib-devel libtiff-devel libX11-devel gcc* fontconfig-devel bison gettext bzip2 libtool automake autoconf wget unzip
- #directory we will be installing mono in
- mkdir -p /opt/mono
- cd /tmp
- #Download & 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
- #Set enviroment vars(make sure to also modify ~/.bash_profile)
- 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/
- #download ccnet
- mkdir /tmp/ccnet/
- cd /tmp/ccnet
- wget http://build.nauck-it.de/download/CruiseControl.NET-dev/1.9.26.0/CruiseControl.NET-1.9.26.0.zip
- unzip CruiseControl.NET-1.9.26.0.zip
- cp -R ../ccnet /var/www/html
- echo "MonoServerPath \"/opt/mono/bin/mod-mono-server4\"" >> /etc/httpd/conf.d/mod_mono.conf
- /etc/init.d/httpd/restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement