CentOS配置安装相关常用系统
时间:2010-10-19 来源:mydear
CentOS配置安装常用系统,于是我学习研究了CentOS配置安装asp.net运行,在这里对大家详细介绍下CentOS系统应用,希望对大 家有用centos asp.net运行环境CentOS配置安装,配置系统时,开发部分除最后一个不选之外全部选上更新系统yum -y update.
安装相关的编译器
yum install glib2-devel
yum install gcc
yum install gcc-c++
yum install bison
检查是否安装了apache
apachectl
查找apache安装目录
which httpd
删除之
rm -r /usr/sbin/httpd
重新下载安装
wget http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.14.tar.bz2
tar jxvf httpd-2.2.14.tar.bz2
cd httpd-2.2.14
./configure --prefix=/usr/local/apache2 --enable-shared=max --enable-module=rewrite --with-apxs2=/usr/local/apache/bin/apxs --enable-module=so
make
make install
CentOS配置安装下载安装mono
cd ../
wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.2.3.tar.bz2
tar jxvf mono-2.4.2.3.tar.bz2
cd mono-2.4.2.3
./configure
make
make install
CentOS配置安装xsp
cd ../
wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.4.2.tar.bz2
tar jxvf xsp-2.4.2.tar.bz2
cd xsp-2.4.2
./configure
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
make
make install
CentOS配置安装mod_mono
cd ../
wget http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.4.2.tar.bz2
tar jxvf mod_mono-2.4.2.tar.bz2
cd mod_mono-2.4.2
./configure
make
make install
MonoServerPath /usr/local/bin/mod-mono-server2 –verbose
MonoAutoApplication enabled
之后重新启动apache/usr/local/apache2/bin/apachectl restart
添加测试asp.net页面,添加读权限,即可Tag标签: centos,asp.net,apache,mono,xsp