1,)从官网下载UCenter_1.6.0_SC_UTF8.zip,解压拷贝upload到www下,重命名upload->ucenter;php
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最后一行添加:apache
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 = Onide
; 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:this
勾选以后,wampserver服务会自动重启,等待重启完成后,刷新页面http://www.ucenter001.com:8080/install,界面出现:spa
到此说明已经进入正常安装界面了,解下来点击“我赞成”.net
进入安装界面:code
点击“下一步”,进入“数据库,后台密码配置”界面:server
填写配置信息完成后,点击“下一步”,将会进入自动安装数据库,修改配置文件界面,完成后界面状态为:
上边界面代表已经数据库安装成功,配置文件修改为功,到此已经安装成功,点击“安装用户中心成功,点击进入下一步”
进入“UCenter用户管理中心”后,输入密码“admin”,验证码,点击“登陆”,进入后台。
到此界面,下一篇文章进行:《ucenter与ucenter home整合篇》。