ASP. NET environment in MONO-Linux

Source: Internet
Author: User

Because you want to install SQL Power Injector on Centos, but the. net support is required, this new item is used.

Author: Xiao Jianbin

Original Source:Www.xiaojb.com/archives/it/mono.shtmlAnother article:Http://yahoon.blog.51cto.com/13184/32816
InstallMomoAfter mod_mono and xsp, you can build an ASP. NET environment.NovellSupported. Mono can be viewed hereDownload.
My OS is Centos 4.3 and no problems are found during installation.

Download Software

wget -b http://go-mono.com/sources/mod_mono/mod_mono-1.1.13.5.tar.gzwget -b http://go-mono.com/sources/xsp/xsp-1.1.13.7.tar.gzwget -b http://go-mono.com/sources/mono/mono-1.1.13.8.tar.gz

Uncompress the package

tar zxf mono-1.1.13.8.tar.gztar zxf mod_mono-1.1.13.5.tar.gztar zxf xsp-1.1.13.7.tar.gz

Compile mono

./configure --prefix=/usrmakemake install

This process takes a long time. Wait patiently and then compile mod_mono.

./configure --with-apxs=/usr/local/apache2/bin/apxsmakemake install

Compile xsp

./configure --prefix=/usrmakemake install

Then you need to configure apache.
Cd/usr/local/apache2/conf
Mod_mono.conf already exists. You only need to include it in httpd. conf.
Add in httpd. conf

Include /usr/local/apache2/conf/mod_mono.confAlias /test "/usr/lib/xsp/test"AddMonoApplications default  "/test:/usr/lib/xsp/test"    SetHandler mono    AllowOverride None    Order allow,deny    Allow from all

Restart apache for testing

/usr/local/apache2/bin/apachectl configtest/usr/local/apache2/bin/apachectl restart

Open IE to test. The address is http: // yourip: yourport/test/index. aspx.

The installation was performed twice. mono and xsp were both placed outside usr for the first time. As a result, apache reported a 503 temporary error. It is estimated that it is a path problem. It will be good after re-compilation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.