Because SQLPowerInjector needs to be installed on Centos, but the. net support is required, so the new thing Author: Xiao Jianbin is used in the original source: bytes.
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.