基本介绍
博客模板来源于麋鹿鲁哟的博客园
关于创建这个博客的想法:只是简单的记录自己编程中所遇到的问题
关于服务器构建的个人博客正在等待
阿里云备案等待中
1 Microsoft Windows [版本 10.0.18362.53] 2 (c) 2019 Microsoft Corporation。保留所有权利。 3 4 C:\Users\Administrator>hexo -v 5 hexo-cli: 3.1.0 6 os: Windows_NT 10.0.18362 win32 x64 7 node: 12.16.1 8 v8: 7.8.279.23-node.31 9 uv: 1.34.0 10 zlib: 1.2.11 11 brotli: 1.0.7 12 ares: 1.15.0 13 modules: 72 14 nghttp2: 1.40.0 15 napi: 5 16 llhttp: 2.0.4 17 http_parser: 2.9.3 18 openssl: 1.1.1d 19 cldr: 35.1 20 icu: 64.2 21 tz: 2019c 22 unicode: 12.1 23 24 C:\Users\Administrator>d: 25 26 D:\>cd blogone 27 28 D:\blogone>hexo init 29 INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git 30 Cloning into 'D:\blogone'... 31 remote: Enumerating objects: 30, done. 32 remote: Counting objects: 100% (30/30), done. 33 remote: Compressing objects: 100% (24/24), done. 34 Receiving objects: 100% (161/161), 31.79 KiB | 7.00 KiB/s, done. 35 Resolving deltas: 100% (74/74), done. 36 Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape' 37 Cloning into 'D:/blogone/themes/landscape'... 38 remote: Enumerating objects: 1063, done. 39 remote: Total 1063 (delta 0), reused 0 (delta 0), pack-reused 1063 40 Receiving objects: 100% (1063/1063), 3.21 MiB | 8.00 KiB/s, done. 41 Resolving deltas: 100% (585/585), done. 42 Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350' 43 [32mINFO [39m Install dependencies 44 npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) 45 46 > ejs@2.7.4 postinstall D:\blogone\node_modules\ejs 47 > node ./postinstall.js 48 49 Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/) 50 51 npm notice created a lockfile as package-lock.json. You should commit this file. 52 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents): 53 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 54 55 added 253 packages from 450 contributors in 15.867s 56 57 5 packages are looking for funding 58 run `npm fund` for details 59 60 INFO Start blogging with Hexo! 61 62 D:\blogone>hexo s 63 INFO Start processing 64 INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop. 65 INFO Catch you later 66 终止批处理操作吗(Y/N)? y 67 68 D:\blogone>ssh-keygen -t rsa -C "填写自己的GitHub注册邮箱" 69 Generating public/private rsa key pair. 70 Enter file in which to save the key (C:\Users\Administrator/.ssh/id_rsa): 71 C:\Users\Administrator/.ssh/id_rsa already exists. 72 Overwrite (y/n)? y 73 Enter passphrase (empty for no passphrase): 74 Enter same passphrase again: 75 Your identification has been saved in C:\Users\Administrator/.ssh/id_rsa. 76 Your public key has been saved in C:\Users\Administrator/.ssh/id_rsa.pub. 77 The key fingerprint is: 78 SHA256:Z14+sdfsdfdsfdsfsdfdsVavL0Q0 自己的GitHub注册邮箱 79 The key's randomart image is: 80 +---[RSA 2048]----+ 81 |o .. | 82 | o . . | 83 | ...E.+. | 84 | + * . | 85 | o + . o + o .| 86 | . +. +o= + = | 87 | +o. o+.* * | 88 | ..o.o = o | 89 | o . | 90 +----[SHA256]-----+ 91 92 **这里上面的码生成就好了,我这里是删除修改了一些的** 93 94 D:\blogone>ssh -T [email protected] 95 Hi x888888888xxx9! You've successfully authenticated, but GitHub does not provide shell access. 96 97 D:\blogone>npm install hexo-deployer-git --save 98 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents): 99 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 100 101 + hexo-deployer-git@2.1.0 102 added 1 package from 1 contributor in 1.751s 103 104 5 packages are looking for funding 105 run `npm fund` for details 106 107 108 D:\blogone>hexo clean 109 INFO Deleted database. 110 111 D:\blogone>hexo generate 112 INFO Start processing 113 INFO Files loaded in 186 ms 114 INFO Generated: index.html 115 INFO Generated: archives/index.html 116 INFO Generated: fancybox/blank.gif 117 INFO Generated: fancybox/jquery.fancybox.css 118 INFO Generated: fancybox/jquery.fancybox.pack.js 119 INFO Generated: fancybox/[email protected] 120 INFO Generated: fancybox/jquery.fancybox.js 121 INFO Generated: fancybox/fancybox_loading.gif 122 INFO Generated: fancybox/fancybox_sprite.png 123 INFO Generated: fancybox/fancybox_overlay.png 124 INFO Generated: archives/2020/index.html 125 INFO Generated: fancybox/[email protected] 126 INFO Generated: archives/2020/03/index.html 127 INFO Generated: css/fonts/fontawesome-webfont.eot 128 INFO Generated: js/script.js 129 INFO Generated: fancybox/helpers/jquery.fancybox-media.js 130 INFO Generated: fancybox/helpers/jquery.fancybox-buttons.css 131 INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.js 132 INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.css 133 INFO Generated: css/style.css 134 INFO Generated: fancybox/helpers/jquery.fancybox-buttons.js 135 INFO Generated: css/fonts/fontawesome-webfont.woff 136 INFO Generated: fancybox/helpers/fancybox_buttons.png 137 INFO Generated: 2020/03/27/hello-world/index.html 138 INFO Generated: css/fonts/FontAwesome.otf 139 INFO Generated: css/fonts/fontawesome-webfont.svg 140 INFO Generated: css/fonts/fontawesome-webfont.ttf 141 INFO Generated: css/images/banner.jpg 142 INFO 28 files generated in 615 ms 143 144 D:\blogone>hexo d 145 INFO Deploying: git 146 INFO Setting up Git deployment... 147 Initialized empty Git repository in D:/blogone/.deploy_git/.git/ 148 [master (root-commit) 7f3519a] First commit 149 1 file changed, 0 insertions(+), 0 deletions(-) 150 create mode 100644 placeholder 151 INFO Clearing .deploy_git folder... 152 INFO Copying files from public folder... 153 INFO Copying files from extend dirs... 154 warning: LF will be replaced by CRLF in 2020/03/27/hello-world/index.html. 155 The file will have its original line endings in your working directory 156 warning: LF will be replaced by CRLF in archives/2020/03/index.html. 157 The file will have its original line endings in your working directory 158 warning: LF will be replaced by CRLF in archives/2020/index.html. 159 The file will have its original line endings in your working directory 160 warning: LF will be replaced by CRLF in archives/index.html. 161 The file will have its original line endings in your working directory 162 warning: LF will be replaced by CRLF in css/style.css. 163 The file will have its original line endings in your working directory 164 warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.css. 165 The file will have its original line endings in your working directory 166 warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.js. 167 The file will have its original line endings in your working directory 168 warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-media.js. 169 The file will have its original line endings in your working directory 170 warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.css. 171 The file will have its original line endings in your working directory 172 warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.js. 173 The file will have its original line endings in your working directory 174 warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.css. 175 The file will have its original line endings in your working directory 176 warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.js. 177 The file will have its original line endings in your working directory 178 warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.pack.js. 179 The file will have its original line endings in your working directory 180 warning: LF will be replaced by CRLF in index.html. 181 The file will have its original line endings in your working directory 182 warning: LF will be replaced by CRLF in js/script.js. 183 The file will have its original line endings in your working directory 184 [master 741e4fe] Site updated: 2020-03-27 00:48:41 185 29 files changed, 5825 insertions(+) 186 create mode 100644 2020/03/27/hello-world/index.html 187 create mode 100644 archives/2020/03/index.html 188 create mode 100644 archives/2020/index.html 189 create mode 100644 archives/index.html 190 create mode 100644 css/fonts/FontAwesome.otf 191 create mode 100644 css/fonts/fontawesome-webfont.eot 192 create mode 100644 css/fonts/fontawesome-webfont.svg 193 create mode 100644 css/fonts/fontawesome-webfont.ttf 194 create mode 100644 css/fonts/fontawesome-webfont.woff 195 create mode 100644 css/images/banner.jpg 196 create mode 100644 css/style.css 197 create mode 100644 fancybox/blank.gif 198 create mode 100644 fancybox/fancybox_loading.gif 199 create mode 100644 fancybox/[email protected] 200 create mode 100644 fancybox/fancybox_overlay.png 201 create mode 100644 fancybox/fancybox_sprite.png 202 create mode 100644 fancybox/[email protected] 203 create mode 100644 fancybox/helpers/fancybox_buttons.png 204 create mode 100644 fancybox/helpers/jquery.fancybox-buttons.css 205 create mode 100644 fancybox/helpers/jquery.fancybox-buttons.js 206 create mode 100644 fancybox/helpers/jquery.fancybox-media.js 207 create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.css 208 create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.js 209 create mode 100644 fancybox/jquery.fancybox.css 210 create mode 100644 fancybox/jquery.fancybox.js 211 create mode 100644 fancybox/jquery.fancybox.pack.js 212 create mode 100644 index.html 213 create mode 100644 js/script.js 214 delete mode 100644 placeholder 215 Enumerating objects: 46, done. 216 Counting objects: 100% (46/46), done. 217 Delta compression using up to 4 threads 218 Compressing objects: 100% (36/36), done. 219 Writing objects: 100% (46/46), 507.65 KiB | 1.56 MiB/s, done. 220 Total 46 (delta 3), reused 0 (delta 0) 221 remote: Resolving deltas: 100% (3/3), done. 222 To github.com:333333/333333333.github.io.git 223 * [new branch] HEAD -> master 224 Branch 'master' set up to track remote branch 'master' from '[email protected]:3333333/3333333333.github.io.git'. 225 [32mINFO [39m Deploy done: [35mgit[39m 226 227 D:\blogone> 228 ```
感受:
关于hexo个人博客的调试留存
自我感悟
这次经历太难了,问了好多大佬,第一次弄折磨了两天各种报错信息,之前教程都是Git bash here里输入这些的,幸好找到一篇博客讲到可以用cmd,望引以为戒!!!