Ubuntu Mono+jexus deployment to ASP. NET MVC 5

Source: Internet
Author: User

A lot of times before it was stuck in the razor that unusual where, today's whim on a try, a try unexpectedly success, excited I hurriedly record the course. Nonsense don't say, walk up ...

Ubuntu 16.04 Installation Mono (latest version 5.14.0)

Official website address https://www.mono-project.com/download/stable/#download-lin-ubuntu

First of all

sudo apt-key adv--keyserver HKP://keyserver.ubuntu.com:80--recv-keys 3fa7e0328081bff6a14da29aa6a19b38d3d831efsudoinstall apt-transport-HTTPSEcho  "deb Https://download.mono-project.com/repo/ubuntu stable-xenial main"sudo  Tee /etc/apt/sources.list.d/mono-official-stable.listsudo apt update

Then execute the following command in turn

sudo Install mono-devel
sudo Install mono-complete
sudo Install mono-dbg
sudo Install mono-referenceassemblies-PCL
sudo Install mono-ca-certificates-Mono
sudo Install MONO-MONO-XSP4

This mono installation is complete to verify that the mono installation is successful. https://www.mono-project.com/docs/getting-started/mono-basics/

Installing Jexus

wget linuxdot.net/down/jexus-5.6. 1. Tar . GZ tar -zxvf jexus-5.6. 1. Tar . GZCD Jexus-5.6. 1 . /Install

Run Jexus

start /usr/jexus/jws start stop /usr/jexus/jws stop restart/usr/jexus/jws restart

Since then, using Http://ip/info to verify that the Jexus is successful

Deployment

First copy the default file, copy it to the Jexus installation path under Siteconf, and then modify the contents, the command is as follows

cd/usr/jexus/siteconf/     cp  default  MMS   

Generally only modify the path, port

Restart Jexus after deployment

There will be case and path problems, such as the System.Web.Webpages.dll from NuGet to download several related DLLs in the middle of the pages that P is lowercase, need to become uppercase

Simply modify the Jexus configuration file

In the Jexus, you just need to/usr/jexus/jws this script file "Export mono_iomap= ..." This sentence before the "#" removed, you can not distinguish between the case

So far, after restarting Jexus, take a look at your results!

Ubuntu Mono+jexus deployment to ASP. NET MVC 5

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.