Objective
The snapshot method mentioned in the previous article installs Mono, which is not stable, requires a variety of configurations, and can be modified to work with Jexus.
First, the installation source
" Http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF " Yum-config-manager--add-repo http://download.mono-project.com/repo/centos/
II. implementation of the installation
Yum Install Mono-complete
Third, check the installation version
Mono--version
Show results
Mono JIT Compiler Version 4.0.1 (tarball Tue may 16:19:40 BST2002-2014 Novell, INC, Xamarin Inc and Contr Ibutors. www.mono-project.com TLS: __thread SIGSEGV: altstack notifications:epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled . GC: sgen
Iv. installation of Jexus
wget http://linuxdot.net/down/jexus-5.6.4-zxvf jexus-5.6.4. TAR.GZCD jexus-5.6.4. /install
Five, start Jexus
Sudo/usr/jexus/jws start
Vi. problems that may arise
1. Failed to start, but log information is not recorded.
cat/usr/jexus/jws/log/jws.log does not display any failure logs. (That is, log blank) find /-name ' mono ' [root @localhost log] # find/-name ' mono ' /etc/mono /usr/bin/< Span style= "color: #000000;" >mono /usr/lib/mono /usr/lib64/mono /usr/share/mono-snapshot/packages.d/mono /usr/share/mono-2.0/mono /usr/include/mono-2.0/mono open JWs file vi /usr/jexus/jwsexport PATH =/usr/bin: $PATH export Ld_library_path =/usr/lib: $LD _library_path
2, failed to start, the log information shows that "/usr/lib/libmonoposixhelper.so" cannot be found.
Find/-name ' libmonoposixhelper.so '
Show libmonoposixhelper.so Location
/usr/lib64/libmonoposixhelper.so
/usr/lib64/libmonoposixhelper.so/usr/lib/libmonoposixhelper.so
Vii. references
1, Zhang Shanyu's blog (http://www.cnblogs.com/shanyou/p/4509980.html)
2. Mono website Installation Tutorial (http://www.mono-project.com/docs/getting-started/install/linux/)
Linux CentOS 7 installs Mono4.0.1 with yum command