1、安裝必要的庫(kù)
成都創(chuàng)新互聯(lián)公司專注為客戶提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站、丁青網(wǎng)絡(luò)推廣、微信小程序、丁青網(wǎng)絡(luò)營(yíng)銷、丁青企業(yè)策劃、丁青品牌公關(guān)、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運(yùn)營(yíng)等,從售前售中售后,我們都將竭誠(chéng)為您服務(wù),您的肯定,是我們最大的嘉獎(jiǎng);成都創(chuàng)新互聯(lián)公司為所有大學(xué)生創(chuàng)業(yè)者提供丁青建站搭建服務(wù),24小時(shí)服務(wù)熱線:028-86922220,官方網(wǎng)址:aaarwkj.com
# yum install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel cairo-devel httpd httpd-devel
2、安裝libgdiplus
# wget http://download.mono-project.com/sources/libgdiplus-1.1/libgdiplus-2.10.9.tar.bz2
# tar -jxvf libgdiplus-2.10.9.tar.bz2
# cd libgdiplus-2.10.9
# ./configure --prefix=/usr/local/mono
# make && make install
# echo "/usr/local/mono/lib/" > /etc/ld.so.conf.d/mono.conf
# ldconfig
3、安裝mono
# wget http://download.mono-project.com/sources/mono/mono-3.4.0.tar.bz2
# tar -jxf mono-3.4.0.tar.bz2
# cd mono-3.4.0
# ./configure --prefix=/usr/local/mono/
# make && make install
# echo export PKG_CONFIG_PATH=/usr/local/mono/lib/pkgconfig:$PKG_CONFIG_PATH >> ~/.bash_profile
# echo export LD_LIBRARY_PATH=/usr/local/mono/lib:$LD_LIBRARY_PATH >> ~/.bash_profile
# echo export PATH=/usr/local/mono/bin:$PATH >> ~/.bash_profile
# source ~/.bash_profile
# mono -V 有版本信息,則安裝成功。
4、安裝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/local/mono/lib/mono/gac)
Installed /usr/jexus/jxAspx.dll into the gac (/usr/local/mono/lib/mono/gac)
Installed /usr/jexus/jxHost2.dll into the gac (/usr/local/mono/lib/mono/gac)
Installed /usr/jexus/jxHost.dll into the gac (/usr/local/mono/lib/mono/gac)
OK, Jexus web server has been installed to '/usr/jexus'.
# /usr/jexus/jws start
Starting ... OK
4、測(cè)試
# mkdir /var/www/default
這個(gè)是jexus默認(rèn)web根目錄,/usr/jexus/siteconf/default這個(gè)文件中定義。
# vim /var/www/default/index.aspx
<%="hello-mono in linux"%>
# /usr/jexus/jws restart
標(biāo)題名稱:linux+mono+jexus搭建asp.net環(huán)境
網(wǎng)址分享:http://aaarwkj.com/article6/jposig.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)、全網(wǎng)營(yíng)銷推廣、App開發(fā)、網(wǎng)站導(dǎo)航、網(wǎng)站建設(shè)、移動(dòng)網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)