Linux build aspx.net Environment: CentOs 7 Installation Mono and Jexus Step Records

Source: Internet
Author: User

1 because 163 does not have a CentOs7 mirror. So I didn't add this wget .Http://mirrors.163.com/.help/CentOS6-Base-163.repo
cd/etc/yum.repos.d/
wget Http://download.opensuse.org/repositories/home:tpokorra:mono/CentOS_CentOS-7/home:tpokorra:mono.repo
Yum Makecache
Yum Install mono-opt
Yum Install mod_mono-opt

2 Check if it is installed.
Yum List Installed | grep Mono

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz3jlzw5lcnk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

3 Join Mono Working path
Change/etc/profile, add VI at end/etc/profile
Mono_home=/opt/mono
Path= $MONO _home/bin: $PATH
Classpath=.: $MONO _home/lib/
Export Mono_home
Export PATH
Export CLASSPATH

4 Installing Jexus
Cd/tmp
wget linuxdot.net/down/jexus-5.6.2.tar.gz
TAR-ZXVF jexus-5.6.2.tar.gz
CD jexus-5.6.2
sudo./install
Cd..
Rm-f jexus-5.6.2.tar.gz
RM-FR jexus-5.6.2

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz3jlzw5lcnk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz3jlzw5lcnk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
Assume an exception is thrown by the type initializer for Mono.Unix.Native.Stdlib
It is possible that Mod_mono is not installed. Or not Ldconfig
5 Start Jexus
Manual Start/usr/jexus/jws Start

Boot yourself actively:
Add the following line to the boot script for/etc/rc.local or class test:
mono/usr/jexus/jws.exe >/dev/null 2>&1 &

6 test Page Mkdir/var/www/defalut
echo \<% = "Hello World"%\> > Default.aspx

Browser view is available


References http://jexus.org/

Linux build aspx.net Environment: CentOs 7 Installation Mono and Jexus Step Records

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.