LunarPages中正确安装DEDECMS2007的方法

首先用二进制上传DEDE所有文件,至于文件权限可先不用理会。

接着进入dedecms2007的安装目录http://www.youname.com/setup/index.php,同意协议,点击下一步。

2007-12-17 12:35 PM

接着这一步就非常关键了,填写好所有的资料后不要急着点击确定。由于刚才那一步同意协议后安装程序会自动把相关目录的权限设置为777,所以我们这一步就应该利用FTP工具把相关目录改回755,具体目录如下:
setup
include
include/sessions
include/textdata
include/cache
include/cache/user
templets
templets/default
templets/system
dede/templets
upimg
upimg/allimg
upimg/flash
upimg/litimg
upimg/media
upimg/userup
当所有目录的权限修改好以后,就点击确定,这样就可以正常安装DEDE2007了。

安装的过程中,用户可能有这样的疑问,装DEDECMS2007时,为什么反而要把权限调低呢?把权限调低大概是这个原因,DEDECMS2007程序会自动改变文件夹权限(默认改成了777),但是LunarPages虚拟机根本就不需要修改权限,改了之后就会出问题,所以,得改回LunarPages默认的权限,也就是:文件夹是755,文件:644。
有些用户在安装时,可能出现如下提示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@53nei.aaa.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
——————————————————————————–
Apache/1.3.39 Server at www.53nei.org Port 80
如果用户出现如上说明,这就说明文件夹权限没有设置好,用户再仔细检查一下。有些用户安装成功了,但图片却显示不了,前台页面和后台的图都显示不了,直接输入图的URL地址,可以在IE上显示,页面调用就不行。出现这种现象,主要是用户的LunarPages空间没有设置好,用户可以把Lunarpages文件夹权限改为775即可。

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages中正确安装DEDECMS2007的方法

文章的脚注信息由WordPress的wp-posturl插件自动生成