当前位置:网站首页>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
边栏推荐
猜你喜欢
Iterable、Collection、List 的常见方法签名以及含义
resource 创建包方式
IO stream file
QT learning 28 toolbar in the main window
What are the positions of communication equipment manufacturers?
Cnopendata American Golden Globe Award winning data
自定义类加载器加载网络Class
ASEMI整流桥RS210参数,RS210规格,RS210封装
[SUCTF 2019]Game
《动手学深度学习》(四) -- 卷积神经网络 CNN
随机推荐
mysql多列索引(组合索引)特点和使用场景
JS plot flot application - simple curve
通信设备商,到底有哪些岗位?
nacos
Is the test cycle compressed? Teach you 9 ways to deal with it
idea添加类注释模板和方法模板
有 Docker 谁还在自己本地安装 Mysql ?
2022 simulated examination question bank and online simulated examination of tea master (primary) examination questions
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
Six methods of flattening arrays with JS
2022 welder (elementary) judgment questions and online simulation examination
gslx680触摸屏驱动源码码分析(gslX680.c)
Wechat applet data binding multiple data
@component(““)
Use and analysis of dot function in numpy
[advanced digital IC Verification] command query method and common command interpretation of VCs tool
自定义类加载器加载网络Class
Codeforces Global Round 19
vus. Precautions for SSR requesting data in asyndata function
Qt学习28 主窗口中的工具栏