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

Source: Internet
Author: User

1 because 163 does not have the CENTOS7 mirror, so does not add this wgetHttp://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 Checking whether the installation is good
Yum List Installed | grep Mono


3 Adding a mono work path
Modify/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

If an exception is thrown by the type initializer for Mono.Unix.Native.Stdlib appears
May be mod_mono not installed, or not ldconfig
5 Start Jexus
Manual Start/usr/jexus/jws Start

Boot auto Start:
Add this line of command 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 can


Reference 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.