(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:
- 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.
- 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.
- 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.