参考: CentOS 7 上部署Mono 4 和Jexus 5.6
系统:Centos 7 64位
Mono包并没有包含在CentOS的仓库里,我们需要把Mono的仓库导入到包仓库里
sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
原文中说“有可能提示找不到yum-config-manager” ,没遇到
原文中此时开始执行
yum –y install mono-complete 安装所有的软件包 (坑开始了)
原文中没有说明系统是32还是64的, 我在64位系统下执行上面的命令后没反应。
sudo yum –y install mono-complete
已加载插件:fastestmirror, langpacks
然后开始G哥, 度娘。。。无果后打开记录的笔记 , 看到了 search
试着执行
sudo yum search mono
apache2-mod_mono.x86_64 : Run ASP.NET Pages on Unix with Apache and Mono
apache2-mod_mono-debuginfo.x86_64 : Debug information for package apache2-mod_mono
dejavu-lgc-sans-mono-fonts.noarch : Monospace sans-serif font faces, Latin-Greek-Cyrillic subset
dejavu-sans-mono-fonts.noarch : Monospace sans-serif font faces
gnu-free-mono-fonts.noarch : GNU FreeFont Monospaced Font
liberation-mono-fonts.noarch : Monospace fonts to replace commonly used Microsoft Courier New
libmono-2_0-1.x86_64 : A Library for embedding Mono in your Application
libmono-2_0-devel.x86_64 : Development files for libmono
libmonoboehm-2_0-1.x86_64 : A Library for embedding Mono in your Application (Boehm GC)
libmonoboehm-2_0-devel.x86_64 : Development files for libmonoboehm
libmonosgen-2_0-1.x86_64 : A Library for embedding Mono in your Application (SGen GC)
libmonosgen-2_0-devel.x86_64 : Development files for libmonosgen
mono-addins.noarch : Mono Addins Framework
mono-addins-devel.noarch : Mono Addins Framework, MSBuild Support
mono-addins-msbuild.noarch : Mono Addins Framework, MSBuild Support
mono-basic.noarch : Mono's VB Runtime
mono-complete.x86_64 : Install everything built from the mono source tree
此处省略N行。。
再次执行 sudo yum -y install mono-complete.x86_64
运行mono –V 确认已经成功安装
安装Jexus 5.6
wget linuxdot.net/down/jexus-5.6.4.tar.gz
tar -zxvf jexus-5.6.4.tar.gz
cd jexus-5.6.4
./install