参考资料

1
2
3
4
5
6
7
https://www.jianshu.com/p/fd233d967e88
https://segmentfault.com/a/1190000005624504
https://github.com/theme-next/hexo-theme-next
https://zhiho.github.io/2015/09/29/hexo-next/
http://theme-next.iissnan.com/getting-started.html
https://blog.csdn.net/q2158798/article/details/82354154
https://www.jianshu.com/p/f068b8a36d84

基础环境

npm

1
2
[root@wordpross ~]# npm -v
3.10.10

node

1
2
[root@wordpross ~]# node -v
v6.17.1

hexo

1
2
3
4
5
6
7
8
9
10
11
12
13
[root@wordpross ~]# hexo version
hexo-cli: 2.0.0
os: Linux 3.10.0-862.14.4.el7.x86_64 linux x64
http_parser: 2.8.0
node: 6.17.1
v8: 5.1.281.111
uv: 1.30.1
zlib: 1.2.7
ares: 1.10.1-DEV
icu: 50.1.2
modules: 48
napi: 3
openssl: 1.0.2k-fips

初始化hexo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
[root@wordpross ~]# hexo init blog
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
Cloning into '/root/blog'...
remote: Enumerating objects: 77, done.
remote: Total 77 (delta 0), reused 0 (delta 0), pack-reused 77
Unpacking objects: 100% (77/77), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into 'themes/landscape'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 953 (delta 19), reused 20 (delta 8), pack-reused 910
Receiving objects: 100% (953/953), 3.16 MiB | 155.00 KiB/s, done.
Resolving deltas: 100% (507/507), done.
Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350'
INFO Install dependencies
npm WARN deprecated core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
hexo-site@0.0.0 /root/blog
├─┬ hexo@3.9.0
│ ├── abbrev@1.1.1
│ ├── archy@1.0.0
│ ├── bluebird@3.5.5
│ ├─┬ chalk@2.4.2
│ │ ├─┬ ansi-styles@3.2.1
│ │ │ └─┬ color-convert@1.9.3
│ │ │ └── color-name@1.1.3
│ │ ├── escape-string-regexp@1.0.5
│ │ └─┬ supports-color@5.5.0
│ │ └── has-flag@3.0.0
│ ├─┬ cheerio@0.22.0
│ │ ├─┬ css-select@1.2.0
│ │ │ ├── boolbase@1.0.0
│ │ │ ├── css-what@2.1.3
│ │ │ ├── domutils@1.5.1
│ │ │ └── nth-check@1.0.2
│ │ ├─┬ dom-serializer@0.1.1
│ │ │ └── domelementtype@1.3.1
│ │ ├── entities@1.1.2
│ │ ├─┬ htmlparser2@3.10.1
│ │ │ ├── domhandler@2.4.2
│ │ │ ├── inherits@2.0.4
│ │ │ └─┬ readable-stream@3.4.0
│ │ │ ├── string_decoder@1.2.0
│ │ │ └── util-deprecate@1.0.2
│ │ ├── lodash.assignin@4.2.0
│ │ ├── lodash.bind@4.2.1
│ │ ├── lodash.defaults@4.2.0
│ │ ├── lodash.filter@4.6.0
│ │ ├── lodash.flatten@4.4.0
│ │ ├── lodash.foreach@4.5.0
│ │ ├── lodash.map@4.6.0
│ │ ├── lodash.merge@4.6.2
│ │ ├── lodash.pick@4.4.0
│ │ ├── lodash.reduce@4.6.0
│ │ ├── lodash.reject@4.6.0
│ │ └── lodash.some@4.6.0
│ ├─┬ hexo-cli@2.0.0
│ │ ├── acorn@6.2.1
│ │ ├── command-exists@1.2.8
│ │ └── minimist@1.2.0
│ ├── hexo-front-matter@0.2.3
│ ├─┬ hexo-fs@1.0.2
│ │ ├─┬ chokidar@2.1.6
│ │ │ ├─┬ anymatch@2.0.0
│ │ │ │ ├─┬ micromatch@3.1.10
│ │ │ │ │ ├── arr-diff@4.0.0
│ │ │ │ │ ├─┬ define-property@2.0.2
│ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │ ├── is-accessor-descriptor@1.0.0
│ │ │ │ │ │ └── is-data-descriptor@1.0.0
│ │ │ │ │ ├─┬ extend-shallow@3.0.2
│ │ │ │ │ │ ├── assign-symbols@1.0.0
│ │ │ │ │ │ └── is-extendable@1.0.1
│ │ │ │ │ ├─┬ extglob@2.0.4
│ │ │ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │ │ ├── is-accessor-descriptor@1.0.0
│ │ │ │ │ │ │ └── is-data-descriptor@1.0.0
│ │ │ │ │ │ ├─┬ expand-brackets@2.1.4
│ │ │ │ │ │ │ ├── define-property@0.2.5
│ │ │ │ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ │ │ │ └── posix-character-classes@0.1.1
│ │ │ │ │ │ └── extend-shallow@2.0.1
│ │ │ │ │ ├── fragment-cache@0.2.1
│ │ │ │ │ ├── kind-of@6.0.2
│ │ │ │ │ ├─┬ nanomatch@1.2.13
│ │ │ │ │ │ └── is-windows@1.0.2
│ │ │ │ │ ├── object.pick@1.3.0
│ │ │ │ │ └── regex-not@1.0.2
│ │ │ │ └─┬ normalize-path@2.1.1
│ │ │ │ └── remove-trailing-separator@1.1.0
│ │ │ ├── async-each@1.0.3
│ │ │ ├─┬ braces@2.3.2
│ │ │ │ ├── arr-flatten@1.1.0
│ │ │ │ ├── array-unique@0.3.2
│ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ └── is-extendable@0.1.1
│ │ │ │ ├─┬ fill-range@4.0.0
│ │ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ │ ├─┬ is-number@3.0.0
│ │ │ │ │ │ └─┬ kind-of@3.2.2
│ │ │ │ │ │ └── is-buffer@1.1.6
│ │ │ │ │ ├── repeat-string@1.6.1
│ │ │ │ │ └── to-regex-range@2.1.1
│ │ │ │ ├── repeat-element@1.1.3
│ │ │ │ ├─┬ snapdragon@0.8.2
│ │ │ │ │ ├─┬ base@0.11.2
│ │ │ │ │ │ ├─┬ cache-base@1.0.1
│ │ │ │ │ │ │ ├─┬ collection-visit@1.0.0
│ │ │ │ │ │ │ │ ├── map-visit@1.0.0
│ │ │ │ │ │ │ │ └── object-visit@1.0.1
│ │ │ │ │ │ │ ├── get-value@2.0.6
│ │ │ │ │ │ │ ├─┬ has-value@1.0.0
│ │ │ │ │ │ │ │ └─┬ has-values@1.0.0
│ │ │ │ │ │ │ │ └── kind-of@4.0.0
│ │ │ │ │ │ │ ├─┬ set-value@2.0.1
│ │ │ │ │ │ │ │ └── extend-shallow@2.0.1
│ │ │ │ │ │ │ ├─┬ to-object-path@0.3.0
│ │ │ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ │ │ ├── union-value@1.0.1
│ │ │ │ │ │ │ └─┬ unset-value@1.0.0
│ │ │ │ │ │ │ └─┬ has-value@0.3.1
│ │ │ │ │ │ │ ├── has-values@0.1.4
│ │ │ │ │ │ │ └── isobject@2.1.0
│ │ │ │ │ │ ├─┬ class-utils@0.3.6
│ │ │ │ │ │ │ ├── arr-union@3.1.0
│ │ │ │ │ │ │ ├── define-property@0.2.5
│ │ │ │ │ │ │ └─┬ static-extend@0.1.2
│ │ │ │ │ │ │ ├── define-property@0.2.5
│ │ │ │ │ │ │ └─┬ object-copy@0.1.0
│ │ │ │ │ │ │ ├── copy-descriptor@0.1.1
│ │ │ │ │ │ │ ├── define-property@0.2.5
│ │ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ │ ├── component-emitter@1.3.0
│ │ │ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │ │ ├── is-accessor-descriptor@1.0.0
│ │ │ │ │ │ │ └── is-data-descriptor@1.0.0
│ │ │ │ │ │ ├─┬ mixin-deep@1.3.2
│ │ │ │ │ │ │ ├── for-in@1.0.2
│ │ │ │ │ │ │ └── is-extendable@1.0.1
│ │ │ │ │ │ └── pascalcase@0.1.1
│ │ │ │ │ ├─┬ define-property@0.2.5
│ │ │ │ │ │ └─┬ is-descriptor@0.1.6
│ │ │ │ │ │ ├─┬ is-accessor-descriptor@0.1.6
│ │ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ │ ├─┬ is-data-descriptor@0.1.4
│ │ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ │ └── kind-of@5.1.0
│ │ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ │ ├── map-cache@0.2.2
│ │ │ │ │ ├─┬ source-map-resolve@0.5.2
│ │ │ │ │ │ ├── atob@2.1.2
│ │ │ │ │ │ ├── decode-uri-component@0.2.0
│ │ │ │ │ │ ├── resolve-url@0.2.1
│ │ │ │ │ │ ├── source-map-url@0.4.0
│ │ │ │ │ │ └── urix@0.1.0
│ │ │ │ │ └── use@3.1.1
│ │ │ │ ├─┬ snapdragon-node@2.1.1
│ │ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │ ├── is-accessor-descriptor@1.0.0
│ │ │ │ │ │ └── is-data-descriptor@1.0.0
│ │ │ │ │ └─┬ snapdragon-util@3.0.1
│ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ ├── split-string@3.1.0
│ │ │ │ └─┬ to-regex@3.0.2
│ │ │ │ └─┬ safe-regex@1.1.0
│ │ │ │ └── ret@0.1.15
│ │ │ ├─┬ glob-parent@3.1.0
│ │ │ │ ├── is-glob@3.1.0
│ │ │ │ └── path-dirname@1.0.2
│ │ │ ├─┬ is-binary-path@1.0.1
│ │ │ │ └── binary-extensions@1.13.1
│ │ │ ├─┬ is-glob@4.0.1
│ │ │ │ └── is-extglob@2.1.1
│ │ │ ├── normalize-path@3.0.0
│ │ │ ├── path-is-absolute@1.0.1
│ │ │ ├─┬ readdirp@2.2.1
│ │ │ │ └─┬ readable-stream@2.3.6
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── isarray@1.0.0
│ │ │ │ ├── process-nextick-args@2.0.1
│ │ │ │ └── string_decoder@1.1.1
│ │ │ └── upath@1.1.2
│ │ └── graceful-fs@4.2.0
│ ├─┬ hexo-i18n@0.2.1
│ │ └── sprintf-js@1.0.3
│ ├─┬ hexo-log@0.2.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └── supports-color@2.0.0
│ │ └─┬ hexo-bunyan@1.0.0
│ │ ├─┬ mv@2.1.1
│ │ │ ├── ncp@2.0.0
│ │ │ └─┬ rimraf@2.4.5
│ │ │ └── glob@6.0.4
│ │ └── safe-json-stringify@1.2.0
│ ├─┬ hexo-util@0.6.3
│ │ ├─┬ camel-case@3.0.0
│ │ │ ├─┬ no-case@2.3.2
│ │ │ │ └── lower-case@1.1.4
│ │ │ └── upper-case@1.1.3
│ │ ├─┬ cross-spawn@4.0.2
│ │ │ ├─┬ lru-cache@4.1.5
│ │ │ │ ├── pseudomap@1.0.2
│ │ │ │ └── yallist@2.1.2
│ │ │ └─┬ which@1.3.1
│ │ │ └── isexe@2.0.0
│ │ ├── highlight.js@9.15.8
│ │ ├── html-entities@1.2.1
│ │ └── striptags@2.2.1
│ ├─┬ js-yaml@3.13.1
│ │ ├── argparse@1.0.10
│ │ └── esprima@4.0.1
│ ├── lodash@4.17.15
│ ├─┬ minimatch@3.0.4
│ │ └─┬ brace-expansion@1.1.11
│ │ ├── balanced-match@1.0.0
│ │ └── concat-map@0.0.1
│ ├── moment@2.24.0
│ ├── moment-timezone@0.5.26
│ ├─┬ nunjucks@3.2.0
│ │ ├── a-sync-waterfall@1.0.1
│ │ ├── asap@2.0.6
│ │ └─┬ yargs@3.32.0
│ │ ├── camelcase@2.1.1
│ │ ├─┬ cliui@3.2.0
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └─┬ wrap-ansi@2.1.0
│ │ │ └── strip-ansi@3.0.1
│ │ ├── decamelize@1.2.0
│ │ ├─┬ os-locale@1.4.0
│ │ │ └─┬ lcid@1.0.0
│ │ │ └── invert-kv@1.0.0
│ │ ├─┬ string-width@1.0.2
│ │ │ ├── code-point-at@1.1.0
│ │ │ ├─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ └── strip-ansi@3.0.1
│ │ ├── window-size@0.1.4
│ │ └── y18n@3.2.1
│ ├── pretty-hrtime@1.0.3
│ ├─┬ resolve@1.11.1
│ │ └── path-parse@1.0.6
│ ├─┬ strip-ansi@5.2.0
│ │ └── ansi-regex@4.1.0
│ ├── strip-indent@2.0.0
│ ├─┬ swig-extras@0.0.1
│ │ └─┬ markdown@0.5.0
│ │ └── nopt@2.1.2
│ ├─┬ swig-templates@2.0.3
│ │ ├─┬ optimist@0.6.1
│ │ │ ├── minimist@0.0.10
│ │ │ └── wordwrap@0.0.3
│ │ └─┬ uglify-js@2.6.0
│ │ ├── async@0.2.10
│ │ ├── source-map@0.5.7
│ │ ├── uglify-to-browserify@1.0.2
│ │ └─┬ yargs@3.10.0
│ │ ├── camelcase@1.2.1
│ │ ├─┬ cliui@2.1.0
│ │ │ ├─┬ center-align@0.1.3
│ │ │ │ ├─┬ align-text@0.1.4
│ │ │ │ │ ├── kind-of@3.2.2
│ │ │ │ │ └── longest@1.0.1
│ │ │ │ └── lazy-cache@1.0.4
│ │ │ ├── right-align@0.1.3
│ │ │ └── wordwrap@0.0.2
│ │ └── window-size@0.1.0
│ ├── text-table@0.2.0
│ ├─┬ tildify@1.2.0
│ │ └── os-homedir@1.0.2
│ ├── titlecase@1.1.3
│ └─┬ warehouse@2.2.0
│ ├─┬ cuid@1.3.8
│ │ ├── browser-fingerprint@0.0.1
│ │ ├── core-js@1.2.7
│ │ └── node-fingerprint@0.0.2
│ ├─┬ is-plain-object@2.0.4
│ │ └── isobject@3.0.1
│ └─┬ JSONStream@1.3.5
│ ├── jsonparse@1.3.1
│ └── through@2.3.8
├─┬ hexo-generator-archive@0.1.5
│ ├─┬ hexo-pagination@0.0.2
│ │ └── utils-merge@1.0.1
│ └── object-assign@2.1.1
├── hexo-generator-category@0.1.3
├─┬ hexo-generator-index@0.2.1
│ └── object-assign@4.1.1
├─┬ hexo-generator-tag@0.2.0
│ └── object-assign@4.1.1
├─┬ hexo-renderer-ejs@0.3.1
│ ├── ejs@2.6.2
│ └── object-assign@4.1.1
├─┬ hexo-renderer-marked@1.0.1
│ └── marked@0.6.3
├─┬ hexo-renderer-stylus@0.3.3
│ ├── nib@1.1.2
│ └─┬ stylus@0.54.5
│ ├── css-parse@1.7.0
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├─┬ glob@7.0.6
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ └── once@1.4.0
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── sax@0.5.8
│ └─┬ source-map@0.1.43
│ └── amdefine@1.0.1
└─┬ hexo-server@0.3.3
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.1.1
│ ├── strip-ansi@3.0.1
│ └── supports-color@2.0.0
├─┬ compression@1.7.4
│ ├─┬ accepts@1.3.7
│ │ ├── mime-types@2.1.24
│ │ └── negotiator@0.6.2
│ ├── bytes@3.0.0
│ ├─┬ compressible@2.0.17
│ │ └── mime-db@1.40.0
│ ├── on-headers@1.0.2
│ ├── safe-buffer@5.1.2
│ └── vary@1.1.2
├─┬ connect@3.7.0
│ ├─┬ finalhandler@1.1.2
│ │ ├── statuses@1.5.0
│ │ └── unpipe@1.0.0
│ └── parseurl@1.3.3
├── mime@1.6.0
├─┬ morgan@1.9.1
│ ├── basic-auth@2.0.1
│ ├── depd@1.1.2
│ └─┬ on-finished@2.3.0
│ └── ee-first@1.1.1
├── object-assign@4.1.1
├─┬ opn@5.5.0
│ └── is-wsl@1.1.0
└─┬ serve-static@1.14.1
├── encodeurl@1.0.2
├── escape-html@1.0.3
└─┬ send@0.17.1
├── destroy@1.0.4
├── etag@1.8.1
├── fresh@0.5.2
├─┬ http-errors@1.7.3
│ ├── setprototypeof@1.1.1
│ └── toidentifier@1.0.0
├── ms@2.1.1
└── range-parser@1.2.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
INFO Start blogging with Hexo!

