本文介绍使用Debian(stretch)+nginx(1.10)+typecho+sqlite3搭建轻量级博客系统。
环境:Debian(stretch)+nginx(1.10)+sqlite3
安装Debian stretch
我的debian系统是之前安装,一直在用。Debian系统的安装教程可参考官网或者直接百度一下。
安装nginx
命令行直接安装
sudo aptitude install nginx
配置nginx
修改/etc/nginx/sites-available下的default文件,修改后的文件内容如下:
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;
server_name _;
location / {
# First attempt to serve req


7173

被折叠的 条评论
为什么被折叠?



