debain上安裝mono3.4.0和jexus5.5.2

今天折騰了四個小時才把這個正確安裝上,特此記錄下。特別感謝羣友的支持。linux

在VMware上新安裝了Debain7.5,具體細節不復述了。web

1、更新系統ui

#apt-get update.net

#apt-get upgradedebug

2、構建編譯環境server

#apt-get install build-essentialblog

#apt-get install automake autoconfip

#apt-get install bison gettext libtool libglib2.0-dev libfreetype6-dev libfontconfig-devget

(最好一個個地執行,保證安裝成功)it

3、安裝其它庫文件

#apt-get install libgif-dev libtiff4-dev libpng12-dev libexif-dev libx11-dev libxft-dev libjpeg-dev(也是最好一個個地執行,保證安裝成功)

4、下載源文件及解壓

#wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2

#wget http://download.mono-project.com/sources/mono/mono-3.4.0.tar.bz2

#tar -jxf libgdiplus-2.10.tar.bz2

#tar -jxf mono-3.4.0.tar.bz2

5、安裝libgdiplus和mono

一、安裝libgdiplus

#cd libgdiplus-2.10

# ./configure --prefix=/usr

#make

#make install

cd..

二、安裝mono

#cd mono-3.4.0

#cd mcs/tools/xbuild/targets

#cp Microsoft.Portable.CSharp_4.0.targets  Microsoft.Portable.Common.targets

#vi Microsoft.Portable.Common.targets

 將<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />去掉以後保存退出

#apt-get install mono-gmcs

#cd 

#cd mono-3.4.0

# ./configure --prefix=/usr

#make

#make install

#cd..

至此 mono -V查看版本

Mono JIT compiler version 3.4.0 (tarball Sat Jun 28 22:08:03 CST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

 

6、安裝jexus

 

#wget http://www.linuxdot.net/down/jexus-5.5.2.tar.gz

#tar -zxf jexus-5.5.2.tar.gz

#mv jexus-5.5.2 /usr/local/jexus

#cd /usr/local/jexus

#./install

Installed /usr/jexus/jxAspx2.dll into the gac (/usr/lib/mono/gac)
Installed /usr/jexus/jxAspx.dll into the gac (/usr/lib/mono/gac)
Installed /usr/jexus/jxHost2.dll into the gac (/usr/lib/mono/gac)
Installed /usr/jexus/jxHost.dll into the gac (/usr/lib/mono/gac)
OK, Jexus web server has been installed to '/usr/jexus'.

#/usr/jexus/jws start

Starting... OK

 

接下來就準備把devtext往mono上遷移了

相關文章
相關標籤/搜索