(1)下载并配置Wampserver
简介:Wampserver指的是Windows+Apache+mysql(mariaDB)+PHP服务器为一体的平台,安装它一个就相当于安装四个,非常的适用
https://www.onlinedown.net/soft/82112.htm
注意事项:①需要启动apache、mariaDB、mysql、选择php版本(不要选最高的版本,不然加载网页时会出现空白页),启动项为灰色的时候先点击安装然后再点击启动、一般表是放在mariaDB里的并非mysql里(其实这2个差不多)
②Wampserver图标要绿色的才算配置好,但凡上面有没有配置好的都会显示为红色或是橙色
③启动apache时需要关闭sql server服务
④当安装的路径不是默认路径时需要更改配置路径文件config.inc.php
(2)部署源代码
①将下载好的thinksns源代码包解压后放在Wampserver下的www文件下
②在浏览上输入127.0.0.1即可访问www下的源代码
③双击源代码文件就会自动跳到install下的index.php文件
④此时就会弹出网页装载的提示,按着提示一步步设置好,到数据库配置的时候记住你配置的数据库信息,方便后面使用
⑤完成后,重启一下,下次进去就会直接进入刚才安装好的软件界面,进行操作就行了
⑥安装Navicat 连接数据库,方便操作后台的数据,连接的数据为mariaDB而非mysql,thinksns的数据结构是放在前者中的