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 APM 설치 LynX 2013-03-25 89
48 윈도우 아파치 설치 [14] LynX 2013-03-23 1108
47 APMSetup 7 file LynX 2013-03-22 101
46 웹 프린트 작업시 픽셀과 밀리미터간의 상관관계 (1mm=3.8px ) [8] LynX 2013-03-15 165
45 웹 페이지의 원하는 테이블만 프린트 LynX 2013-03-15 112
44 FLV 에서 MP3 추출 file LynX 2012-12-23 41
43 CRM 2011 설치 file LynX 2012-12-15 29
42 PHP, Wincache를 포함해 IIS에서 XE를 설정하는 방법 file [13] LynX 2012-12-15 1152
41 mms 스트리밍 파일 다운로드 file LynX 2012-12-12 623
40 IIS+MSSQL+XE [9] LynX 2012-12-12 999
39 URL 재작성 [8] LynX 2012-12-12 96
38 PHP 5.3 + MSSQL 연동 [2] LynX 2012-12-08 529
37 ODBC 오류 LynX 2012-12-08 75
36 Linux 10 - NFS,apache file [10] LynX 2012-11-29 188
35 Linux 09 - FTP.FTP Tunneling,cifs file [9] LynX 2012-11-29 112
34 Linux 08 - DNS서버 file LynX 2012-11-29 109
33 Linux 07 - DHCP file [10] LynX 2012-11-29 117
32 Linux 06 - SCP,SFTP,Vncserver file [1] LynX 2012-11-29 238
31 Linux 05 - SSH,Xshell설치,암호화 file [11] LynX 2012-11-29 226
30 Linux 04 - 와이어샤크,접근제어,방화벽,텔넷,패킷 file [12] LynX 2012-11-29 458

XE Login