All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
PHP实例:用PHP程序为自己网站打造一个搜索引擎_[PHP教程]
实例详细讲解PHP中使用的运算符号_php资料_编程技术
C#教程:创建DLL动态链接库
asp.net,后台代码如何遍历checkbox_[Asp.Net教程]
delphi程序中动态创建、删除视图
PHP语言发展历史:它有三位创始人_php资料_编程技术
SQL,Server,2005升级的十个步骤详解_[SQL,Server教程]
ASP.NET:写个偷全国公交数据库的程序_.net资料_编程技术
asp.net缩略图和水印制作-Image,Generation_[Asp.Net教程]
Discuz论坛2.5,升级到PHP,MySQL新版遇到的问题_php资料_编程技术
Reading number is top 10 pictures
超强高考作文
可爱的小动物
福利福利。。。。。。
乳娘帕梅拉安德森4
一万二一支的万珂,用得真心肉疼。
Household design classic black and white
Summer is most suitable for young people to travel in China5
西游四格漫画(六)
中国女孩大胆自拍,显露完美身材3
王艳写真温柔如水1
Download software ranking
Love the forty days
The king of fighters 97(Mobile phone games-apk)
Unix video tutorial9
Tram sex maniac 2 (H) rar bag1
Boxer's Top ten classic battle8
好色的外科大夫
Tram sex maniac 2 (H) rar bag11
Sora aoi, the nurse, uniform ,nursing assistant
Prostitutes diary
虚拟机汉化软件
delv published in(发表于) 2014/1/16 9:31:22 Edit(编辑)
在,Linux,下运行,ASP.NET_[Asp.Net教程]

在,Linux,下运行,ASP.NET_[Asp.Net教程]

在 Linux 下运行 ASP.NET_[Asp.Net教程]

单位有一台闲置的旧 IBM Netfinity 7000 的服务器,双 Pentium Pro 200 MHz CPU,512 MB 内存,一个 9.1 GB 和五个 4.5 GB 的 SCSI 硬盘。我想将其废物利用一下,于是:
1. 到 http://tw.releases.ubuntu.com/edgy/ 下载 PC (Intel x86) server install CD ,将下载得到的 ubuntu-6.10-server-i386.iso 文件刻录一张光盘。
2. 用这张光盘在 IBM Netfinity 7000 服务器上安装 Ubuntu 6.10 (Edgy) 。
3. 安装 Apache2:
sudo apt-get install apache2
4. 安装基本的编译环境:
sudo apt-get install build-essential checkinstall
5. 安装 libapache2-mod-mon
最简单的方法就是使用以下命令:
sudo apt-get install libapache2-mod-mono
但是目前在 Ubuntu 6.10 中这条命令会报错。只好自己编译一个了:
md src
cd src
sudo apt-get install apache2-threaded-dev mono-xsp2 mono-apache-server mono-apache-server2
wget http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz
tar xzf mod_mono-*.tar.gz
cd mod_mono-*/
./configure --prefix=/usr --sysconfdir=/etc
make
sudo checkinstall
6. 配置 Apache2 以便运行 ASP.NET 2.0
cd /etc/apache2/mods-available
sudo ln -s ../mod_mono.conf mod_mono.conf
sudo echo "LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so" > mod_mono.load
sudo a2enmod mod_mono
cd ../sites-available
sudo vim ben.skyiv.com 请参考 default 文件的内容,关键是加入以下语句:
# -------------------------------------------------
Alias /ben /home/ben/www/ben
AddMonoApplications ben "/ben:/home/ben/www/ben"
MonoServerPath ben /usr/bin/mod-mono-server2

MonoSetServerAlias ben
SetHandler mono

# -------------------------------------------------
sudo a2ensite ben.skyiv.com
sudo /etc/init.d/apache2 restart
7. 完成。运行效果请见: http://ben.skyiv.com/ben/aspx/info.aspx

参考文献:
http://www.ifolder.com/index.php/HowTiFolder_Enterprise_Server_on_Ubuntu_6.10
https://help.ubuntu.com/community/ModMono


来源:网络







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.