chevereto 安装教程

1.上传chevereto程序

下载chevereto程序到网站目录,chevereto下载地址为:
https://github.com/Chevereto/Chevereto-Free/archive/1.0.9.tar.gz

github地址为:
https://github.com/Chevereto/Chevereto-Free

在网站的根目录下使用wget命令下载。如下(tc.runtofuture.cn替换为你自己的网站名,后文同理):

cd /home/wwwroot/tc.runtofuture.cn
wget https://github.com/Chevereto/Chevereto-Free/archive/1.0.9.tar.gz

然后解压:

tar zvxf 1.0.9.tar.gz

2.赋权限

再执行非常重要的一步:

chown www:www -R /home/wwwroot/tc.runtofuture.cn

3.创建settings.php文件

app目录新建settings.php文件并给予可写入权限:

cd /home/wwwroot/tc.runtofuture.cn/app
touch settings.php
chmod -R 777 settings.php

4.修改配置文件

修改网站配置文件/usr/local/nginx/conf/vhost/tc.runtofuture.cn.conf,在server中添加以下代码:

location / {
try_files $uri $uri/ /index.php?$query_string;
}

然后重启Nginx,使用命令:

/etc/init.d/nginx restart
#或
lnmp restart
#或
lnmp nginx restart
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值