Advertisement
Crazytje

Cruisecontrol.NET on centos 6

Jan 7th, 2013
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.82 KB | None | 0 0
  1. Enviroment:
  2. Centos 6.3 basic install
  3. Apache/2.2.15
  4.  
  5.  
  6. Installation steps:
  7.  
  8. #Install required software
  9. 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
  10.  
  11. #directory we will be installing mono in
  12. mkdir -p /opt/mono
  13.  
  14. cd /tmp
  15.  
  16. #Download & extract source
  17. wget http://download.mono-project.com/sources/mono/mono-2.10.2.tar.bz2
  18. wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
  19. wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2
  20. wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
  21.  
  22. tar -xjf mono-2.10.2.tar.bz2
  23. tar -xjf xsp-2.10.2.tar.bz2
  24. tar -xjf mod_mono-2.10.tar.bz2
  25. tar -xjf libgdiplus-2.10.tar.bz2
  26.  
  27. #compile and install libgdiplus
  28. cd libgdiplus-2.10
  29. ./configure --prefix=/opt/mono
  30. make ; make install
  31.  
  32. #compile and install mono
  33. cd ../mono-2.10.2
  34. ./configure  --prefix=/opt/mono --with-libgdiplus=/opt/mono
  35. make ; make install
  36.  
  37. #Set enviroment vars(make sure to also modify ~/.bash_profile)
  38. export PATH=$PATH:/opt/mono/bin
  39. export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig
  40.  
  41. #compile and install xsp
  42. cd ../xsp-2.10.2
  43. ./configure --prefix=/opt/mono
  44. make ; make install
  45.  
  46. #compile and install mod_mono
  47. cd ../mod_mono-2.10
  48. ./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono
  49. make ; make install
  50.  
  51.  
  52. mv /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/
  53.  
  54.  
  55. #download ccnet
  56. mkdir /tmp/ccnet/
  57. cd /tmp/ccnet
  58. wget http://build.nauck-it.de/download/CruiseControl.NET-dev/1.9.26.0/CruiseControl.NET-1.9.26.0.zip
  59. unzip CruiseControl.NET-1.9.26.0.zip
  60. cp -R ../ccnet /var/www/html
  61.  
  62. echo "MonoServerPath \"/opt/mono/bin/mod-mono-server4\"" >> /etc/httpd/conf.d/mod_mono.conf
  63.  
  64. /etc/init.d/httpd/restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement