ASP.NET 在线解压程序

asp.net 在线解压zip工具,支持选择当前目录zip文件或上传文件

使用方法:上传到服务器上,执行unzip.aspx,选择当前目录的zip文件或上传zip文件

验证密码默认为 www.luobotou.pw

下载地址:http://pan.baidu.com/share/link?shareid=80189643&uk=67562577

uz

源码下载:http://pan.baidu.com/share/link?shareid=111005779&uk=67562577

centos6+apache+mono+asp.net 配置

1.安装必要的运行库

yum update

yum install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel  cairo-devel

2.安装apache

wget -c http://mirror.bit.edu.cn/apache//httpd/httpd-2.4.4.tar.bz2

tar -jxvf  httpd-2.4.4.tar.bz2

cd httpd-2.4.4

./configure

make

make install

3.安装 libgdiplus

cd /usr/local/src/

wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2

tar -jxvf libgdiplus-2.10.tar.bz2

 cd libgdiplus-2.10

./configure –prefix=/opt/mono

make

make install

echo “/opt/mono/lib” > /etc/ld.so.conf.d/mono.conf

ldconfig

4.安装 mono

cd /usr/local/src/

wget http://download.mono-project.com/sources/mono/mono-2.10.8.tar.bz2

tar -jxvf mono-2.10.8.tar.bz2

cd mono-2.10.8

 ./configure –prefix=/opt/mono

make #此处时间较长

make install

echo export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig:$PKG_CONFIG_PATH>>~/.bash_profile

echo export LD_LIBRARY_PATH=/opt/mono/lib:$LD_LIBRARY_PATH>>~/.bash_profile

echo export PATH=/opt/mono/bin:$PATH>>~/.bash_profile

source ~/.bash_profile

 

输入 mono -V 如有mono版本信息,则安装成功.

 

5.安装mono xsp-2.10

 cd /usr/local/src/

wget http://download.mono-project.com/sources/xsp/xsp-2.10.tar.bz2

tar jxvf xsp-2.10.tar.bz2

cd xsp-2.10

./configure -prefix=/opt/mono

make

make install

 

6.安装mod_mono-2.10

 cd /usr/local/src/

wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2

tar jxvf mod_mono-2.10.tar.bz2

cd mod_mono-2.10

./configure -prefix=/opt/mono

make

make install

7.mod_mono配置:
cp /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/mod_mono.conf
vi /etc/httpd/conf/mod_mono.conf /加入如下配置

MonoServerPath /opt/mono/bin/mod-mono-server4

vi etc/httpd/conf.d/mod_mono.conf

加入如下配置

MonoServerPath /opt/mono/bin/mod-mono-server4

8.修改/etc/profile,在末端添加

MONO_HOME=/opt/mono
PATH=$MONO_HOME/bin:$PATH
CLASSPATH=.:$MONO_HOME/lib/
export MONO_HOME
export PATH
export CLASSPATH
9.
打开这个
http://go-mono.com/config-mod-mono/Default.aspx
输入自己的主机信息
然后把下面的配置复制出来
vim  /usr/local/apache2/conf/httpd.conf
粘贴进去。
10. /usr/local/apache2/bin/httpd -k restart

运行asp.net 出现编译器错误消息: CS0016

“/”应用程序中的服务器错误。


编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\88bd6c42\6cf9d046\App_global.asax.k0km8bvq.dll”–“拒绝访问。 ”

解决办法:

更改C:\WINDOWS\TEMP 文件夹安全属性

temp

把users的权限修
改了如图所示就搞定了

CentOS 6 安装 MONO

1.更新系统

yum update

 

2.安装必要的相关库

yum install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel  cairo-devel httpd httpd-devel

 

3.安装 libgdiplus

cd /usr/local/src/

wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2

tar -jxvf libgdiplus-2.10.tar.bz2

 cd libgdiplus-2.10

./configure –prefix=/opt/mono

make

make install

echo “/opt/mono/lib” > /etc/ld.so.conf.d/mono.conf

ldconfig

 

4.安装 mono

cd /usr/local/src/

wget http://download.mono-project.com/sources/mono/mono-2.10.8.tar.bz2

tar -jxvf mono-2.10.8.tar.bz2

cd mono-2.10.8

 ./configure –prefix=/opt/mono

make

漫长的等待…….

make install

echo export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig:$PKG_CONFIG_PATH>>~/.bash_profile

echo export LD_LIBRARY_PATH=/opt/mono/lib:$LD_LIBRARY_PATH>>~/.bash_profile

echo export PATH=/opt/mono/bin:$PATH>>~/.bash_profile

source ~/.bash_profile

 

输入 mono -V 如有mono版本信息,则安装成功.

 

5.安装mono xsp-2.10

 cd /usr/local/src/

wget http://download.mono-project.com/sources/xsp/xsp-2.10.tar.bz2

tar jxvf xsp-2.10.tar.bz2

cd xsp-2.10

./configure -prefix=/opt/mono

make

make install

 

6.安装mod_mono-2.10

 cd /usr/local/src/

wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2

tar jxvf mod_mono-2.10.tar.bz2

cd mod_mono-2.10

./configure -prefix=/opt/mono

make;

make install

 

mod_mono配置:
cp /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/mod_mono.conf
在mod_mono.conf中加入如下配置

MonoServerPath /opt/mono/bin/mod-mono-server4

 

修改/etc/profile,在末端添加

MONO_HOME=/opt/mono
PATH=$MONO_HOME/bin:$PATH
CLASSPATH=.:$MONO_HOME/lib/
export MONO_HOME
export PATH
export CLASSPATH

转自:http://www.cnblogs.com/aquilahkj/archive/2011/11/03/2234380.html