debain上安裝mono3.4.0和jexus5.5.2

來源:互聯網
上載者:User

標籤:blog   http   get   strong   檔案   2014   

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

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

一、更新系統

#apt-get update

#apt-get upgrade

二、構建編譯環境

#apt-get install build-essential

#apt-get install automake autoconf

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

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

三、安裝其它庫檔案

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

四、下載源檔案及解壓

#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

五、安裝libgdiplus和mono

1、安裝libgdiplus

#cd libgdiplus-2.10

# ./configure --prefix=/usr

#make

#make install

cd..

2、安裝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

 

六、安裝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上遷移了

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.