You cannot see this page without javascript.

CentOS7 mono 설치

CentOS 조회 수 1064 추천 수 0 2016.12.30 10:14:43

CentOS7 mono 설치

yum install yum-utils
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/

yum install mono mono-devel mono-complete xsp

cd /usr/src
git clone https://github.com/mono/mod_mono
cd mod_mono/
./autogen.sh --with-apxs=/apm/server/apache/httpd/bin/apxs --with-apr-config=/apm/server/apache/apr/bin/apr-1-config
make
make install

vi /apm/server/conf/httpd.conf
LoadModule mono_module modules/mod_mono.so

 

<VirtualHost *:80>
  ServerName example.com
  ServerAdmin admin@example.com
  ServerAlias www.example.com
  DocumentRoot /srv/www/example.com/public_html
  ErrorLog /srv/www/example.com/logs/error.log
  CustomLog /srv/www/example.com/logs/access.log combined

  MonoServerPath example.com "/usr/bin/mod-mono-server2"
  MonoDebug example.com true
  MonoSetEnv example.com MONO_IOMAP=all
  MonoApplications example.com "/:/srv/www/example.com/public_html"
  <Location "/">
    Allow from all
    Order allow,deny
    MonoSetServerAlias example.com
    SetHandler mono
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
  </Location>
  <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
  </IfModule>
</VirtualHost>

 

LoadModule mono_module /usr/local/apache/modules/mod_mono.so


#MonoServerPath /usr/local/bin/mod-mono-server2 .verbose
MonoServerPath /usr/bin/mod-mono-server4 -verbose
MonoAutoApplication enabled

AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .vb
AddType application/x-asp-net .master
AddType application/x-asp-net .sitemap
AddType application/x-asp-net .resources
AddType application/x-asp-net .skin
AddType application/x-asp-net .browser
AddType application/x-asp-net .webinfo
AddType application/x-asp-net .resx
AddType application/x-asp-net .licx
AddType application/x-asp-net .csproj
AddType application/x-asp-net .vbproj
AddType application/x-asp-net .config
AddType application/x-asp-net .Config
AddType application/x-asp-net .dll
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx

엮인글 :
https://tocup.net/xe/tech/64094/ff7/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
329 CentOS7 ▒ Doly의 CentOS7 강좌16 6. CentOS 네트워크 1 - 개념, 2 - 이더넷 설정 file [1] LynX 2014-10-23 1425
328 Server DNS [25] LynX 2015-07-16 1394
327 APM CentOS7 에서 apache에 mod_http2 적용하기 file LynX 2017-02-07 1353
326 Linux centOS FTP서버 구축 file LynX 2014-07-03 1309
325 Linux WOW server [13] LynX 2015-01-11 1265
324 PHP, Wincache를 포함해 IIS에서 XE를 설정하는 방법 file [13] LynX 2012-12-15 1140
323 윈도우 아파치 설치 [14] LynX 2013-03-23 1106
322 Windows XP XP 원본 이미지에 AHCI 드라이버 통합 file [6] LynX 2013-06-20 1069
321 CentOS7 ▒ Doly의 CentOS7 강좌4-2.CenOS 7 설치-2 file [12] LynX 2014-10-23 1066
» CentOS CentOS7 mono 설치 LynX 2016-12-30 1064
319 CentOS7 ▒ Doly의 CentOS7 강좌19 6. CentOS 네트워크 5-관련 명령어 LynX 2014-10-23 1051
318 CentOS7 ▒ Doly의 CentOS7 강좌14 5. CentOS 기본설정 1 - 키보드 및 마우스 설정 file [14] LynX 2014-10-23 1028
317 CentOS APM 소스설치 rev.2 LynX 2016-05-26 1026
316 아래아 한글 웹 미리보기 LynX 2014-06-12 1020
315 LinuxMint LinuxMint MariaDB source 설치 [12] LynX 2014-12-19 1017
314 Linux Xming 으로 X-Window 원격 접속 하기 LynX 2014-07-07 1017
313 CentOS wow 6.x 구축 [6] LynX 2015-11-30 1006
312 IIS+MSSQL+XE [9] LynX 2012-12-12 997
311 Server 서버관리/운용지침 메뉴얼 LynX 2016-05-20 990
310 Network pka파일 만드는 방법 file LynX 2016-10-24 977

XE Login