-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
421 lines (284 loc) · 17.3 KB
/
Copy pathindex.html
File metadata and controls
421 lines (284 loc) · 17.3 KB
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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.3.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha256-5eIC48iZUHmSlSUz9XtjRyK2mzQkHScZY1WdMaoz74E=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
<script class="next-config" data-name="main" type="application/json">{"hostname":"example.com","root":"/","images":"/images","scheme":"Muse","darkmode":false,"version":"8.21.0","exturl":false,"sidebar":{"position":"left","width_expanded":320,"width_dual_column":240,"display":"post","padding":18,"offset":12},"hljswrap":true,"copycode":{"enable":false,"style":null},"fold":{"enable":false,"height":500},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"i18n":{"placeholder":"Searching...","empty":"We didn't find any results for the search: ${query}","hits_time":"${hits} results found in ${time} ms","hits":"${hits} results found"}}</script><script src="/js/config.js"></script>
<meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="http://example.com/">
<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":true,"isPost":false,"lang":"en","comments":"","permalink":"","path":"index.html","title":""}</script>
<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>Hexo</title>
<noscript>
<link rel="stylesheet" href="/css/noscript.css">
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
<div class="headband"></div>
<main class="main">
<div class="column">
<header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="Toggle navigation bar" role="button">
</div>
</div>
<div class="site-meta">
<a href="/" class="brand" rel="start">
<i class="logo-line"></i>
<h1 class="site-title">Hexo</h1>
<i class="logo-line"></i>
</a>
</div>
<div class="site-nav-right">
<div class="toggle popup-trigger" aria-label="Search" role="button">
</div>
</div>
</div>
</header>
<aside class="sidebar">
<div class="sidebar-inner sidebar-overview-active">
<ul class="sidebar-nav">
<li class="sidebar-nav-toc">
Table of Contents
</li>
<li class="sidebar-nav-overview">
Overview
</li>
</ul>
<div class="sidebar-panel-container">
<!--noindex-->
<div class="post-toc-wrap sidebar-panel">
</div>
<!--/noindex-->
<div class="site-overview-wrap sidebar-panel">
<div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
<p class="site-author-name" itemprop="name">John Doe</p>
<div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap animated">
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">2</span>
<span class="site-state-item-name">posts</span>
</a>
</div>
</nav>
</div>
</div>
</div>
</div>
</aside>
</div>
<div class="main-inner index posts-expand">
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2024/11/07/newpapername/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="John Doe">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Hexo">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Hexo">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/11/07/newpapername/" class="post-title-link" itemprop="url">newpapername</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-11-07 14:26:45 / Modified: 17:36:13" itemprop="dateCreated datePublished" datetime="2024-11-07T14:26:45+08:00">2024-11-07</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="music-website项目配置"><a href="#music-website项目配置" class="headerlink" title="music-website项目配置"></a>music-website项目配置</h2><p>开源地址:<a target="_blank" rel="noopener" href="https://github.com/Yin-Hongwei/music-website">Yin-Hongwei/music-website: 🎧 Vue + SpringBoot + MyBatis 音乐网站</a></p>
<h3 id="初始配置:"><a href="#初始配置:" class="headerlink" title="初始配置:"></a>初始配置:</h3><p>JDK: jdk-8u141</p>
<p>mysql:mysql-5.7.21-1-macos10.13-x86_64(或者更高版本)</p>
<p>redis:5.0.8 或 <a target="_blank" rel="noopener" href="https://nanshaws.github.io/docker/docker%E5%90%AF%E5%8A%A8redis(%E5%AE%8C%E7%BE%8E%E8%BF%87%E7%A8%8B).html">docker启动redis | 想飞跃的鱼 (nanshaws.github.io)</a></p>
<p>node:14.17.3 【不要超过大版本16】</p>
<p>IDE:IntelliJ IDEA 2018、VSCode</p>
<p>minio: 下载本地最新 或者 <a target="_blank" rel="noopener" href="https://nanshaws.github.io/docker/docker%E5%AE%8C%E7%BE%8E%E5%90%AF%E5%8A%A8minio(%E5%AE%8C%E7%BE%8E%E8%BF%87%E7%A8%8B).html">docker完美启动minio | 想飞跃的鱼 (nanshaws.github.io)</a></p>
<hr>
<h3 id="克隆源码问题:"><a href="#克隆源码问题:" class="headerlink" title="克隆源码问题:"></a>克隆源码问题:</h3><p>git clone <a target="_blank" rel="noopener" href="https://github.com/Yin-Hongwei/music-website.git">https://github.com/Yin-Hongwei/music-website.git</a></p>
<blockquote>
<p>Failed to connect to github.com port 443 after 21054 ms: Could not connect to server</p>
</blockquote>
<p>一般出现这种问题都是开过VPN导致的本机系统端口号和git的端口号不一致导致的</p>
<p>Git默认使用SSH协议,其默认端口是22</p>
<p>HTTPS协议默认使用端口443</p>
<p>解决方法:</p>
<ol>
<li>查看本机系统端口号</li>
</ol>
<blockquote>
<p>设置->网络和Internet->代理</p>
</blockquote>
<img src="assets/image-20241105175519030.png" alt="image-20241105175519030" style="zoom:50%;" />
<ol start="2">
<li>设置git端口号和上面的端口号保持一致</li>
</ol>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git config --global http.proxy 127.0.0.1:代理服务器端口</span><br><span class="line">git config --global https.proxy 127.0.0.1:代理服务器端口</span><br></pre></td></tr></table></figure>
<ol start="3">
<li>查看git设置</li>
</ol>
<blockquote>
<p>git config –global -l</p>
<p>user.name=Inf<br>user.email=<a href="mailto:2035236465@qq.com">2035236465@qq.com</a><br>http.proxy=127.0.0.1:7890<br>https.proxy=127.0.0.1:7890</p>
</blockquote>
<ol start="4">
<li>如果没有挂着vpn,但是还是遇到了以上报错</li>
</ol>
<p>还是一样的原因,两边的端口不一致导致的,那么直接去掉git代理即可:</p>
<blockquote>
<p>git config –global –unset http.proxy</p>
<p>git config –global –unset https.proxy</p>
</blockquote>
<hr>
<h3 id="minio安装配置:"><a href="#minio安装配置:" class="headerlink" title="minio安装配置:"></a>minio安装配置:</h3><ol>
<li>安装与配置Minio <a target="_blank" rel="noopener" href="https://dl.min.io/server/minio/release/windows-amd64/">dl.min.io/server/minio/release/windows-amd64/</a> cmd打开mini.exe所在文件夹</li>
<li>设置管理员账号和密码</li>
</ol>
<blockquote>
<p>set minio_root_user=minioadmin</p>
<p>set minio_root_password=minioadmin</p>
</blockquote>
<ol start="3">
<li>执行以下指令启动minio</li>
</ol>
<blockquote>
<p>minio.exe server D:\MinIo\minio –console-address “:9001” –address “:9000”</p>
</blockquote>
<p>这条命令用于启动MinIO服务器,指定了数据存储的路径为<code>P:\MinIo\minio</code>,并设置了MinIO服务的API端口为<code>9000</code>,控制台端口为<code>9001</code></p>
<ol start="4">
<li>然后就是访问 localhost:9001 创建bucket</li>
<li>单服务配置文件添加minio配置</li>
</ol>
<blockquote>
<p>minio:<br>endpoint: <a target="_blank" rel="noopener" href="https://so.csdn.net/so/search?q=http&spm=1001.2101.3001.7020">http</a>://xxx.xxx.xxx.xxx:9000<br>accessKey: minioadmin<br>secretKey: minioadmin<br>bucketName: minioadmin</p>
</blockquote>
<ol start="6">
<li>修改单服务配置文件 文件大小限制(默认1MB)</li>
</ol>
<blockquote>
<p>spring:<br><a target="_blank" rel="noopener" href="https://so.csdn.net/so/search?q=servlet&spm=1001.2101.3001.7020">servlet</a>:<br> multipart:<br> max-file-size: 5MB</p>
</blockquote>
<hr>
<h3 id="文件导入与Bucket资源导入"><a href="#文件导入与Bucket资源导入" class="headerlink" title="文件导入与Bucket资源导入:"></a>文件导入与Bucket资源导入:</h3><p>链接: <a target="_blank" rel="noopener" href="https://pan.baidu.com/s/1Qv0ohAIPeTthPK_CDwpfWg">https://pan.baidu.com/s/1Qv0ohAIPeTthPK_CDwpfWg</a> 提取码: gwa4</p>
<blockquote>
<p>注意:资源整理了一下,按照下面的截图存放</p>
</blockquote>
<img src="assets/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f65366339643234656c79316836677a316c653977786a3230666f306767676d682e6a7067.jpeg" alt="img" style="zoom:50%;" />
<p>Bucket创建导入即可【我这里bucketName叫minioadmin】</p>
<p><img src="/assets/image-20241106142306573.png" alt="image-20241106142306573"></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2024/11/07/hello-world/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="John Doe">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Hexo">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Hexo">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/11/07/hello-world/" class="post-title-link" itemprop="url">Hello World</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-11-07 12:28:55" itemprop="dateCreated datePublished" datetime="2024-11-07T12:28:55+08:00">2024-11-07</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
</div>
</main>
<footer class="footer">
<div class="footer-inner">
<div class="copyright">
©
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">John Doe</span>
</div>
<div class="powered-by">Powered by <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/muse/" rel="noopener" target="_blank">NexT.Muse</a>
</div>
</div>
</footer>
<div class="toggle sidebar-toggle" role="button">
<span class="toggle-line"></span>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
</div>
<div class="sidebar-dimmer"></div>
<div class="back-to-top" role="button" aria-label="Back to top">
<i class="fa fa-arrow-up fa-lg"></i>
<span>0%</span>
</div>
<noscript>
<div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/sidebar.js"></script><script src="/js/next-boot.js"></script>
</body>
</html>