添加next主题

1
2
3
4
5
6
7
8
9
10
11
[root@wordpross ~]# cd blog
[root@wordpross blog]# ls
_config.yml node_modules package.json scaffolds source themes
[root@wordpross blog]# git clone https://github.com/theme-next/hexo-theme-next.git themes/next
Cloning into 'themes/next'...
remote: Enumerating objects: 252, done.
remote: Counting objects: 100% (252/252), done.
remote: Compressing objects: 100% (198/198), done.
remote: Total 8469 (delta 59), reused 123 (delta 48), pack-reused 8217
Receiving objects: 100% (8469/8469), 5.90 MiB | 146.00 KiB/s, done.
Resolving deltas: 100% (5428/5428), done.

修改主配置文件及主题配置文件

1
2
3
4
[root@wordpross blog]# cp ../blog20190730/_config.yml ./
cp: overwrite ‘./_config.yml’? y
[root@wordpross blog]# cp ../blog20190730/themes/next/_config.yml themes/next/
cp: overwrite ‘themes/next/_config.yml’? y

安装wordpress迁移插件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[root@wordpross blog]# npm install hexo-migrator-wordpress --save
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
hexo-site@0.0.0 /root/blog
└─┬ hexo-migrator-wordpress@1.0.0
├── async@0.9.2
├─┬ request@2.88.0
│ ├── aws-sign2@0.7.0
│ ├── aws4@1.8.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.8
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.2
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.3
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@5.1.3
│ │ ├─┬ ajv@6.10.2
│ │ │ ├── fast-deep-equal@2.0.1
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ ├── json-schema-traverse@0.4.1
│ │ │ └─┬ uri-js@4.2.2
│ │ │ └── punycode@2.1.1
│ │ └── har-schema@2.0.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.10.0
│ │ └─┬ sshpk@1.16.1
│ │ ├── asn1@0.2.4
│ │ ├── bcrypt-pbkdf@1.0.2
│ │ ├── dashdash@1.14.1
│ │ ├── ecc-jsbn@0.1.2
│ │ ├── getpass@0.1.7
│ │ ├── jsbn@0.1.1
│ │ ├── safer-buffer@2.1.2
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├── oauth-sign@0.9.0
│ ├── performance-now@2.1.0
│ ├── qs@6.5.2
│ ├─┬ tough-cookie@2.4.3
│ │ ├── psl@1.2.0
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.6.0
│ └── uuid@3.3.2
├─┬ turndown@4.0.2
│ └─┬ jsdom@11.12.0
│ ├── abab@2.0.0
│ ├── acorn@5.7.3
│ ├─┬ acorn-globals@4.3.2
│ │ └── acorn-walk@6.2.0
│ ├── array-equal@1.0.0
│ ├── cssom@0.3.8
│ ├── cssstyle@1.4.0
│ ├─┬ data-urls@1.1.0
│ │ └── whatwg-url@7.0.0
│ ├── domexception@1.0.1
│ ├─┬ escodegen@1.11.1
│ │ ├── esprima@3.1.3
│ │ ├── estraverse@4.2.0
│ │ ├── esutils@2.0.2
│ │ ├─┬ optionator@0.8.2
│ │ │ ├── deep-is@0.1.3
│ │ │ ├── fast-levenshtein@2.0.6
│ │ │ ├── levn@0.3.0
│ │ │ ├── prelude-ls@1.1.2
│ │ │ ├── type-check@0.3.2
│ │ │ └── wordwrap@1.0.0
│ │ └── source-map@0.6.1
│ ├── html-encoding-sniffer@1.0.2
│ ├── left-pad@1.3.0
│ ├── nwsapi@2.1.4
│ ├── parse5@4.0.0
│ ├── pn@1.1.0
│ ├─┬ request-promise-native@1.0.7
│ │ ├── request-promise-core@1.1.2
│ │ └── stealthy-require@1.1.1
│ ├── sax@1.2.4
│ ├── symbol-tree@3.2.4
│ ├─┬ w3c-hr-time@1.0.1
│ │ └── browser-process-hrtime@0.1.3
│ ├── webidl-conversions@4.0.2
│ ├─┬ whatwg-encoding@1.0.5
│ │ └── iconv-lite@0.4.24
│ ├── whatwg-mimetype@2.3.0
│ ├─┬ whatwg-url@6.5.0
│ │ ├── lodash.sortby@4.7.0
│ │ └── tr46@1.0.1
│ ├─┬ ws@5.2.2
│ │ └── async-limiter@1.0.0
│ └── xml-name-validator@3.0.0
└─┬ xml2js@0.4.2
└── xmlbuilder@13.0.2

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

