Fortunately, there is the Mono Project for difficult times like these. Here is what I did,
You can configure mono with apache but since I was in a hurry, the fastest and the easiest way to do this was the xsp webserver (which is not usually recommended for production use).# yum install mono-core.i386
# yum install xsp.i386
# yum install mono-web.i386
# yum install mod_mono.i386 (if you need it to be configured with apache)
All it needed me to do was to go the folder which had the scripts in it on the command line,
and then type the magic word,# cd /extra/scripts/
Output:# xsp
I could then test the sample codes by browsing toxsp
Listening on port: 8080 (non-secure)
Listening on address: 0.0.0.0
Root directory: /extra/scripts/
Hit Return to stop the server.
http://localhost:8080/
However, this does not mean that xsp is not configurable,
xsp --help
really helps :)
No comments:
Post a Comment