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直接安插件就好了

不过死慢死慢的,不推荐 将就着玩吧 呵呵。

 

 

 

 

转载于:https://www.cnblogs.com/wowyoung/archive/2008/08/06/1262213.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值