1 Macbook安装docker
1 | 1 官网直接下载安装包 https://download.docker.com/mac/stable/Docker.dmg |
2 运行一个nginx
1 | $ docker run -d -p 80:80 --name webserver nginx |
浏览器打开 http://localhost 能看到 nginx的欢迎页面
3 附加:Centos如何安装最新版Docker
1 | yum -y install yum-utils |
热爱技术 热爱生活
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true