Logs

records, if any


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 搜索

重建过程

发表于 2018-08-05 | 分类于 linux
  1. 刷16.04/18.04 biotic beaver 实测开机慢30s左右
  2. 选主机. 这次买的bandwagon, 获得分配的ip和port
  3. django环境在本地搭好,参考zmrenwu的博客,virtualenv中装好django,python3.x等,localhost确认网页正常运行
  4. vps上console或本地直连ssh,创建新user取代root,分配权限.默认情况下所有ubuntu机全有openssh,不需额外安装
  5. ssh后进行nginx部署,修改系统config等操作,从github上pull已经完成的代码
  6. 调试,blog完成
  7. 分别下载hexo,next并将hexo中config调成next主题
  8. 修改next的config达到合适效果,修改hexo的config的deploy部分,下载next需要的部署插件,nodejs等
  9. 上传.

在next中添加gitment评论

发表于 2018-08-05 | 分类于 website

这次是关于在next中添加gitment评论.
其实next已经完全帮用户嵌入好了,几乎不需要任何操作,只需要在_config.yml中把
gitment状态调成enable,如果刷新之后没有显示,注意检查其他评论插件是否同时被开启,关闭之后即OK.

hexo categories和tags页面不显示解决办法

发表于 2018-08-03 | 分类于 webiste

摘自LuisChen的博客

1.默认是没有 categories 和 tags 的需要

1
2
hexo new page "tags"
hexo new page "categories"

2.编辑 /tags/index.md 以及/categories/index.md

1
2
type: "tags"
layout: "tags"

1
2
type: "categories"
layout: "categories"

SSH :connect to host localhost port 22 Connection refused

发表于 2018-08-03 | 分类于 vps

这次用的bandwagon,购买成功后系统分配地址与端口,在本地如果出现上述情况,检查是否在command中
附上-p, 因为默认端口是22.

1
ssh -p xxxx root@xxx.xxx.xxx.xxx

Hello World

发表于 2018-08-03

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

dabaitudiu

dabaitudiu

5 日志
4 分类
5 标签
© 2018 dabaitudiu
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.4
阅读次数