当前位置:网站首页>Thinkcmf6.0 installation tutorial
Thinkcmf6.0 installation tutorial
2022-07-07 07:56:00 【Xie Xiaoxin】
1. Go to the official website to download thinkcmf / ThinkCMF--6.0
2. Go to thinkcmf / ThinkCMF Enterprise portal solutions --> download
3. Then merge the second step file into the first step
4. use phpstudy Create a website
Good configuration nginx file
location / {
index index.php index.html index.htm;
# If the request is neither a file , It's not a directory , Then execute the rewrite rule
if (!-e $request_filename)
{
# Address as a parameter rewrite To index.php On .
rewrite ^/(.*)$ /index.php?s=$1;
# If it's a subdirectory, use the following sentence , take subdir Change it to the directory name .
#rewrite ^/subdir/(.*)$ /subdir/index.php?s=$1;
}
}
location /api/ {
index index.php index.html index.htm;
# If the request is neither a file , It's not a directory , Then execute the rewrite rule
if (!-e $request_filename)
{
# If it's a subdirectory, use the following sentence , take subdir Change it to the directory name .
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. Start the installation database
6. Remove the installer after successful installation
composer remove thinkcmf/cmf-install
边栏推荐
- 【VHDL 并行语句执行】
- Jenkins remote build project timeout problem
- php导出百万数据
- Why should we understand the trend of spot gold?
- C语言航班订票系统
- 智联+影音,AITO问界M7想干翻的不止理想One
- What is the interval in gatk4??
- Live broadcast platform source code, foldable menu bar
- Live online system source code, using valueanimator to achieve view zoom in and out animation effect
- IO stream file
猜你喜欢
随机推荐
Jenkins remote build project timeout problem
Hands on deep learning (IV) -- convolutional neural network CNN
[VHDL parallel statement execution]
[UVM basics] summary of important knowledge points of "UVM practice" (continuous update...)
为什么要了解现货黄金走势?
[UVM foundation] what is transaction
Installing postgresql11 database under centos7
leanote私有云笔记搭建
2022 welder (elementary) judgment questions and online simulation examination
MySQL multi column index (composite index) features and usage scenarios
Pytest+allure+jenkins environment -- completion of pit filling
微信小程序基本组件使用介绍
【VHDL 并行语句执行】
[UTCTF2020]file header
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
Codeforces Global Round 19
Numbers that appear only once
Cnopendata list data of Chinese colleges and Universities
大视频文件的缓冲播放原理以及实现
Live online system source code, using valueanimator to achieve view zoom in and out animation effect