导入wordpress数据

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[root@wordpross blog]# hexo migrate wordpress ../WordPress.2019-07-29.xml 
INFO Analyzing ../WordPress.2019-07-29.xml...
INFO Post found: 儒家佛教基督分别以什么来回报怨
INFO Post found: 运维的独孤九剑
INFO Post found: 跃迁:成为高手的技术
INFO Post found: 素书浅注
INFO Post found: 知行合一的五种含义
INFO Post found: Python--Elasticsearch-API操作ES集群
INFO Post found: 使用ELK分析腾讯云CLB日志
INFO Post found: Elasticsearch集群数据迁移
INFO Post found: ElasticStack5.2.2升级到6.0.0注意事项
INFO Post found: 纯开源产品打造初创公司运维体系
INFO Post found: 关于金刚经在运维开发中的实践
INFO Post found: 如何提高自己的创造力
INFO Post found: 运维需要迈过的两道坎
INFO Post found: 何为正见
INFO Post found: JavaScript对比两个百分数大小
INFO Post found: 我的互联网面试经历
INFO Post found: Nginx反向代理负载均衡配置梳理大全
INFO Post found: 追寻知识源头
INFO Post found: 致良知之功
INFO Post found: 突破自己
INFO Post found: 系统重启后nginx reload不生效原因分析
INFO Post found: OpenResty-Redis-安装部署测试SET-GET功能
INFO Post found: 如何无中生有
INFO Post found: 改过自新
INFO Post found: 刻意练习从提问说起
INFO Post found: 二零一七年读书列表
INFO Post found: 追寻知识源头
INFO Post found: 你没有理由不相信自己
INFO Post found: 服务稳定性及应用防攻击方案
INFO Post found: 圆觉经简介
INFO Post found: 用自己的步伐丈量这个时代
INFO Post found: 爆裂:未来社会的9大生存原则
INFO Post found: 如何活在当下
INFO Post found: Redis集群性能问题深度分析
INFO Post found: OpenResty Codis集群缓存系统
INFO Post found: Codis 3.2集群部署配置汇总
INFO Post found: Redis3.x与4.x集群部署配置优化
INFO Post found: Yum安装RabbitMQ3.6.11与Erlange20配置及优化
INFO Post found: 从零开始创建自己的博客
INFO Post found: HTTPS配置优化及注意点
INFO Post found: Nginx限连接限速率模块总结
INFO Post found: Promethous+Alertmanager+Grafana监控体系
INFO Post found: TCPCOPY 1.0 部署测试使用
INFO Post found: 禅的行囊路线图
INFO Post found: CentOS-7-5安装部署Jewel版本Ceph集群
INFO Post found: Jewel版本Ceph集群功能性能测试
INFO Post found: Ceph集群由Jewel版本升级到Luminous版本
INFO Post found: Ambari安装部署Hadoop
INFO Post found: DNS主从服务器搭建
INFO Post found: 排查logstash2.4升级到5.0版本后kafka不兼容问题
INFO Post found: Centos7.4部署配置Elasticsearch6.3.2集群
INFO Post found: Nginx1.10.2稳定版本tcp四层负载安装配置过程略解
INFO Post found: Saltstack源码安装zabbix_agent客户端
INFO Post found: YUM 源安装MongoDB
INFO Post found: zabbix2.4.5迁移到zabbix3.0
INFO Post found: 脚本欣赏之禽兽大人的杰作
INFO Post found: Promethous配合Alertmanager报警系统
INFO Post found: Nginx 结合Python Ldap认证用于Kibana权限登陆
INFO Post found: kubernetes13.1+etcd3.3.10+flanneld0.10部署
INFO Post found: Kubernetes1.13.1部署Kuberneted-dashboard v1.10.1
INFO Post found: kubenetes1.13.1 部署coredns
INFO Post found: kubernetes1.13.1部署ingress-nginx并配置https转发dashboard
INFO Post found: kubernetes1.13.1部署metrics-server0.3.1
INFO Post found: 使用prometheus采集ingress-nginx数据grafan展示效果
INFO Post found: 学习阳明心学书籍推荐
INFO Post found: Centos7.5部署最新稳定版jenkins并配置ldap认证
INFO Post found: kubernets1.13.1集群使用ceph rbd块存储
INFO Post found: kubernetes1.13.1集群结合ceph rbd部署最新版本jenkins
INFO Post found: kubernetes1.13.1集群安装包管理工具helm
INFO Post found: kubernetes1.13.1集群集成harbor-helm
INFO Post found: 领导力21法则
INFO Post found: 认知盈余
INFO Post found: 读书是一辈子的事
INFO Post found: 使用elasticdump迁移数据到新es集群
INFO Post found: 意义
INFO Post found: JAVA程序分析工具jstat和jstack
INFO Post found: 人生之癌
INFO Post found: 一次被入侵和删除木马程序的经历
INFO Post found: HTTP请求的11个处理阶段
INFO Post found: 人为什么要读书
INFO Post found: 关于买房的13个观点
INFO Post found: elasticsearch pending_tasks 数量多原因分析
INFO Post found: Python通过ItChat获取朋友图像生成拼接图
INFO Post found: 论易经和三教的关系
INFO Post found: Mysql Redis PostgreSQL数据库查看客户端连接
INFO Post found: 从第十名现象说起
INFO Post found: 高效工作的五种策略
INFO Post found: 全链路监控工具Pinpoint1.8.2部署
INFO Post found: 一个人的清欢
INFO Post found: 围炉夜话精选
INFO Post found: Java线程泄露问题分析
INFO Post found: Redis未授权访问及安全组漏洞招致kerberods来挖矿
INFO Post found: 关键提问
INFO Post found: 瓦力2.0.0版本升级到2.0.1版本
INFO Post found: 瓦力2.0使用介绍
INFO Post found: 技术的本质
INFO Post found: docker-compose部署pinpoint开启email报警功能
INFO Post found: pinpoint 修改hbase表TTL值
INFO Post found: 操作系统之哲学原理
INFO Post found: 你就是不懂欣赏
INFO Post found: 纳兰词·忆江南
INFO Post found: 众生皆苦
INFO Post found: 平凡的世界
INFO Post found: 早晨从中午开始
INFO Post found: 10人以下小团队管理手册
INFO Post found: 思维导图:创意高手的超强思考工具
INFO Post found: 制作java基础docker镜像
INFO Post found: Java应用程序镜像制作及在kubernetes上发布
INFO Post found: 麦肯锡教我的思考武器:从逻辑思考到真正解决问题
INFO Post found: 金字塔原理(麦肯锡40年经典培训教材)
INFO Post found: 斯坦福大学人生设计课
INFO Post found: 从一到无穷大
INFO Post found: kubernetes集群全栈监控报警方案kube-prometheus
INFO Post found: Kubernetes集群容器运行日志收集
INFO Post found: 半小时漫画唐诗
INFO Post found: 稀缺:我们是如何陷入贫穷与忙碌的
INFO Post found: 纳兰词节选
INFO Post found: Twee Twee Dee
INFO Post found: 成事:冯唐品读曾国藩嘉言钞-书札
INFO Post found: 成事:冯唐品读曾国藩嘉言钞-家书
INFO Post found: 永不止步
INFO Post found: 方法论
INFO Post found: 事实
INFO Post found: 做事十句话
INFO Post found: 上古四种养生之道
INFO Post found: 人生有何意义
INFO Post found: 将工作当作正念的修行
INFO 128 posts migrated.

