Ubuntu 8.04 安装 Lighttpd +Mono 1.91
安装软件过程 lighttpd >mono>fastcgi-mono-server
安装前老规矩 sudo apt-get update下
1. lighttpd
~$ sudo apt-get install lighttpd
启用fastcgi
/etc/apt$ sudo lighty-enable-mod fastcgi (可能80端口被占,先无视)
2.mono
由于8.04里没有mono的源,官方也没提供deb安装包只好手工编译安装咯。
先安装相关软件。
~$ sudo apt-get build-dep gcc
~$ sudo apt-get install automake autoconf libtool
~$ mkdir mono
~$ cd mono
~$ wget http://ftp.novell.com/pub/mono/sources/mono/mono-1.9.1.tar.bz2(网速。。。。等着 18m阿)
~$ tar -jvxf mono-1.9.1.tar.bz2 (中间可能会提示你缺的包,按照提示在新立得安装就行了。。。。可叹我不知道怎么了还error了一堆)
~$ cd mono-1.9.1
~$ ./configure --prefix=/usr/local
~$ make (编译了好长时间阿,费劲死了)
~$ make install
安装后,可以通过“mono -V”查看版本
~$ 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
~$ sudo apt-get install subversion
~$ svn co http://mono-soc-2007.googlecode.com/svn/trunk/brian/FastCgi/ fastcgi-mono-server
~$ ./configure --prefix=/usr/local
~$ make
~$ sudo make install
好了 ok! 对了 firefox要想看silverlight,
MONO有moonlight
到http://www.go-mono.com/moonlight/index.aspx直接安插件就好了
不过死慢死慢的,不推荐 将就着玩吧 呵呵。