当前位置:网站首页>Thinkcmf6.0安装教程
Thinkcmf6.0安装教程
2022-07-07 04:38:00 【邪小新】
1.去官网下载thinkcmf / ThinkCMF--6.0

2. 去 thinkcmf / ThinkCMF企业门户解决方案-->下载

3.然后把第二步文件合并到第一步哪里
4.用phpstudy创建网站
配置好nginx文件
location / {
index index.php index.html index.htm;
#如果请求既不是一个文件,也不是一个目录,则执行一下重写规则
if (!-e $request_filename)
{
#地址作为将参数rewrite到index.php上。
rewrite ^/(.*)$ /index.php?s=$1;
#若是子目录则使用下面这句,将subdir改成目录名称即可。
#rewrite ^/subdir/(.*)$ /subdir/index.php?s=$1;
}
}
location /api/ {
index index.php index.html index.htm;
#如果请求既不是一个文件,也不是一个目录,则执行一下重写规则
if (!-e $request_filename)
{
#若是子目录则使用下面这句,将subdir改成目录名称即可。
rewrite ^/api/(.*)$ /api.php?s=$1;
}
}
location ~* ^\/upload\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/plugins\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/themes\/.+\.(html|php)$ {
return 404;
}5.启动安装数据库
6.安装成功后删除安装程序
composer remove thinkcmf/cmf-install

边栏推荐
- 2022 simulated examination question bank and online simulated examination of tea master (primary) examination questions
- Leanote private cloud note building
- 探索Cassandra的去中心化分布式架构
- JS plot flot application - simple curve
- Iterable、Collection、List 的常见方法签名以及含义
- Numbers that appear only once
- Qt学习28 主窗口中的工具栏
- 【数学笔记】弧度
- php导出百万数据
- Common method signatures and meanings of Iterable, collection and list
猜你喜欢
![[mathematical notes] radian](/img/43/2af510adb24fe46fc0033d11d60488.jpg)
[mathematical notes] radian

2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct

A bit of knowledge - about Apple Certified MFI
![[2022 ciscn] replay of preliminary web topics](/img/1c/4297379fccde28f76ebe04d085c5a4.png)
[2022 ciscn] replay of preliminary web topics

2022茶艺师(初级)考试题模拟考试题库及在线模拟考试
![[SUCTF 2019]Game](/img/9c/362117a4bf3a1435ececa288112dfc.png)
[SUCTF 2019]Game

Is the test cycle compressed? Teach you 9 ways to deal with it

After the interview, the interviewer roast in the circle of friends

为什么要了解现货黄金走势?

有 Docker 谁还在自己本地安装 Mysql ?
随机推荐
[2022 actf] Web Topic recurrence
Operation suggestions for today's spot Silver
微信小程序中使用wx.showToast()进行界面交互
Pytest+allure+jenkins environment -- completion of pit filling
php导出百万数据
[Stanford Jiwang cs144 project] lab4: tcpconnection
智联+影音,AITO问界M7想干翻的不止理想One
Tianqing sends instructions to bypass the secondary verification
Solve could not find or load the QT platform plugin "xcb" in "
Redis technology leak detection and filling (II) - expired deletion strategy
mysql多列索引(组合索引)特点和使用场景
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
Explore Cassandra's decentralized distributed architecture
Jenkins远程构建项目超时的问题
Linux server development, MySQL process control statement
自定义类加载器加载网络Class
【斯坦福计网CS144项目】Lab3: TCPSender
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
【p2p】本地抓包
2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案