启动

1
2
3
4
5
6
7
8
[root@wordpross blog]# hexo server
INFO Deleted database.
[root@wordpross blog]# hexo clean
INFO Deleted database.
[root@wordpross blog]# hexo generate
INFO Start processing
INFO Files loaded in 3.46 s
Killed

上传到github

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[root@wordpross blog]# npm install hexo-deployer-git --save
hexo-site@0.0.0 /root/blog
└─┬ hexo-deployer-git@1.0.0
├─┬ babel-eslint@10.0.2
│ ├─┬ @babel/code-frame@7.5.5
│ │ └─┬ @babel/highlight@7.5.0
│ │ └── js-tokens@4.0.0
│ ├── @babel/parser@7.5.5
│ ├─┬ @babel/traverse@7.5.5
│ │ ├─┬ @babel/generator@7.5.5
│ │ │ ├── jsesc@2.5.2
│ │ │ └── trim-right@1.0.1
│ │ ├─┬ @babel/helper-function-name@7.1.0
│ │ │ ├── @babel/helper-get-function-arity@7.0.0
│ │ │ └── @babel/template@7.4.4
│ │ ├── @babel/helper-split-export-declaration@7.4.4
│ │ ├─┬ debug@4.1.1
│ │ │ └── ms@2.1.2
│ │ └── globals@11.12.0
│ ├─┬ @babel/types@7.5.5
│ │ └── to-fast-properties@2.0.0
│ ├─┬ eslint-scope@3.7.1
│ │ └── esrecurse@4.2.1
│ └── eslint-visitor-keys@1.0.0
└── UNMET PEER DEPENDENCY eslint@>= 4.12.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN babel-eslint@10.0.2 requires a peer of eslint@>= 4.12.1 but none was installed.


[root@wordpross blog]# hexo deploy
INFO Deploying: git
INFO Setting up Git deployment...
Initialized empty Git repository in /root/blog/.deploy_git/.git/
[master (root-commit) 9c896de] First commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 placeholder
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
INFO Copying files from extend dirs...
[master c038401] Site updated: 2019-07-30 09:51:03
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 placeholder
Counting objects: 5, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (5/5), 375 bytes | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
To git@github.com:minminmsn/minminmsn.github.io.git
+ eab79a5...c038401 HEAD -> master (forced update)
Branch master set up to track remote branch master from git@github.com:minminmsn/minminmsn.github.io.git.
INFO Deploy done: git