coldfusion 8 install on centos 5.2 安装教程

Posted by bower on June 02, 2009
coldfusion

source 分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

http://qsai.es/?esfirew=ou-peut-on-rencontrer-des-stars-a-paris&3ef=eb 研究了几天,终于成功安装了coldfusion 8
写个教程,总结一下
我用的是centos 5.2, apache 2.2.3
一定要安装httpd-devel,否则会出错.
#yum install httpd-devel
下载coldfusion 8 for linux 的bin文件,可以到adobe上下,也可到各大论坛找,
过两天,我发一个链接,自己做源.
还有KEY的破解工具,很好找.如没有破解可以用开发版,功能全只是有IP限制.
coldfusion 安装有四个选项,下面以mutisever为例
找到bin文件所在目录/
#chmod 755 coldfusion-80-lin.bin //更改权限.
#./coldfusion-80-lin.bin //开始安装
然后一步一步安装,
Platform-specific installer name? ______________________________________
Serial number for ColdFusion? ______________________________________//问你序列号,有工具可以算,
Type of installation?
___ Server configuration//这个不推荐,
_X_ Multiserver configuration
___ J2EE configuration//这个是用java的人,我不用,所以不选.
这一步我们选项Multiserver configuration
然后,一步一步安装,

go to link

go site Configure web server or use built-in web
server?
___ Configure web server for ColdFusion
___ Enable ColdFusion built-in web server
到这一步一定要选第一项,进行apache的配置.
Web server to configure? (Only if you do not
use the built-in web server.)
___ IIS
___ Apache
___ SunONE
___ Other
当然选Apache了.
然后会问你apache的三个目录,配置文件目录,安装目录,控制目录,网站根目录.照填就行
我的分别是
/etc/httpd/conf
/usr/sbin/httpd
/etc/rc.d/init.d/httpd
/var/www/html
它会有提示很好填.
然后就写用户名密码之类的,就不多说了.

dating in norway oslo 之后提安装成功,但是要安装apache connector
#cd /opt/jrun4/bin
#./cf-connector.sh
装完apache无法启动,这是文件权限问题,
httpd.conf会加进这么几句,

kushina rencontre naruto LoadModule jrun_module /opt/jrun4/lib/wsconfig/1/mod_jrun22.so
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /opt/jrun4/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51020
#JRunConfig Errorurl url <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
是/opt/jrun4/lib/wsconfig/1/mod_jrun22.so 这个文件权限不对,我改了权限,apche 可以启动但是coldfusion无法工作报500 internal server error.
终于发现这是SElinux惹的事,
解决如下
cp /opt/jrun4/lib/wsconfig/1/mod_jrun22.so /etc/httpd/modules
chcon –reference=/etc/httpd/modules/mod_auth_basic.so /etc/httpd/modules/mod_jrun22.so
chcon -u system_u /etc/httpd/modules/mod_jrun22.so
setsebool -P httpd_can_network_connect=1
edit httpd.conf to point to moved mod_jrun22.so module and put jrunserver.store in /tmp/
chcon -R -h -t httpd_sys_content_t /www/docs
还有jrunserver.store 这个文件不存在的话要自己做一个空文件就行.
也可以写proxyport=
好了,
#apachectl restart
#/opt/jrun4/bin/jrun -start cfusion
测试页面,
http://www.bowerpower.cn/helloword.cfm

enter 本文为bower原创,转载请注明来自 www.bowerpower.cn

source see url 分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

site de rencontre running 分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

2 Comments to coldfusion 8 install on centos 5.2 安装教程

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word