异次元发卡(荔枝发卡)搭建教程——图文版

前言

异次元是免费全开源的发卡系统,二次元类型的发卡系统
本篇将详细介绍该系统的搭建教程
相关链接放在文章最后(源码、演示站、文档)

个人使用体验:

  1. 基础功能足够轻度使用
  2. 绝大部分插件、模板都要收费(19.9元+),就连基础的支付插件也要收费
  3. 二次元的界面确实好看
  4. UI也很不错

界面展示

搭建准备

  1. 安装了LNMP/LAMP环境宝塔的服务器
  2. 域名一个
  3. 脑子一个

环境要求

  1. PHP>=8.0
  2. MySQL>=5.6

搭建教程

1.创建一个PHP项目的网站,填上你的域名,创建你的数据库,选择PHP8.0

图片[11]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

2.申请并部署SSL,这会使你的网站更快更安全

图片[12]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

3.设置伪静态(PS:Apache无需配置)

图片[13]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客
  • Apache伪静态规则:无需配置,规则就是程序根目录的.htaccess文件
  • Nginx伪静态规则
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
location / {
      if (!-e $request_filename){
              rewrite ^(.*)$ /index.php?s=$1 last; break;
      }
}
location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }
  • Windows IIS 伪静态规则:
<rules>
<rule name="acg_rewrite" stopProcessing="true">
<match url="^(.*)$"/>
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$"/>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php?s={R:1}"/>
</rule>
</rules>
<rules>
  <rule name="acg_rewrite" stopProcessing="true">
      <match url="^(.*)$"/>
      <conditions logicalGrouping="MatchAll">
          <add input="{HTTP_HOST}" pattern="^(.*)$"/>
          <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
          <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
      </conditions>
      <action type="Rewrite" url="index.php?s={R:1}"/>
  </rule>
</rules>
<rules> <rule name="acg_rewrite" stopProcessing="true"> <match url="^(.*)$"/> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_HOST}" pattern="^(.*)$"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> </conditions> <action type="Rewrite" url="index.php?s={R:1}"/> </rule> </rules>

4.上传并解压文件到你的网站目录(PS:文件在文章末尾)

图片[14]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

5.在浏览器中访问你的网站域名进行安装

6.填写数据库信息

图片[16]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

7.填写自己的信息,登陆后台会用到

图片[17]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

8.填写自己的信息,登陆后台会用到

图片[18]-异次元发卡(荔枝发卡)搭建教程——图文版-大海博客

相关链接

© 版权声明
THE END
喜欢就支持一下吧
点赞8赞赏 分享
There's only one corner of the universe you can be sure of improving, and that's your own self.
这个宇宙中只有一个角落你肯定可以改进,那就是你自己
评论 共7条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复
    • 头像achunlen0
    • 头像bbbb0