-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
836 lines (510 loc) · 21.5 KB
/
index.html
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
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Kimi's Blog</title>
<meta name="description" content="Kimi's Blog">
<meta name="keywords" content="">
<meta property="og:type" content="website"/>
<meta property="og:title" content=""/>
<meta property="og:description" content=""/>
<meta property="og:locale" content="cn" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://blog.kimi360.top/index.html" />
<meta property="og:site_name" content="KIMI" />
<meta property="article:publisher" content="" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "",
"description": "",
"publisher": {
"@type": "Organization",
"name": "KIMI"
}
}
</script>
<link rel="icon" href="/images/icon/favicon.png">
<link rel="stylesheet" href="/dist/build.css?v=1654266144177.css">
<link rel="stylesheet" href="/dist/custom.css?v=1654266144177.css">
<script>
window.isPost = false
window.aomori = {
}
window.aomori_logo_typed_animated = false
window.aomori_search_algolia = false
</script>
<meta name="generator" content="Hexo 5.4.2">
<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; } .github-emoji > span { position: relative; z-index: 10; } .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; } .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
</head>
<body>
<div class="container">
<header class="header">
<div class="header-type">
<div class="header-type-inner">
<a class="header-type-title" href="/">Kimi's Blog</a>
</div>
</div>
<div class="header-menu">
<div class="header-menu-inner">
<a href="index.html">首页</a>
<a href="/wishlist">愿望</a>
<a href="/archives">存档</a>
</div>
<div class="header-menu-social">
<a class="social" target="_blank" href="https://github.com/kimi360">
<ion-icon name="logo-github"></ion-icon>
</a>
<a class="social" target="_blank" href="/rss.xml">
<ion-icon name="logo-rss"></ion-icon>
</a>
</div>
</div>
<div class="header-menu-mobile">
<div class="header-menu-mobile-inner" id="mobile-menu-open">
<i class="icon icon-menu"></i>
</div>
</div>
</header>
<div class="header-menu-mobile-menu">
<div class="header-menu-mobile-menu-bg"></div>
<div class="header-menu-mobile-menu-wrap">
<div class="header-menu-mobile-menu-inner">
<div class="header-menu-mobile-menu-close" id="mobile-menu-close">
<i class="icon icon-cross"></i>
</div>
<div class="header-menu-mobile-menu-list">
<a href="index.html">首页</a>
<a href="/wishlist">愿望</a>
<a href="/archives">存档</a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="main">
<section class="inner">
<section class="inner-main">
<div class="index">
<article
id="post-deepspeed_cpu_adam"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="fea046133020/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/deepspeed_cpu_adam.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="fea046133020/">解决'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'</a>
</header>
<div class="article-entry post-inner-html">
<p>最近在研究大模型的训练,公司的四卡4090也爆显存。于是想要尝试一下使用deepspeed的zero3_offload,结果报错:‘DeepSpeedCPUAdam’ object has no attribute ‘ds_opt_adam’</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2024-05-28T06:13:08.000Z" itemprop="datePublished">2024-05-28</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="tweet-240201"
class="article article-type-tweet"
>
<div class="article-tweet article-type-tweet-inner">
<ion-icon class="article-tweet-quote" name="logo-wechat"></ion-icon>
<div class="article-tweet-content post-inner-html">
<p>一位共事了五年的好友即将离职 😔</p>
<p>大学时最讨厌聚餐后分离时的落寞和孤独 多年后这种感觉再次涌上心头</p>
<p>在我人生各个阶段的朋友已散落茫茫人海 唯一不变的是那些共同的记忆</p>
<p>收复心情 再次出发 珍惜当下 愿江湖再见 🍻</p>
</div>
<footer class="article-footer">
<div class="article-more-info">
<a class="article-tweet-common" href="c913893ed226/">评论</a>
<div class="article-date">
<time datetime="2024-02-01T08:54:04.779Z" itemprop="datePublished">2024-02-01</time>
</div>
</div>
</footer>
<div class="article-badge">
</div>
</div>
</article>
<article
id="post-synology_ssl"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="1ad1547eaf1c/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/synology_ssl.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="1ad1547eaf1c/">使用命令行更新群晖的SSL证书</a>
</header>
<div class="article-entry post-inner-html">
<p>最近新学会了一招,使用Cloudflare的Origi 规则将443端口重定向到非标端口上,突破了家宽无法使用443端口的限制。部分没有公网访问需求的服务就解析到了局域网地址,限制只能在局域网或VPN下访问。万万没想到却在证书上遇到了问题。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2024-01-24T08:14:17.000Z" itemprop="datePublished">2024-01-24</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-setup_start_folder"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="97a24c5b2e7e/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/setup_start_folder.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="97a24c5b2e7e/">脚本设置开始菜单显示的文件夹</a>
</header>
<div class="article-entry post-inner-html">
<p>最近发现了一款pxe网络安装工具iVentoy,可以极大的简化pxe环境的搭建。在测试安装的过程中同时也开启了一件自己一直想做的事情,就是安装完成后使用批处理对新的Windows进行一系列设置以简化初始化流程,减少重装系统的操作成本和时间成本。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-11-03T07:01:53.000Z" itemprop="datePublished">2023-11-03</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-securecrt_totp"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="f81afbfec24f/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/securecrt_totp.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="f81afbfec24f/">SecureCRT自动输入二次认证码</a>
</header>
<div class="article-entry post-inner-html">
<p>为了保证安全,公司的Jump Server堡垒机默认开启了MFA多因子认证。众所周知,安全和便捷总是对立的。导致每次登录服务器时都需要打开手机或者浏览器的Bitwarden。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-09-19T04:46:24.000Z" itemprop="datePublished">2023-09-19</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-linux_mount_ossfs"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="bc04bb10b5b1/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/linux_mount_ossfs.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="bc04bb10b5b1/">使用非ROOT用户挂载ossfs</a>
</header>
<div class="article-entry post-inner-html">
<p>公司的应用服务器迁移,考虑到安全问题要求使用非root用户启动应用。因此需要把阿里云oss挂载给非root用户</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-08-16T01:24:19.000Z" itemprop="datePublished">2023-08-16</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-git_use_key"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="4c0e267c54ce/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/git_use_key.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="4c0e267c54ce/">Windows下使用密钥管理git账号</a>
</header>
<div class="article-entry post-inner-html">
<p>最近更换了部门,顺带着把自己的电脑也重新安装了一下。因为只安装了git命令行,在登陆github时遇到了一点小问题,因此有了以下的记录。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-07-27T02:30:47.000Z" itemprop="datePublished">2023-07-27</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-hexo_sponsor"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="0a150ad679fb/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/hexo_sponsor.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="0a150ad679fb/">为博客添加赞助按钮遇到的坑</a>
</header>
<div class="article-entry post-inner-html">
<p>最近在github上找到了一款比较合适的赞助页面 <a target="_blank" rel="noopener" href="https://github.com/Kaiyuan/sponsor-page">Kaiyuan/sponsor-page</a> ,就想着将它添加到博客文章的底部。万万没想到,大坑正在等着我。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-01-10T00:47:47.000Z" itemprop="datePublished">2023-01-10</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-nginx_build_openssl"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="2e04a82fe9f6/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/nginx_build_openssl.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="2e04a82fe9f6/">Nginx编译找不到OpenSSL library</a>
</header>
<div class="article-entry post-inner-html">
<h2 id="基本情况"><a href="#基本情况" class="headerlink" title="基本情况"></a>基本情况</h2><p>因为需要使用https模块,因此在编译Nginx时添加了–with-http_ssl_module。结果编译过程中报错。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2023-01-02T12:15:57.000Z" itemprop="datePublished">2023-01-02</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
<article
id="post-proxychains_ng"
class="article article-type-post"
>
<div class="article-inner">
<div class="article-feature">
<a href="e2efe6bded91/">
<img
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
data-src="/images/card/proxychains_ng.png"
alt="item.title"
class="lazy"
/>
</a>
</div>
<div class="article-body">
<header class="article-title">
<a href="e2efe6bded91/">Linux使用proxychains-ng代理应用</a>
</header>
<div class="article-entry post-inner-html">
<h2 id="基本情况"><a href="#基本情况" class="headerlink" title="基本情况"></a>基本情况</h2><p>公司的Linux服务器在私有网络内,因为业务比较敏感,运维部门对各个网络边界进行了安全加固,设置了严格的安全规则。</p>
</div>
</div>
<div class="article-badge">
</div>
</div>
<footer class="article-footer">
<div class="article-more-info">
<div class="article-date">
<time datetime="2022-10-20T07:21:33.000Z" itemprop="datePublished">2022-10-20</time>
</div>
<div class="article-category">
<a class="article-category-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a>
</div>
</div>
</footer>
</article>
</div>
</section>
</section>
<aside class="sidebar ">
<div class="widget" id="widget">
<div class="widget-wrap widget-cate">
<div class="widget-title"><span>Categories</span></div>
<div class="widget-inner">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="categories/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/">经验分享</a></li></ul>
</div>
</div>
<div class="widget-wrap widget-recent-posts">
<div class="widget-title"><span>Recent Posts</span></div>
<div class="widget-inner">
<ul>
<li>
<a href="fea046133020/">解决'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'</a>
</li>
<li>
<a href="c913893ed226/">240201</a>
</li>
<li>
<a href="1ad1547eaf1c/">使用命令行更新群晖的SSL证书</a>
</li>
<li>
<a href="97a24c5b2e7e/">脚本设置开始菜单显示的文件夹</a>
</li>
<li>
<a href="f81afbfec24f/">SecureCRT自动输入二次认证码</a>
</li>
</ul>
</div>
</div>
<div class="widget-wrap widget-archive">
<div class="widget-title"><span>Archive</span></div>
<div class="widget-inner">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="archives/2024/">2024</a></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2023/">2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/">2022</a></li></ul>
</div>
</div>
</div>
<div id="backtop"><i class="icon icon-arrow-up"></i></div>
</aside>
</div>
</div>
<footer class="footer">
<div class="footer-wave">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#3c4859" fill-opacity="1" d="M0,160L60,181.3C120,203,240,245,360,240C480,235,600,181,720,186.7C840,192,960,256,1080,261.3C1200,267,1320,213,1380,186.7L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>
</div>
<!-- Please do not remove this -->
<!-- 开源不易,请勿删除 -->
<div class="footer-wrap">
<div class="footer-inner">
Copyright © 2022 ~ 2024 <a href="https://github.com/kimi360" target="_blank">KIMI</a><br>
Powered By <a href="https://hexo.io/" target="_blank">Hexo</a> · Theme By <a href="https://github.com/lh1me/hexo-theme-aomori" target="_blank">Aomori</a>
</div>
</div>
</footer>
<script type="module" src="https://unpkg.com/ionicons@6.0.2/dist/ionicons/ionicons.esm.js"></script>
<script src="dist/build.js?1654266144177.js"></script>
<script src="dist/custom.js?1654266144177.js"></script>
</body>
</html>