标签:
1,)从官网下载UCenter_1.6.0_SC_UTF8.zip,解压拷贝upload到www下,重命名upload->ucenter;
2,)D:\wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf 添加虚拟目录配置:
<VirtualHost *:8080> ServerAdmin admin@ucenter001.cn DocumentRoot "d:/wamp/www/ucenter" ServerName ucenter001.com ServerAlias *.ucenter001.com ErrorLog logs/ucenter001-error.log CustomLog "logs/ucenter001-access.log" common <Directory "d:/wamp/www/ucenter"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
3,)添加host配置C:\Windows\System32\drivers\etc\host最后一行添加:
127.0.0.1 www.ucenter001.com
4,)在浏览器中输入:http://www.ucenter001.com:8080/install,如果出现
找到D:\wamp\bin\php\php5.3.10\php.ini,将short_open_tag = Off改为:short_open_tag = On
; This directive determines whether or not PHP will recognize code between ; <? and ?> tags as PHP source which should be processed as such. It‘s been ; recommended for several years that you not use the short tag "short cut" and ; instead to use the full <?php and ?> tag combination. With the wide spread use ; of XML and use of these tags by other languages, the server can become easily ; confused and end up parsing the wrong code in the wrong context. But because ; this short cut has been a feature for such a long time, it‘s currently still ; supported for backwards compatibility, but we recommend you don‘t use them. ; Default Value: On ; Development Value: Off ; Production Value: Off ; http://php.net/short-open-tag short_open_tag = On
重启wampserver服务,之后刷新页面如果还是不行,就需要通过wampserver界面来勾选short_open_tag:
勾选之后,wampserver服务会自动重启,等待重启完成后,刷新页面http://www.ucenter001.com:8080/install,界面出现:
到此说明已经进入正常安装界面了,解下来点击“我同意”
进入安装界面:
点击“下一步”,进入“数据库,后台密码配置”界面:
填写配置信息完成后,点击“下一步”,将会进入自动安装数据库,修改配置文件界面,完成后界面状态为:
上边界面表明已经数据库安装成功,配置文件修改成功,到此已经安装成功,点击“安装用户中心成功,点击进入下一步”
进入“UCenter用户管理中心”后,输入密码“admin”,验证码,点击“登录”,进入后台。
到此界面,下一篇文章进行:《ucenter与ucenter home整合篇》。
标签:
原文地址:http://www.cnblogs.com/yy3b2007com/p/4823199.html