Ubuntu 8.04 Lighttpd +Mono 支持.net

by benben 4/26/2008 8:47:00 PM

安装软件过程 lighttpd >mono>fastcgi-mono-server

安装前老规矩 sudo apt-get update下

1. lighttpd

benben@ubuntu:~$ sudo apt-get install lighttpd

启用fastcgi

benben@ubuntu:/etc/apt$ sudo lighty-enable-mod fastcgi 

2.mono

由于8.04里没有mono的源,官方也没提供deb安装包只好手工编译安装咯。

先安装相关软件。

benben@ubuntu:~$ sudo apt-get build-dep gcc
benben@ubuntu:~$ sudo apt-get install automake autoconf libtool
benben@ubuntu:~$ mkdir mono
benben@ubuntu:~$ cd mono
benben@ubuntu:~$ wget http://ftp.novell.com/pub/mono/sources/mono/mono-1.9.1.tar.bz2
benben@ubuntu:~$ tar -jvxf mono-1.9.1.tar.bz2
benben@ubuntu:~$ cd mono-1.9.1
benben@ubuntu:~$ ./configure --prefix=/usr/local
benben@ubuntu:~$ make
benben@ubuntu:~$ make install

 安装后,可以通过“mono -V”查看版本

benben@ubuntu:~$ mono -V
Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
3.fastcgi-mono-server

安装 subversion

benben@ubuntu:~$ sudo apt-get install subversion 

benben@ubuntu:~$ svn co http://mono-soc-2007.googlecode.com/svn/trunk/brian/FastCgi/ fastcgi-mono-server
benben@ubuntu:~$ ./configure --prefix=/usr/local
benben@ubuntu:~$ make
benben@ubuntu:~$ sudo make install

Tags:

.net | ubuntu

(必填)
(必填,不会被公开)
谢谢留言,如果留言不成功请联系ben#119797.com

Powered by BlogEngine.NET 苏ICP备08023017号


Recent comments

Author