Install XSP

XSP is a lightwieght c# web server. The reason we need it is because of a variation of XSP called mod-mono-server is used with the mod_mono DSO module through a unix socket instead of a tcp port to compile and run ASP.NET pages.

  1. go to http://www.mono-project.com/downloads/ and download the current version of XSP
  2. Install XSP. I copied the file to /usr/local/src:
    cp -p xsp-1.0.4.tar.gz /usr/local/src/
    cd /usr/local/src
    tar xvzf xsp-1.0.4.tar.gz
  3. Compile and install XSP:
    cd /usr/local/src/xsp-1.0.4
    ./configure --prefix=/usr
    make
    make install
    This should install the example pages in /usr/local/share/doc/xsp/testand mod-mono-server.exe in /usr/local/bin. You will want to be sure /usr/local/bin is set in your PATH so mono can start mod-mono-server.exe. You can check this by running the command 'echo $PATH' and looking for it, if it does not appear, add it to /etc/profile or wherver your distrobution sets the PATH.

Back to Mono Main Continue to mod_mono