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