当前位置:网站首页>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
边栏推荐
- [Stanford Jiwang cs144 project] lab4: tcpconnection
- 3D reconstruction - stereo correction
- nacos
- mysql多列索引(组合索引)特点和使用场景
- Most elements
- [OBS] win capture requires winrt
- 【斯坦福计网CS144项目】Lab4: TCPConnection
- Cnopendata list data of Chinese colleges and Universities
- Wx is used in wechat applet Showtoast() for interface interaction
- [experience sharing] how to expand the cloud service icon for Visio
猜你喜欢
resource 创建包方式
Is the test cycle compressed? Teach you 9 ways to deal with it
2022茶艺师(初级)考试题模拟考试题库及在线模拟考试
nacos
A bit of knowledge - about Apple Certified MFI
LeetCode 90:子集 II
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
buuctf misc USB
Resource create package method
Numbers that appear only once
随机推荐
Rxjs - observable doesn't complete when an error occurs - rxjs - observable doesn't complete when an error occurs
Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
Installing postgresql11 database under centos7
为什么要了解现货黄金走势?
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
[Matlab] Simulink 自定义函数中的矩阵乘法工作不正常时可以使用模块库中的矩阵乘法模块代替
Cnopendata American Golden Globe Award winning data
[webrtc] m98 Screen and Window Collection
Linux server development, MySQL stored procedures, functions and triggers
【VHDL 并行语句执行】
[unity] several ideas about circular motion of objects
Regular e-commerce problems part1
leanote私有云笔记搭建
【p2p】本地抓包
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)
快速使用 Jacoco 代码覆盖率统计
ASEMI整流桥RS210参数,RS210规格,RS210封装
[UVM practice] Chapter 1: configuring the UVM environment (taking VCs as an example), run through the examples in the book
After the interview, the interviewer roast in the circle of friends
图解GPT3的工作原理