I. Installing mono through an integration pack:
1. Add Mono's Bauku:
Importing the Mono Project public Jenkins GPG signing into the system
wget HTTP://JENKINS.MONO-PROJECT.COM/REPO/XAMARIN.GPG
RPM--import XAMARIN.GPG
Yum-config-manager--add-repo http://jenkins.mono-project.com/repo/centos/
2. Find Mono-snapshot through Package Manager find a package that can be installed
Yum Search Mono-snapshot
Show Mono-snapshot for each version of Mono
3、Yum-y Install Mono-snapshot-latest
Mono-snapshot-latest will install the latest package (the latest package is just beginning to install, but the latest package does not have. NET 2.0 support, only 4.0 and 4.5, This causes jexus5.6.2 to always start failing, and later I install a version of mono-snap201409 to run.)
Use the Mono-snapshot tool to see the latest version of mono that we have installed.
[Email protected] ~]#. Mono-snapshot Mono
Please note the "." in front of Mono-snapshot.
Two. Installing jexus5.6.2
1, wget linuxdot.net/down/jexus-5.6.2.tar.gz (Download compressed package)
2, TAR-ZXVF jexus-5.6.2.tar.gz (unzip to the current folder)
3, CD jexus-5.6.2 (hit the directory of Kaixie pressure)
4./install (Installation)
Jexus is automatically installed into the/usr/jexus/directory
Three. Configuring Mono for Jexus
1. Vi/usr/jexus/jws Open Jexus configuration file
Export path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/opt/mono/bin:/opt/mono/bin:/usr/ Local/mono/bin:/opt/mono-20140901013335/bin
Export ld_library_path=/lib:/usr/lib:/usr/local/lib:/usr/opt/mono/lib:/opt/mono/lib:/usr/local/mono/lib:/opt/ Mono-20140901013335/lib
Mono is installed by default in/opt/mono-20140901013335/lib, so you have to set the path in JWs, the top two of which I set.
2. Start Jexus,
Register Jexus
/usr/jexus/jws REGSVR
And then we can start Jexus.
/usr/jexus/jws Start (restart,stop) (restart, pause)
Iv. adding Jexus to the service
Centos7 Configuring Mono and jexus5.6.2