chevereto 安装记录
1.上传chevereto程序
github地址为:
https://github.com/Chevereto/Chevereto-Free
2.在网站的根目录下使用wget命令下载。如下(tu.xxoo.net替换为你自己的网站名,后文同理):
cd /home/wwwroot/tu.xxoo.net
wget https://github.com/Chevereto/Chevereto-Free/archive/1.0.9.tar.gz
3.解压缩
tar zvxf 1.0.9.tar.gz
5.赋权限
chown www:www -R /home/wwwroot/tu.xxoo.net
6.在app目录新建settings.php文件并给予可写入权限
cd /home/wwwroot/tu.xxoo.net/app
touch settings.php
chmod -R 777 settings.php
7.修改网站配置文件
/usr/local/nginx/conf/vhost/tu.xxoo.net.conf 添加以下代码
location / {
try_files $uri $uri/ /index.php?$query_string;
}
8.重启Nginx
/etc/init.d/nginx restart