Target OS
I want packege install!
- ubuntu
ready!
- centos7
ready!
- amazonlinux
libpng15 unsuported... but I have WA
Notfound libpng15 WA
Search libpng15
rpm via google, so Download & install. You must install fc2x 's rpm. DO NOT install libpng-15.x.y.rpm
.
wget ftp://fr2.rpmfind.net/linux/fedora/linux/updates/23/x86_64/l/libpng15-1.5.25-1.fc23.x86_64.rpm
yum install libpng15-1.5.25-1.fc23.x86_64.rpm
Normal install..
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-complete
Run ASP.NET
install xsp & nginx
yum install xsp nginx
config nginx for fast-cgi
server {
listen 80;
server_name www.domain1.xyz;
access_log /var/log/nginx/your.domain1.xyz.access.log;
location / {
root /var/www/www.domain1.xyz/;
index index.html index.htm default.aspx Default.aspx;
fastcgi_index Default.aspx;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
}
}
xsp (fastcgi) init script
But, upstart more better.
xps (fastcgi) upstart & config.xml
/etc/init/monofastcgi.conf
description "monoserver"
author "hisatoshi imaoka <imaoka@cloudpack.jp>"
start on runlevel [2345]
stop on runlevel [016]
exec /usr/bin/fastcgi-mono-server4 --config-file="/etc/monofastcgi/monofastcgi.xml"
/etc/monofastcgi/monofastcgi.xml
<Settings>
<Setting Name="applications" Value="/app1:/var/www/app1" />
<Setting Name="socket" Value="tcp:127.0.0.1:9000" />
<Setting Name="logfile" Value="/var/log/mono/fastcgi.log" />
<Setting Name="loglevels" Value="Standard" />
</Settings>
HyperFastCGI
Env-values
@ default configure
LD_LIBRARY_PATH=/usr/local/lib
MONO_GAC_PREFIX=/usr/local
nginx
fastcgi_keep_conn on;