You cannot see this page without javascript.

CentOS7 mono 설치

CentOS 조회 수 1327 추천 수 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

엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
49 Windows Windows Server 2012 - .NET Framework 1.x 미지원 LynX 2014-05-29 155
48 Linux How to install libc-client-devel [2] LynX 2014-11-21 151
47 Linux Linux 파티션 file LynX 2014-06-25 149
46 Programing make - 03 make의 사용 file LynX 2017-02-22 148
45 Programing make - 06 make 규칙 LynX 2017-02-22 146
44 Linux 리눅스 사용 기초 - 04 bash 셸 사용하기 LynX 2017-02-17 146
43 Network vpn LynX 2016-06-29 144
42 APM MySql 설치 다른버전 LynX 2013-12-26 143
41 Xyview DVR서버 연결 [8] LynX 2012-04-19 142
40 Linux vi 명령어 LynX 2013-09-02 135
39 HP Officejet 6500A (Plus) 호환 드라이버 [8] LynX 2012-05-16 135
38 Media 다수의 그림파일 PDF변환 file LynX 2013-12-13 134
37 Linux 하위 디렉토리 문자열 일괄검색,치환 LynX 2016-08-24 133
36 Linux 리눅스 사용 기초 - 01 명령어 구조와 명령어 쉽게 사용하기 LynX 2017-02-17 132
35 Programing make - 04 매크로 file LynX 2017-02-22 131
34 윈도우7 알수없는장치 file [8] LynX 2012-03-13 128
33 32bit Driver을 64bi로 설치하기 [8] LynX 2011-06-21 126
32 Programing Magic Square (마방진) - 마방진코드와 나의 생각 03 LynX 2016-08-09 123
31 Linux 07 - DHCP file [10] LynX 2012-11-29 117
30 APM http 프로토콜 https 로 리다이렉션 LynX 2017-07-14 115

XE Login