You cannot see this page without javascript.

CentOS7 mono 설치

CentOS 조회 수 608 추천 수 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/7b7/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수
329 APM CentOS7 에서 apache에 mod_http2 적용하기 file LynX 2017-02-07 645
328 CentOS CentOS7 WHEEL 계정 추가 file LynX 2017-02-03 127
327 APM MySQL 5.7 바이너리 Archive 설치 file LynX 2017-02-02 266
326 CentOS centos7 gcc-4.9.2 compile install LynX 2017-01-25 286
» CentOS CentOS7 mono 설치 LynX 2016-12-30 608
324 APM hhvm install file LynX 2016-12-28 225
323 APM Apache httpd 2.4 mod_deflate file LynX 2016-12-23 191
322 Server 사이트 품질 측정 website.grader.com LynX 2016-12-22 68
321 Linux linux starcraft private server build, pvpgn LynX 2016-12-06 115
320 Network pka파일 만드는 방법 file LynX 2016-10-24 233
319 APM php opcache 설치 file LynX 2016-10-14 438
318 Linux linux 시간설정 file LynX 2016-10-07 202
317 LinuxMint joystick install file LynX 2016-09-30 87
316 Linux MAME file LynX 2016-09-28 109
315 APM PHP Suhosin 설치 file LynX 2016-09-28 48
314 Xpress Engine mobileex 사용하여 모바일에서 첨부파일 올릴때 무한 로딩 현상 LynX 2016-09-27 75
313 Xpress Engine XE에 memcache 사용 설정 LynX 2016-09-23 62
312 APM php에 memcached.so 확장 모듈 적용 file LynX 2016-09-23 66
311 APM php7에 memcache.so 확장 모듈 적용 file LynX 2016-09-23 149
310 Xpress Engine xe 현재접속과 로그인 수 표시 addon 1.3.0 file LynX 2016-09-22 104

XE Login