How to make server support aspx

owen0510

New member
Joined
Jan 5, 2012
Messages
2
How to install Mono xsp and mod_mono to the DAserver can support the run aspx?

Or other methods

Please write a detailed process and commands

I am a novice

thanks!
 
How to make server support .net

There is no such thing as aspx on linux


centos 5.1

yum install gcc bison pkgconfig glib2-devel gettext make httpd-devel gcc-c++ libstdc++-devel


wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.3.tar.bz2
wget http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.6.3.tar.bz2
wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.6.3.tar.bz2

tar -jxvf mono-2.6.3.tar.bz2
tar -jxvf xsp-2.6.3.tar.bz2
tar -jxvf mod_mono-2.6.3.tar.bz2

intall mono:
cd /root/mydir/mono-2.6.3
./configure --prefix=/opt/mono; make ; make install
echo export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig:$PKG_CONFIG_PATH>>~/.bash_profile
echo export PATH=/opt/mono/bin:$PATH>>~/.bash_profile
source ~/.bash_profile

intall xsp:
cd /root/mydir/xsp-2.6.3
./configure --prefix=/opt/mono; make ; make install

intall mod_mono:
find / -iname apr*config


cd /root/mydir/mod_mono-2.6.3
./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono --with-apr-config=/usr/bin/apr-1-config; make ; make install
cp /etc/httpd/conf.d/ /etc/httpd/conf/mod_mono.conf


setsebool -P httpd_disable_trans=1



I failed.................................

http://www.jb51.net/article/22883.htm
 
This is not DirectAdmin related at all, so I've moved the thread.

You didn't show us the results of any of your commands, so even if someone wants to help you they wouldn't know where to start.

You'd probably be better off posting on a CentOS-oriented forum.

Jeff
 
Back
Top