91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

linux+mono+xsp+apache搭建asp.net環境

發布時間:2020-10-09 18:20:35 來源:網絡 閱讀:3404 作者:huilinux 欄目:編程語言

環境:

系統:centos 6.5  x64

libgdiplus-2.10.9

mono-3.4.0

jexus-5.5.2

=========================

1、安裝必要的庫

# 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、安裝xsp

# wget https://github.com/mono/xsp/archive/3.0.11.tar.gz

  

# tar -zxf 3.0.11

# cd xsp-3.0.11/

# ./autogen.sh --prefix=/usr/local/mono/

 

xsp-3.0

  Build Environment

    Install prefix:          /usr/local/mono

    Datadir:                 /usr/local/mono/share

    Libdir:                  /usr/local/mono/lib

    Build documentation:     yes

    Mono 2.0 compiler:       /usr/local/mono/bin/gmcs

    Mono 4.0 compiler:       /usr/local/mono/bin/dmcs

    Target frameworks:       .NET 2.0, .NET 4.0

    Build SQLite samples:    yes

 

# make && make install

 

測試啟動一個臨時的asp.net服務器

# /usr/local/mono/bin/xsp4

xsp4

Listening on address: 0.0.0.0

Root directory: /usr/local/mono/bin

Listening on port: 8080 (non-secure)

Hit Return to stop the server.

linux+mono+xsp+apache搭建asp.net環境 

 

5、安裝mod_mono

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

# tar -jxf mod_mono-2.10.tar.bz2

# cd mod_mono-2.10

# ./configure --prefix=/usr/local/mono

 

Configuration summary for mod_mono

   * Installation prefix = /usr/local/mono

   * Apache version = 2.2

   * Apache modules directory = /usr/lib64/httpd/modules

   * apxs = /usr/sbin/apxs

   * apr-config = /usr/bin/apr-1-config

   * apu-config = /usr/bin/apu-1-config

   * CFLAGS = -g -O2 -I/usr/include/httpd -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -pthread  -I/usr/include/apr-1   -pthread  -I/usr/include/apr-1

   * Verbose logging (debug) = no

   * GCOV options used = no

   * Profiling enabled = no

   * mono prefix = /usr/local/mono/lib/pkgconfig/../..

   * Default MonoApplicationsConfigDir = /etc/httpd/conf/mod-mono-applications

 

# make && make install

 

# vim /etc/httpd/conf/mod_mono.conf

文件最后添加

MonoServerPath /usr/local/mono/bin/mod-mono-server4

 

# vim /etc/httpd/conf/httpd.conf

Include conf.d/*.conf                           系統默認存在

Include conf/mod_mono.conf                 新添加

 

6、測試

# vim /var/www/html/default.aspx

<%="hello-mono in linux"%>

#  /etc/init.d/httpd restart

linux+mono+xsp+apache搭建asp.net環境

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

徐州市| 上蔡县| 泉州市| 两当县| 怀宁县| 六枝特区| 视频| 镶黄旗| 左贡县| 泰安市| 县级市| 漳浦县| 江陵县| 昌平区| 闽清县| 英山县| 娄底市| 黄龙县| 洛扎县| 谢通门县| 依安县| 讷河市| 海淀区| 望都县| 壶关县| 二手房| 岗巴县| 横峰县| 石河子市| 博野县| 新野县| 湖州市| 徐水县| 沾益县| 海兴县| 麻栗坡县| 樟树市| 大同市| 丹阳市| 区。| 鞍山市|