Install mono1.9 on Redhat Enterprise 4 (3)

Source: Internet
Author: User

(1) Mono Installation
(2) install and configure Apache and xsp

Unexpectedly, we successfully transplanted one of our BS systems to Linux. I think this is mainly because our system is structured on Castle monorail and the log part uses log4net, the UI part uses extjs and some jqueryCodeThese make our system portable. What's more, vs compiled dll can be run directly under mono. This means that our development work can be carried out in vs without switching. This can save a lot of manpower costs.

To run Castle monorails, add the following to the Apache configuration file:
Monoautoapplication disabled
Addhandler mono. Rails. Aspx. ascx. asax. ashx. config. cs. asmx. axd
Alias/sitename "/var/www/html/Site" # map the site path
Monoapplications "/sitename:/var/www/html/Site"
<Location/sitename>
Sethandler mono
</Location>
Monoserverpath/usr/bin/mod-mono-server2 # added support for. net2

Other detailed tests are still in progress and some problems have been found:

    1. The case sensitivity is in Linux. Therefore, some resource files, JS files, images, and other references cannot be found if the case is incorrect. This is worth noting.
    2. The project contains some daab sections of Ms ELB 3.1 used to access the database, which are the main query sections. This section throws an exception. I did not carefully check the code. It may be related to the performance counter code. In this case, you may need to implement the daab interface to replace the daab.
    3. The database used for testing today is ms SQL Server, but the sqlcommandbuilder. deriveparameters () method does not obtain the correct parameter type and the cause is not correctly located.

Now it seems that mono should be able to run. Net well.Program. The test of ORACLE data connection will continue tomorrow, and performance testing is also in progress. Today's test shows that the time when the page is opened is much slower than that of the same system running on IIS. Although the machine preparation is also a little poor, it leaves a shadow in my heart.

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.