typecho安装教程

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_28616789/article/details/79339520

1、搭建web环境

具体可见:
http://blog.csdn.net/qq_28616789/article/details/79262597
这是军哥的一键LNMP环境搭建。所以,下面安装Typecho也是在此环境下。

2、添加网站

具体可见:
http://blog.csdn.net/qq_28616789/article/details/79266249
这里写图片描述
这一步直接回车,选择other。

3、伪静态设置

进入/usr/local/nginx/conf/vhost 编辑yourdomain.conf
(1). 将

include other.conf

替换为

include typecho.conf

(2). 将

include enable-php.conf;

替换为

include enable-php-pathinfo.conf;

然后重启Nginx,使用命令:

/etc/init.d/nginx restart
#或
lnmp restart
#或
lnmp nginx restart

到这里,你就可以打开你的网站进行各种设置了!

猜你喜欢

转载自blog.csdn.net/qq_28616789/article/details/79339520