How do I use badgerports?

badgerports is an Ubuntu repository. In order to use it, you must add it to your Software Sources.

  1. Click on "System", "Administration", "Software Sources".

  2. Click on the "Other Software" tab.

  3. Click on "Add...", and enter the line:

    deb http://badgerports.org lucid main
    

  4. Click on "Add Source"

  5. Click on "Authentication", then on "Import Key File"

  6. Download this GPG key file, ID 0E1FAD0C, and select it in the "Import Key File" window

  7. Click on "Close", then "Reload" when the pop-up appears. You're all set!


From now on, whenever you try to install or update Mono-related packages on your system, you will be given the badgerports version for preference. You don't need to do anything more than update your system as usual to get started!


先按照如上的步骤配置文件


ubuntu10.4 配置mono+apache环境

1.使用光盘或镜像安装ubuntu10.4系统

2.更新ubuntu 系统

命令:
sudo apt-get update
sudo apt-get upgrade

3.安装apache 服务器

命令:
sudo apt-get install apahce2

4.暂停apache 服务

命令:
sudo /etc/init.d/apache2 stop

5.安装mono 相关组件

命令:
sudo apt-get install mono-apache-server4 libapache2-mod-mono libmono-i18n2.0-cil
sudo apt-get install mono-2.0-service

6.打开并编辑/etc/apache2/mods-available/mod_mono.conf配置文件

命令:
sudo vi /etc/apache2/mods-available/mod_mono.conf
sudo gedit /etc/apache2/mods-available/mod_mono.conf

7.使用vi 编辑器编辑配置文件/

mod_mono.conf 文件内容如下:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .config .ascx .axd
DirectoryIndex Default.aspx
MonoAutoApplication enabled
MonoServerPath “/usr/bin/mod-mono-server4”
Include /etc/mono-server4/mono-server4-hosts.conf

8.启动apache 服务器

命令:
sudo /etc/init.d/apache2 start
 
至此 apache+mono的环境已经配置完成
可以在 apache默认目录/var/www/ 下放入aspx页面来测试配置是否成功。
 

使用putty和winscp连接Ubuntu,需要安装ssh
sudo apt-get install ssh

Ubuntu上安装mono的更多相关文章

  1. 在Ubuntu上安装Mono

    在Ubuntu上安装Mono 执行以下代码授权注冊repo源并更新软件列表: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ...

  2. Ubuntu上安装mono并进行C#代码测试

    微软的.NET框架与Linux开发和管理,是Buider AU和一个更广泛行业的两个最流行的主题. 大多数时候,这两个主题往往会产生冲突,很少有开发者需要同时了解这两个工具.但是,许多人都没意识到, ...

  3. raspberrypi(树莓派)上安装mono和jexus,运行asp.net程序

    参考网址: http://www.linuxdot.net/ http://www.cnblogs.com/mayswind/p/3279380.html http://www.raspberrypi ...

  4. [异常解决] ubuntu上安装JLink驱动遇到的坑及给后来者的建议

    一.前言 最近将整个电脑格式化,改成了linux操作系统 希望这样能让自己在一个新的世界探索技术.提升自己吧- win上的工具用多了,就不想变化了- 继上一篇<ubuntu上安装虚拟机遇到的问题 ...

  5. Ubuntu上安装Robomongo及添加到启动器

    到目前为止,Robomongo仍是MongoDB最好的客户端管理工具,如需在Ubuntu上安装Robomongo,可直接从官网下载.tar.gz压缩包进行解压,然后直接运行bin目录下的robomon ...

  6. 在 Ubuntu 上安装 Android Studio

    在 Ubuntu 上安装 Android Studio http://www.linuxidc.com/Linux/2013-05/84812.htm 打开terminal,输入以下命令 sudo a ...

  7. Ubuntu上安装Karma失败对策

    在Ubuntu上安装Karma遇到超时 timeout 错误.Google了一下,国外的码农给了一个快捷的解决方案,实测可行,贴在这里: sudo apt-get install npm nodejs ...

  8. 在Ubuntu上安装LAMP服务器

    1.安装Ubuntu上安装LAMP apt-get install lamp-server^ 2.安装过程中设置MySql密码 3.测试 创建index.php var/www/html/index. ...

  9. [译]How to Setup Sync Gateway on Ubuntu如何在ubuntu上安装sync-gateway

    参考文章https://hidekiitakura.com/2015/03/21/how-to-setup-sync-gateway-on-ubuntudigitalocean/ 在此对作者表示感谢 ...

随机推荐

  1. [PCB设计] 3、用CAM350修改GERBER文件(删除某些部分)

    1.问题产生 由于在电子元件封装时阻焊开窗未处理好,生成的GERBER文件在生产钢网时容易出现错误.比如:测试点上不需要上锡,如果封装元件时采用焊盘修改而来,结果往往使paste层在该测试点上有覆盖, ...

  2. CodeForces 698B Fix a Tree

    并查集,构造. 先看一下图的特殊性,按照这种输入方式,一个点的入度最多只有$1$,因此,问题不会特别复杂,画画图就能知道了. 如果给出的序列中已经存在$a[i]=i$,那么随便取一个$a[i]=i$的 ...

  3. 超好:web app变革之rem

    感谢你的阅读,本文由 腾讯ISUX 版权所有,转载时请注明出处,违者必究,谢谢你的合作.注明出处格式:腾讯ISUX (https://isux.tencent.com/web-app-rem.html ...

  4. word-wrap、word-break、white-space

    http://jsfiddle.net/joya0411/S8N2j/3/embedded/result/ word-wrap:normal(默认)/break-word; 希望超长英文/网址,在下一 ...

  5. gitc2016——打造互联网技术狂欢盛宴

    gitc2016全球互联网技术大会由麒麟会主办,iTech Club(互联网技术精英俱乐部)协办.网堤安全将作为云安全服务提供商应邀出席本届大会,gitc2016会有怎样的精彩内容?我们一起来一探究竟 ...

  6. php获取本周周一、周日时间,上周周一、周日时间,本月第一天,本月最后一天,上个月第一天,最后一天时间

    权声明:本文为博主原创文章,未经博主允许不得转载. //这个星期的星期一 // @$timestamp ,某个星期的某一个时间戳,默认为当前时间 // @is_return_timestamp ,是否 ...

  7. c# listview的使用

    C#向listview中添加项

  8. Java 序列化 transient关键字

    Java 序列化 transient关键字 @author 敏敏Alexia 转自:http://www.cnblogs.com/lanxuezaipiao/p/3369962.html 1. tra ...

  9. Markdown - Github specific

    这篇文章的内容,必须到github的页面才能全部生效. Github specific Github allows for mistakes There are also Tables in gith ...

  10. WebApi 跨域问题解决方案:CORS

    注:本文为个人学习摘录,原文地址:http://www.cnblogs.com/landeanfen/p/5177176.html 前言:上篇总结了下WebApi的接口测试工具的使用,这篇接着来看看W ...