-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
655 lines (328 loc) · 79.9 KB
/
atom.xml
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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>学海人生的博客</title>
<subtitle>书山有路勤为径,学海无涯苦作舟。</subtitle>
<link href="http://xuehrs.github.io/blog/atom.xml" rel="self"/>
<link href="http://xuehrs.github.io/blog/"/>
<updated>2022-03-26T01:47:26.000Z</updated>
<id>http://xuehrs.github.io/blog/</id>
<author>
<name>虔诚的信徒</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>终于恢复我的Blog了</title>
<link href="http://xuehrs.github.io/blog/2022/03/26/%E7%BB%88%E4%BA%8E%E6%81%A2%E5%A4%8D%E6%88%91%E7%9A%84Blog%E4%BA%86/"/>
<id>http://xuehrs.github.io/blog/2022/03/26/%E7%BB%88%E4%BA%8E%E6%81%A2%E5%A4%8D%E6%88%91%E7%9A%84Blog%E4%BA%86/</id>
<published>2022-03-26T01:47:26.000Z</published>
<updated>2022-03-26T01:47:26.000Z</updated>
<content type="html"><![CDATA[<pre><code> 时隔很久我终于用上了Blog 准备购买域名和服务器。我发现这个东西不好玩。 因为手机上有更好的Blog代替品。就是别话 但是考虑到服务器不在自己手上,那就先慢慢更新吧。 之后的事情到时再说吧! </code></pre>]]></content>
<summary type="html"><pre><code> 时隔很久我终于用上了Blog
准备购买域名和服务器。我发现这个东西不好玩。
因为手机上有更好的Blog代替品。就是别话
但是考虑到服务器不在自己手上,那就先慢慢更新吧。
之后的事情到时再说吧!
</code></summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
</entry>
<entry>
<title>Hello World</title>
<link href="http://xuehrs.github.io/blog/2022/03/02/hello-world/"/>
<id>http://xuehrs.github.io/blog/2022/03/02/hello-world/</id>
<published>2022-03-01T17:08:14.910Z</published>
<updated>2022-03-25T04:22:50.547Z</updated>
<content type="html"><![CDATA[<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a 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 href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a 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 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 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 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 href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>]]></content>
<summary type="html"><p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/">documentation</a> for</summary>
</entry>
<entry>
<title>某人和我的糗事</title>
<link href="http://xuehrs.github.io/blog/2020/07/27/%E6%9F%90%E4%BA%BA%E5%92%8C%E6%88%91%E7%9A%84%E7%B3%97%E4%BA%8B/"/>
<id>http://xuehrs.github.io/blog/2020/07/27/%E6%9F%90%E4%BA%BA%E5%92%8C%E6%88%91%E7%9A%84%E7%B3%97%E4%BA%8B/</id>
<published>2020-07-26T16:14:57.000Z</published>
<updated>2020-07-26T16:14:57.000Z</updated>
<content type="html"><![CDATA[<p>今天不上班,硬是上了班就回来了。懵逼呀,毕竟我确实听到明天上班,下个星期转夜班,我还以为下个星期一夜班呢,有可能是下个月夜班,是不是最近我飘了,走路脚都是飞的。</p>]]></content>
<summary type="html"><p>今天不上班,硬是上了班就回来了。懵逼呀,毕竟我确实听到明天上班,下个星期转夜班,我还以为下个星期一夜班呢,有可能是下个月夜班,是不是最近我飘了,走路脚都是飞的。</p>
</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="糗事" scheme="http://xuehrs.github.io/blog/categories/Blog/%E7%B3%97%E4%BA%8B/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="糗事" scheme="http://xuehrs.github.io/blog/tags/%E7%B3%97%E4%BA%8B/"/>
</entry>
<entry>
<title>定制各种wsl1和wsl2的linux</title>
<link href="http://xuehrs.github.io/blog/2020/07/26/%E5%AE%9A%E5%88%B6%E5%90%84%E7%A7%8Dwsl1%E5%92%8Cwsl2%E7%9A%84linux/"/>
<id>http://xuehrs.github.io/blog/2020/07/26/%E5%AE%9A%E5%88%B6%E5%90%84%E7%A7%8Dwsl1%E5%92%8Cwsl2%E7%9A%84linux/</id>
<published>2020-07-26T15:49:50.000Z</published>
<updated>2020-07-26T15:49:50.000Z</updated>
<content type="html"><![CDATA[<p> 正好今天休息,今天就在单位宿舍折腾wsl linux。一个个按照Microsoft Windows以及借鉴某git大佬软件思维方式整合了下工具。这个东西只能算是融合,不算创新,虽然网络上没有相关教程。但是硬是被我整出来了。</p><p>首先自己下载这俩个命令行工具</p><p>LxRunOffline</p><p>WSLDL(yuk7),这位大佬整合的archwsl2 滚挂了,我只能从做一个了。(毕竟这玩意是他整合的)</p><p>还有wsl专用的包(bootstrap)。参考文件名类似archlinux-bootstrap-2020.07.01-x86_64.tar.gz和stage3-amd64-20200722T214503Z.tar.xz</p><p>首先我先说明使用方法,以gentoo为例,下载完LxRunOffline WSLDL stage3-amd64-20200722T214503Z.tar.xz这三个文件就可以干了。</p><p>1.使用LxRunOffline用来解包导入到系统中,我分享了我的笔记</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br></pre></td><td class="code"><pre><span class="line">安装WSL2和安装WSL版archlinux</span><br><span class="line"></span><br><span class="line">1.安装WSL2(必须是18917之后的版本)</span><br><span class="line">Powershell以管理员身份运行 ,输入:Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform</span><br><span class="line">Powershell以管理员身份运行 ,输入:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux</span><br><span class="line">此命令将启用虚拟机平台与WSL可选组件,完成后重启系统。</span><br><span class="line">为使得之后安装的Linux子系统都安装到WSL2之中,重启后输入命令:wsl --set-default-version 2</span><br><span class="line">1.1补充:</span><br><span class="line">假如之前已安装了wsl版linux要转为WSL2可做以下操作:</span><br><span class="line">以管理员身份打开powershell,输入wsl -l查看已经安装的子系统(假如显示是:Ubuntu-18.04),输入命令:wsl --set-version Ubuntu-18.04 2</span><br><span class="line">如查看目前WSL版本可以通过命令:wsl -l -v</span><br><span class="line">2.使用LxRunOffline安装WSL系统</span><br><span class="line">下载LxRunOffline,解压缩的LxRunOffline.exe直接丢入C:/Windows/System32文件夹中,链接:https://github.com/DDoSolitary/LxRunOffline/releases</span><br><span class="line">下载archlinux系统,放置于D:/盘,链接:https://mirrors.tuna.tsinghua.edu.cn/archlinux/iso/2020.04.01/archlinux-bootstrap-2020.04.01-x86_64.tar.gz</span><br><span class="line">创建安装文件夹,我是放置于D:/Linux文件夹中</span><br><span class="line">Powershell以管理员身份运行 ,输入:LxRunOffline i -n archlinux -f d:/archlinux-bootstrap-2020.04.01-x86_64.tar.gz -d d:/linux -r root.x86_64</span><br><span class="line">走完进度条,完成安装。运行Linux使用输入指令:wsl -d archlinux</span><br><span class="line">3.卸载</span><br><span class="line">输入指令:LxRunOffline ui -n archlinux</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"># 如果需要创建快捷方式,可以这么干</span><br><span class="line"></span><br><span class="line">.\LxRunOffline.exe s -n 'Archlinux' -f 'Archlinux.lnk'</span><br><span class="line">rootfs.tar.gz</span><br><span class="line"></span><br><span class="line">.\LxRunOffline.exe i -n ArchLinux -f .\archlinux-bootstrap-2020.07.01-x86_64.tar.gz -d . -r root.x86_64</span><br><span class="line">.\LxRunOffline.exe i -n Gentoo -f .\stage3-amd64-20200722T214503Z.tar.xz -d . -r .</span><br><span class="line">LxRunOffline i -n archlinux -f d:/archlinux-bootstrap-2020.04.01-x86_64.tar.gz -d d:/linux -r root.x86_64</span><br><span class="line">[WARNING] Love this tool? Would you like to make a donation: https://github.com/DDoSolitary/LxRunOffline/blob/master/README.md#donation</span><br><span class="line">explorer.exe .</span><br></pre></td></tr></table></figure><p>2.WSLDL 里面有Gentoo启动器,也有源码可以自己手动编译。需要和LxRunOffline.exe同一目录,打开就能用了。至于如何切换wsl和wsl2上面笔记有了,我懒得讲解了</p><p>经过测试确实能用,会不会滚挂了,请自己想办法,gentoo我没空用,先archlinux用用吧,毕竟我使用很多年了,非常熟悉,有现成的方案和笔记。</p>]]></content>
<summary type="html"><p> 正好今天休息,今天就在单位宿舍折腾wsl linux。一个个按照Microsoft Windows以及借鉴某git大佬软件思维方式整合了下工具。这个东西只能算是融合,不算创新,虽然网络上没有相关教程。但是硬是被我整出来了。</p>
<p>首先自己下载这俩个</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="Gentoo" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/Gentoo/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="Gentoo" scheme="http://xuehrs.github.io/blog/tags/Gentoo/"/>
</entry>
<entry>
<title>个性化资料</title>
<link href="http://xuehrs.github.io/blog/2020/05/13/%E4%B8%AA%E6%80%A7%E5%8C%96%E8%B5%84%E6%96%99/"/>
<id>http://xuehrs.github.io/blog/2020/05/13/%E4%B8%AA%E6%80%A7%E5%8C%96%E8%B5%84%E6%96%99/</id>
<published>2020-05-13T03:27:48.000Z</published>
<updated>2022-03-25T04:22:50.486Z</updated>
<content type="html"><![CDATA[<p>我只是出个个人个性化资料,做个标记备份,看看个人喜好什么。</p><p>食物喜好:</p><p>喜:辣条、硬糖、</p><p>忌:烟、酒、龙虾、辣条、硬糖、生姜</p><p>歌曲喜好:</p><p>喜:慢歌,老歌,人声清晰,好听,正面的</p><p>忌:没法唱的,不可外放的,三观不正的,口水歌,歪歌,恶搞国歌的人,中国风歌曲感觉有点弱智</p><p>不偏民调,原因是民调歌曲,心事多。容易被歌曲主人公潜移默化地影响。从心理学上讲,人是群众动物,为了能够融入他们,就得放大与别人相近的地方,以便获得相近的主观共识(类似精神快感)。尤其夫妻方面比较明显,一起久了,双方行为和生活习惯越来越像了,甚至容貌也有一部分相似的地方。当我写完这些文字,好好总结了个人在上面写的内容,不得陷入沉思。我也是他们中的一员呀。我又想了一下,人就是不断的在否决中认识自己,以便获得心中本来的我。人有三个我,自我,本我,非我。自我就是自己,本我就是那个本性的我,也就是善我和恶我的集合体。非我,那就是不是我了,这个非我很复杂,要么是潜意识,要么是失记忆,要么多种人格,要么是情绪极端体,要么是生理性冲动等等。大部分非我列子都是没法证明的。</p>]]></content>
<summary type="html"><p>我只是出个个人个性化资料,做个标记备份,看看个人喜好什么。</p>
<p>食物喜好:</p>
<p>喜:辣条、硬糖、</p>
<p>忌:烟、酒、龙虾、辣条、硬糖、生姜</p>
<p>歌曲喜好:</p>
<p>喜:慢歌,老歌,人声清晰,好听,正面的</p>
<p>忌:没法唱的</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="个性化" scheme="http://xuehrs.github.io/blog/categories/Blog/%E4%B8%AA%E6%80%A7%E5%8C%96/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="个性化" scheme="http://xuehrs.github.io/blog/tags/%E4%B8%AA%E6%80%A7%E5%8C%96/"/>
<category term="口味" scheme="http://xuehrs.github.io/blog/tags/%E5%8F%A3%E5%91%B3/"/>
</entry>
<entry>
<title>心情随笔</title>
<link href="http://xuehrs.github.io/blog/2020/05/03/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/"/>
<id>http://xuehrs.github.io/blog/2020/05/03/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/</id>
<published>2020-05-03T09:31:08.000Z</published>
<updated>2020-05-03T09:31:08.000Z</updated>
<content type="html"><![CDATA[<p>今天出去浪了,武进区大学城实在没什么好玩的,就滚回来了。走了俩小时路,真累。部分地方里面的特殊商店,比如电脑店什么的进不去,还有的关门了。还有的门面太小,还有的找不到。武进大学城大排档只有晚上开放,今天上午十点没人的。为毛不骑电频车,坐公交车什么的,因为太麻烦了,运动只有一点时间。居然还看到易买得。好像在大学新村附近呢。为毛不去恐龙园什么的,一句话,没兴趣(钱)。实际上我咸蛋习惯了。</p><p>讲个笑话:每个人都是生活大师,多数是靠已知的经验判断。不同大小的石头落地只会同时落地。就是最好的证明。</p><p>某人从高薪区转到低薪区,他的消费观念在一年之后才会得到有效的改善。如果不是本人经历,基本很难想得到这件事。高薪区生活费4000,转到底薪区,生活费还是4000.为什么,因为他看到底薪区的东西好便宜。买买买!不算账单绝对不清楚钱花在哪儿了。反过来,底薪区转高薪区呢。看到东西好贵,只会选择生活必须低标准的东西。比如放弃阳光,转到地下室。放弃客厅,选择9平米的房子。可以这么说,个人有个人的活法。</p>]]></content>
<summary type="html"><p>今天出去浪了,武进区大学城实在没什么好玩的,就滚回来了。走了俩小时路,真累。部分地方里面的特殊商店,比如电脑店什么的进不去,还有的关门了。还有的门面太小,还有的找不到。武进大学城大排档只有晚上开放,今天上午十点没人的。为毛不骑电频车,坐公交车什么的,因为太麻烦了,运动只有一</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
</entry>
<entry>
<title>心情随笔</title>
<link href="http://xuehrs.github.io/blog/2020/05/02/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/"/>
<id>http://xuehrs.github.io/blog/2020/05/02/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/</id>
<published>2020-05-02T13:34:54.000Z</published>
<updated>2022-03-25T04:22:50.456Z</updated>
<content type="html"><![CDATA[<p>心情随笔</p><p>随个锤子,心情不好~~~~</p><p>某人说:要求工作稳定,工资高,有房有车什么的。然后人设就崩了。</p><p>我什么都没有,只能一个人过。</p><p>我只是一个没有明天的人。</p><p>不必要多想,不必要多问。只需要照顾好自己就行。</p><p>····································································································</p><p>以上纯属骗眼泪的。</p><p>我在想,如果这一切都符合我的预期,那么我会忙得连自己想要什么都不知道。现在变了,我自己闲了下来,思考了以后该怎么办?一句话,凉拌呗。将就着不讲究,不代表我一直将就着,一直不讲究。</p><p>差不多先生常说:“凡事只要差不多就好了。何必太精明呢?”</p><p>依鄙人之见,此言差矣。人活一口气,树活一张皮。凡是差不多的都是对很多情况无从选择的自我躲避、自我催眠。</p><p>毕竟人有一口气,就是争气,什么都不争,那就是争。什么都争,那就是死得最快。最好的方式就是,你知道你需要什么,愿意用什么等价值的去换取。比如我愿意用一生颠沛流离去带你看一路的风景。比如你在,就是我的全部。你不在了,什么都无所谓了。</p><p>··········································································································</p><p>我记得我在高中上语文课的老师讲过一个<a href="http://www.baidu.com/link?url=6mJIOYpzhj8Mpj91acU3uzIFPh5NRWE-XI6Ihf21mGALaCYqRQXTZgijh5BbeNrDKXLMFEImIcoZKHUzRbfSjK">题目:你的<em>人生五样</em>是什么?你<em>舍弃</em>的顺序是什么?</a></p><p>从那里我看到了人性的本质,后来老师告诉大家为什么没有人带纸笔。我突然明白了老师的心思。人生有许多获得和失去。也有很多拿不回的东西,我们不是超人,也没有什么特殊能力。如果能够陪伴自己一辈子,到死,唯有自己的笔和纸。</p><p>只要有笔和纸,我可以写下看到那时的一家团圆,开心的欢笑好时光。只要有笔和纸,无论在哪里,世界再怎么大,邮政也会帮忙将我的思念诉说带向远方。只要有笔和纸,我可以仗剑走天涯。</p><p>好了,不扯了,我学习了。</p>]]></content>
<summary type="html"><p>心情随笔</p>
<p>随个锤子,心情不好~~~~</p>
<p>某人说:要求工作稳定,工资高,有房有车什么的。然后人设就崩了。</p>
<p>我什么都没有,只能一个人过。</p>
<p>我只是一个没有明天的人。</p>
<p>不必要多想,不必要多问。只需要照顾好自己就行。</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="心情随笔" scheme="http://xuehrs.github.io/blog/tags/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/"/>
</entry>
<entry>
<title>昨夜瞎折腾记</title>
<link href="http://xuehrs.github.io/blog/2020/05/01/%E6%98%A8%E5%A4%9C%E7%9E%8E%E6%8A%98%E8%85%BE%E8%AE%B0/"/>
<id>http://xuehrs.github.io/blog/2020/05/01/%E6%98%A8%E5%A4%9C%E7%9E%8E%E6%8A%98%E8%85%BE%E8%AE%B0/</id>
<published>2020-05-01T14:51:22.000Z</published>
<updated>2020-05-01T14:51:22.000Z</updated>
<content type="html"><![CDATA[<p>昨夜不小心把电脑格式化了,卧槽,我的资料…,还好我个人定了很多计划,有定期备份数据规划。</p><p>废话不讲了,直奔主题。</p><p>据说wsl可以升级wsl2,同时使用VcXsrv可以使用某个桌面。</p><p>实际上我懒得用xinit窗口,没办法,命令行流派就是好用的。遇到需要图形的就比较麻烦了。</p><p>台式机<a href="http://detail.zol.com.cn/cpu/index1294471.shtml">i9 10920X</a>确实牛逼上天了。笔记本就坑了,基本整机都在价钱在2w以上,性能只有台式的一半,还有那个低压本,作用不是很大的。我想买个高u,高读写,高内存的,我选了一些参数,cpu十代i7 内存16G 硬盘1T固态x2+2t机械(总之硬盘越大越好,重要的数据保存到机械硬盘里面)。集显就够了。可惜大部分电脑都是带显卡的游戏本,没有别的笔记本符合我的需求。我想到了怎么解决电脑有Windows的问题,很简单,加个硬盘,用来装arch,随便玩玩呗。</p><p>我定了几个小目标</p><p>中等性能笔记本,服务器(高配置pc),群晖rad,电瓶车,街机定制。</p><p>后来我在想,我这么干累不累。干脆只保留了笔记本,别的钱用来投资别的地方吧。人生有诗有远方,为何不带个笔和本子去仗剑天涯呢。</p><p>我注意到某人说的B言B语,说的是专注个人说话,类似txt笔记本,但是不能评论,你想说什么就说什么。我个人认为呢,这货迟早会翻车的。但是我看到了该程序开源了,但是我不看好这软件的前途的,哈哈。</p><p>还有那个某x度盘,把pandownload作者给抓了。而且各种花式限速。我都想脱坑了。每次都要我下载都要下载官方的网盘,因为我经常格式化Windows。而且经常遇到各种资源挂了的问题。我都很生气的。我经常用pandowsload搜索mdx和mdd文件,主要是我不习惯用网络词典工具。还好我做了很多词典工具整合包。目前够用了。里面还有各种离线wiki,百科什么的。真香呢。还有某个词典能够本地发声音的,可以听各种词典的人声。蛮好用的。我会考虑找个不错的网盘工具来下载资源了。</p><p>算了,不扯了,改天在写。</p>]]></content>
<summary type="html"><p>昨夜不小心把电脑格式化了,卧槽,我的资料…,还好我个人定了很多计划,有定期备份数据规划。</p>
<p>废话不讲了,直奔主题。</p>
<p>据说wsl可以升级wsl2,同时使用VcXsrv可以使用某个桌面。</p>
<p>实际上我懒得用xinit窗口,没办法,命令行流派就</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="随缘" scheme="http://xuehrs.github.io/blog/categories/Blog/%E9%9A%8F%E7%BC%98/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="笔记" scheme="http://xuehrs.github.io/blog/tags/%E7%AC%94%E8%AE%B0/"/>
<category term="折腾" scheme="http://xuehrs.github.io/blog/tags/%E6%8A%98%E8%85%BE/"/>
<category term="随缘" scheme="http://xuehrs.github.io/blog/tags/%E9%9A%8F%E7%BC%98/"/>
</entry>
<entry>
<title>关于催收想法!</title>
<link href="http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8E%E5%82%AC%E6%94%B6%E6%83%B3%E6%B3%95%EF%BC%81/"/>
<id>http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8E%E5%82%AC%E6%94%B6%E6%83%B3%E6%B3%95%EF%BC%81/</id>
<published>2020-03-27T09:39:04.000Z</published>
<updated>2020-03-27T09:39:04.000Z</updated>
<content type="html"><![CDATA[<p>说句话,家庭没背景不合适。如果催收容易,那也不会有什么上征信的老赖了。若是容易,也早就按法院规定处理了。剩下要么没钱,要么把钱藏起来了。</p><p>欢迎转载,请添加来源~</p>]]></content>
<summary type="html"><p>说句话,家庭没背景不合适。如果催收容易,那也不会有什么上征信的老赖了。若是容易,也早就按法院规定处理了。剩下要么没钱,要么把钱藏起来了。</p>
<p>欢迎转载,请添加来源~</p>
</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="催收" scheme="http://xuehrs.github.io/blog/categories/Blog/%E5%82%AC%E6%94%B6/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="催收" scheme="http://xuehrs.github.io/blog/tags/%E5%82%AC%E6%94%B6/"/>
</entry>
<entry>
<title>关于Windows终端个人使用和评价</title>
<link href="http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8EWindows%E7%BB%88%E7%AB%AF%E4%B8%AA%E4%BA%BA%E4%BD%BF%E7%94%A8%E5%92%8C%E8%AF%84%E4%BB%B7/"/>
<id>http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8EWindows%E7%BB%88%E7%AB%AF%E4%B8%AA%E4%BA%BA%E4%BD%BF%E7%94%A8%E5%92%8C%E8%AF%84%E4%BB%B7/</id>
<published>2020-03-27T01:19:22.000Z</published>
<updated>2020-03-27T01:19:22.000Z</updated>
<content type="html"><![CDATA[<p>babun,此终端不错,就是基于Cygwin Terminal整合而来的。里面有各种不错的工具套装,还有zsh,可以做出很多美化。不过作者那边不怎么更新了,但是你可以使用Cygwin更新里面的东西。支持中文。可以使用终端gui套上去使用。</p><p>Cygwin Terminal,不错,有很多不错的命令行工具</p><p>git Terminal</p><p>MINGW</p><p>msys</p><p>msys2</p><p>这几个都是基于Cygwin做出来的特别终端,里面集成了很多常用工具</p><p>WSL_ArchLinux,此终端不错,主要是用来编译各种包仓库的主力机,现在只是个玩具,连自己编译aur有一定的问题。不过可以做到babun那个使用效果,之前玩了Arch好几年,说明oh-my-zsh我都玩过的。类似wsl_ubuntu等等我就不用介绍了,美化了都是差不多。</p><p>cmder,终端gui,就是ConEmu的进阶版,里面可以直接使用wsl,部分汉化,可以透明,支持壁纸</p><p>ConEmu,终端gui,里面需要进行很多设置,部分汉化,可以透明,支持壁纸</p><p>ConsoleZ,终端gui,全英文,功能单一,不可以设置透明</p><p>wsl-terminal,终端gui,部分中文,可以透明,不支持壁纸</p><p><a href="https://link.zhihu.com/?target=https://eugeny.github.io/terminus/">terminus</a>,终端gui,完美中文,里面功能要付费。但是比较坑,特别是玩主机的那个同学</p><p>fluent terminal,终端gui,windows terminal加强版</p><p>windows terminal,终端gui,应用商店里面的,微软官方出品</p><p>欢迎转载,请添加来源~</p>]]></content>
<summary type="html"><p>babun,此终端不错,就是基于Cygwin Terminal整合而来的。里面有各种不错的工具套装,还有zsh,可以做出很多美化。不过作者那边不怎么更新了,但是你可以使用Cygwin更新里面的东西。支持中文。可以使用终端gui套上去使用。</p>
<p>Cygwin Ter</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="Windows" scheme="http://xuehrs.github.io/blog/categories/Blog/Windows/"/>
<category term="终端" scheme="http://xuehrs.github.io/blog/categories/Blog/Windows/%E7%BB%88%E7%AB%AF/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="Windows" scheme="http://xuehrs.github.io/blog/tags/Windows/"/>
<category term="终端" scheme="http://xuehrs.github.io/blog/tags/%E7%BB%88%E7%AB%AF/"/>
</entry>
<entry>
<title>关于网络喷子概论</title>
<link href="http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8E%E7%BD%91%E7%BB%9C%E5%96%B7%E5%AD%90%E6%A6%82%E8%AE%BA/"/>
<id>http://xuehrs.github.io/blog/2020/03/27/%E5%85%B3%E4%BA%8E%E7%BD%91%E7%BB%9C%E5%96%B7%E5%AD%90%E6%A6%82%E8%AE%BA/</id>
<published>2020-03-27T00:36:20.000Z</published>
<updated>2020-03-27T00:36:20.000Z</updated>
<content type="html"><![CDATA[<p> 看到网络里面评论某人诋毁李小龙,我觉得某一部分人素质不好。后来我想了了下,就算某人再牛逼,估计见到李小龙本人也不敢随便口嗨。</p><p> 喷子特征就是那种,不讲道理的喷,你和他讲道理,他就不和你讲道理。你和他不讲道理,他就和你谈道理。反正节奏就在他手上。她就喜欢你那种受气的表情。好了,这事不扯了,我总结下原因,为什么喷子这么不讲道理。</p><p> 1.他见到李小龙的坏,所以对李小龙的一切都很讨厌。比如那些家族上世纪长辈原因呗。</p><p> 2.他是受害者,只是谣言所误而已。再怎么真实的故事,越传越离谱。第一人是真,第二人还是真,到了后面,某人才发现这是谣言,谁能告诉我,这故事什么时候开始不在真实了?没人说得出来。</p><p> 3.李小龙不是一个完美的人,有些人都是喜欢拿别人的方面跟自己比较,发现自己不如他的地方,那就挑毛病。跟一个死人杠精,也是一个人才。反正死人不会张口。</p><p> 4.只是喷子心情不好而已。</p><p> 5.没想好,以后再说吧。说不定我看多了假新闻也会变成他们这样。</p><p> <a href="https://www.baidu.com/link?url=xzKHSBjHaD_6nD8qvcWVvT18Fz4lJHCOgadCbtoXNr64sPZ96QGIiMSdsRjyQ8ILCx1vAG0Km6vmm2p0gjkeUlHKq8GkR0TascWG7hZmVTO&wd=&eqid=dc21e5030010fb7f000000055e7d4dd1"><em>谣言</em>究竟<em>是止于智者</em>,还是<em>止于下一个谣言</em>?</a></p><p> 对于上面话题,我个人评论:一件事,只要有评论,就有争议,有争议就有不符事实的事据。不符事实的事据传多了,也就变成了大家不怎么相信的谣言了。到了最后,大家都知道那个真相是谣言,后面就没人争议了。因为即使知道真相,也没用了。</p><p>讲个冷笑话,活人嘴皮子上下一合,事情就这么说定了。就算扭曲了真相,死人也不会说话。</p><p>欢迎转载,请添加来源~</p>]]></content>
<summary type="html"><p> 看到网络里面评论某人诋毁李小龙,我觉得某一部分人素质不好。后来我想了了下,就算某人再牛逼,估计见到李小龙本人也不敢随便口嗨。</p>
<p> 喷子特征就是那种,不讲道理的喷,你和他讲道理,他就不和你讲道理。你和他不讲道理,他就和你谈道理。反</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="李小龙" scheme="http://xuehrs.github.io/blog/tags/%E6%9D%8E%E5%B0%8F%E9%BE%99/"/>
<category term="喷子" scheme="http://xuehrs.github.io/blog/tags/%E5%96%B7%E5%AD%90/"/>
</entry>
<entry>
<title>个人自定义的Openbox桌面配置文件分享</title>
<link href="http://xuehrs.github.io/blog/2018/08/12/%E4%B8%AA%E4%BA%BA%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84Openbox%E6%A1%8C%E9%9D%A2%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E5%88%86%E4%BA%AB/"/>
<id>http://xuehrs.github.io/blog/2018/08/12/%E4%B8%AA%E4%BA%BA%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84Openbox%E6%A1%8C%E9%9D%A2%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E5%88%86%E4%BA%AB/</id>
<published>2018-08-12T09:54:42.000Z</published>
<updated>2018-08-12T09:54:42.000Z</updated>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="Openbox" scheme="http://xuehrs.github.io/blog/tags/Openbox/"/>
<category term="配置文件" scheme="http://xuehrs.github.io/blog/tags/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/"/>
<category term="配置" scheme="http://xuehrs.github.io/blog/tags/%E9%85%8D%E7%BD%AE/"/>
</entry>
<entry>
<title>关于信息过时问题</title>
<link href="http://xuehrs.github.io/blog/2018/08/12/%E5%85%B3%E4%BA%8E%E4%BF%A1%E6%81%AF%E8%BF%87%E6%97%B6%E9%97%AE%E9%A2%98/"/>
<id>http://xuehrs.github.io/blog/2018/08/12/%E5%85%B3%E4%BA%8E%E4%BF%A1%E6%81%AF%E8%BF%87%E6%97%B6%E9%97%AE%E9%A2%98/</id>
<published>2018-08-12T09:46:42.000Z</published>
<updated>2018-08-12T09:46:42.000Z</updated>
<content type="html"><![CDATA[<p>对于信息过时问题,我暂时没有太多精力维护,如果将来遇到我无法解决的问题,我只会重新新建一个blog内容。不会对原来的旧资料进行修正问题。毕竟旧资料很有价值。特别是ArchLinux问题。这个东西可是解决窗口合成重影问题。ArchLinux里面可是没有的,中文和英文资料没了,当然你可以查看历史资料,好累,还好我经常备份zsh最近输入记录。</p><p>参考如下:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># X compositor合成效果,可以解决显示撕裂问题的,让openbox有透明等特效功能,可以自己设置参数,详情看帮助,安装compton或者xcompmgr</span><br><span class="line"></span><br><span class="line">#(sleep 1 && compton -b) &</span><br><span class="line">(sleep 1 && xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55) &# 可能有部分重影,暂时无法解决,请用最下面的东西</span><br><span class="line">#(sleep 1 && compton -cCGfF -o 0.38 -O 200 -I 200 -t 0 -l 0 -r 3 -D2 -m 0.88) &</span><br><span class="line">#(sleep 1 && xcompmgr -Ss -n -Cc -fF -I-10 -O-10 -D1 -t-3 -l-4 -r4) &# 找不到来源</span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><p>对于信息过时问题,我暂时没有太多精力维护,如果将来遇到我无法解决的问题,我只会重新新建一个blog内容。不会对原来的旧资料进行修正问题。毕竟旧资料很有价值。特别是ArchLinux问题。这个东西可是解决窗口合成重影问题。ArchLinux里面可是没有的,中文和英文资料没了,</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
</entry>
<entry>
<title>关于清空ArchLinux的Home所有配置文件说明</title>
<link href="http://xuehrs.github.io/blog/2018/08/12/%E5%85%B3%E4%BA%8E%E6%B8%85%E7%A9%BAArchLinux%E7%9A%84Home%E6%89%80%E6%9C%89%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E/"/>
<id>http://xuehrs.github.io/blog/2018/08/12/%E5%85%B3%E4%BA%8E%E6%B8%85%E7%A9%BAArchLinux%E7%9A%84Home%E6%89%80%E6%9C%89%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E/</id>
<published>2018-08-12T09:35:22.000Z</published>
<updated>2018-08-12T09:35:22.000Z</updated>
<content type="html"><![CDATA[<p>清空Linux的Home里的所有配置文件确实很爽,相当于Android初始化,也解决网易云音乐(不管是基于Ubuntu还是deppin平台的包)死活打不开问题。没错,与xfce4环境有关。暂时查不出来具体原因,在其它桌面很正常,使用ok!</p><p>但是如果你备份过重要的文件,可以直接还原。比如xfce4的相关配置。但是使用过程中发现了不少的问题</p><p>需要做的步骤如下:</p><p>步骤一:</p><p>打开seahorse密码和密钥<br>新建login密码密钥环<br>下面直接确定,不要输入密码<br>将其设置为默认<br>再将其设置为锁定</p><p>然后你看看ssh能不能用(不然git,google-chrome无法使用)</p><p>步骤二:</p><p>部分桌面合成特效有问题</p><p>比如阴影,透明,窗口透明,甚至移动窗口过程中有重影等等。需要重新自定义新的合成器。不过我做好了,以防将来出问题,保留下原始档。</p>]]></content>
<summary type="html"><p>清空Linux的Home里的所有配置文件确实很爽,相当于Android初始化,也解决网易云音乐(不管是基于Ubuntu还是deppin平台的包)死活打不开问题。没错,与xfce4环境有关。暂时查不出来具体原因,在其它桌面很正常,使用ok!</p>
<p>但是如果你备份过重要</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
</entry>
<entry>
<title>ArchLinux本地仓库进价</title>
<link href="http://xuehrs.github.io/blog/2018/07/02/ArchLinux%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93%E8%BF%9B%E4%BB%B7/"/>
<id>http://xuehrs.github.io/blog/2018/07/02/ArchLinux%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93%E8%BF%9B%E4%BB%B7/</id>
<published>2018-07-02T06:08:37.000Z</published>
<updated>2018-07-08T06:08:37.000Z</updated>
<content type="html"><![CDATA[<h2 id="介绍"><a href="#介绍" class="headerlink" title="介绍"></a>介绍</h2><p>前面教程我做过本地仓库,而且还能支持离线安装Archlinux。</p><p>现在,当你的本地仓库包多了,甚至里面有不少的自制包,还有那些过期的包如果管理。别急,在这里我可以用文章为你介绍如何更好的管理本地仓库,甚至局域网仓库!当然,你也可以把你自己做好的仓库分享到互联网上去。让其添加到Archlinux里的AUR推荐源列表上。但是,要注意了,不要把无版权的东西随意添加的互联网上,不然要吃官司的。</p><h2 id="安装repoctl和查看使用方法"><a href="#安装repoctl和查看使用方法" class="headerlink" title="安装repoctl和查看使用方法"></a>安装repoctl和查看使用方法</h2><p>官方直达连接<a href="https://github.com/cassava/repoctl">https://github.com/cassava/repoctl</a></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">sudo pacman -S repoctl -i</span><br><span class="line">sudo pacman -S repoctl</span><br><span class="line">repoctl --help</span><br></pre></td></tr></table></figure><h2 id="使用前的准备"><a href="#使用前的准备" class="headerlink" title="使用前的准备"></a>使用前的准备</h2><p>在你使用repoctl之前,你需要创建一个配置文件。这告诉repoctl您的本地存储库在哪里,等等。由于没有人真的喜欢这个步骤,repoctl可以为你写一个默认配置。它还会告诉你它在哪里写配置文件,以便以后可以更改它。</p><p>假设你想要你的仓库在<code>~/custompkgs/x86_64/</code>,并且想要命名它<code>custompkgs</code>。然后你会运行:</p><figure class="highlight plaintext"><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">repoctl new config ~/custompkgs/x86_64/custompkgs.db.tar.gz</span><br><span class="line">repoctl add ~/custompkgs/x86_64/*.pkg.tar.xz</span><br></pre></td></tr></table></figure><p>但是还差一些东西,你需要编辑这个配置文件以适合使用要求</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo nano ~/.config/repoctl/config.toml</span><br></pre></td></tr></table></figure><h2 id="灵活使用repoctl工具"><a href="#灵活使用repoctl工具" class="headerlink" title="灵活使用repoctl工具"></a>灵活使用repoctl工具</h2><p>如果前面的准备做好了,你可以直接这样做,</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">sudo nano /etc/pacman.conf </span><br><span class="line"></span><br><span class="line">#这个东西你可以按照需要确定放到哪个位置!不懂的,可以直接放到最后一行</span><br><span class="line">[custompkgs]</span><br><span class="line">SigLevel = Never #表示忽略包签名</span><br><span class="line">#SigLevel = Optional TrustAll</span><br><span class="line">Server = file:///home/[你的用户名]/custompkgs/$arch</span><br><span class="line">#说明,如果你想添加这个,你必须把[文件名].db.tar.gz放到~/custompkgs/x86_64/里面。不然会说数据库错误!</span><br><span class="line"></span><br><span class="line">#然后直接更新源</span><br><span class="line">sudo pacman -Syu</span><br><span class="line">sudo pacman -S [仓库里的包名]</span><br></pre></td></tr></table></figure><p>如果你已经添加做好的包到<code>~/custompkgs/x86_64/</code>,你可以运行</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">repoctl update #运行repoctl update之前,一定要确认好是否保留旧包,否则请先跳过这个命令</span><br></pre></td></tr></table></figure><p>如果你想保留旧版本的包,你可以这样做</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">sudo nano ~/.config/repoctl/config.toml</span><br><span class="line"></span><br><span class="line"># ...</span><br><span class="line">backup = true</span><br><span class="line">backup_dir = ""</span><br><span class="line">...</span><br></pre></td></tr></table></figure><p>如果你想支持本地分享远程仓库,以支持非本地互联网用户使用,不好意思,我对sshfs这个包不太了解,只能使用其它工具挂载远程仓库,如果你有不错的方法,可以告诉我。</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">sudo pacman -S sshfs</span><br><span class="line">sshfs --help</span><br><span class="line">??????</span><br></pre></td></tr></table></figure><p>如果你想查看有什么需要升级,你可以这样做</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">repoctl status -a</span><br></pre></td></tr></table></figure><p>如果你想获取所有可以升级的AUR,你可以这样做</p><figure class="highlight plaintext"><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">repoctl down -u -l #注意,一定要在指定的临时目录使用。比如/tmp/[文件名],可以加快编译速度 </span><br><span class="line"># -u:表示获取所有可升级的aur脚本。-l:表示强制覆盖文件,不会覆盖无关文件</span><br></pre></td></tr></table></figure><p>如果你想makepkg脚本后,把编译好的包自动添加到custompkgs仓库中,你可以这样做</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">sudo nano /etc/makepkg.conf</span><br><span class="line"></span><br><span class="line">#...</span><br><span class="line">PKGDEST=~/custompkgs/x86_64</span><br><span class="line">...</span><br></pre></td></tr></table></figure><h2 id="我的repoctl配置文件内容如下"><a href="#我的repoctl配置文件内容如下" class="headerlink" title="我的repoctl配置文件内容如下"></a>我的repoctl配置文件内容如下</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br></pre></td><td class="code"><pre><span class="line"># repoctl configuration</span><br><span class="line"></span><br><span class="line"># repo is the full path to the repository that will be managed by repoctl.</span><br><span class="line"># The packages that belong to the repository are assumed to lie in the</span><br><span class="line"># same folder.</span><br><span class="line">repo = "/home/[用户名]/custompkgs/x86_64/custompkgs.db.tar.gz"</span><br><span class="line"></span><br><span class="line"># add_params is the set of parameters that will be passed to repo-add</span><br><span class="line"># when it is called. Specify one time for each parameter.</span><br><span class="line">#原因未知</span><br><span class="line">add_params = [</span><br><span class="line"> "-v"</span><br><span class="line">]</span><br><span class="line"></span><br><span class="line"># rm_params is the set of parameters that will be passed to repo-remove</span><br><span class="line"># when it is called. Specify one time for each parameter.</span><br><span class="line">rm_params = []</span><br><span class="line"></span><br><span class="line"># ignore_aur is a set of package names that are ignored in conjunction</span><br><span class="line"># with AUR related tasks, such as determining if there is an update or not.</span><br><span class="line">ignore_aur = []</span><br><span class="line"></span><br><span class="line"># backup specifies whether package files should be backed up or deleted.</span><br><span class="line"># If it is set to false, then obsolete package files are deleted.</span><br><span class="line">#让旧包留在仓库里,永远不要自动清理</span><br><span class="line">backup = true</span><br><span class="line"></span><br><span class="line"># backup_dir specifies which directory backups are stored in.</span><br><span class="line"># - If a relative path is given, then it is interpreted as relative to</span><br><span class="line"># the repository directory.</span><br><span class="line"># - If the path here resolves to the same as repo, then obsolete packages</span><br><span class="line"># are effectively ignored by repoctl, if backup is true.</span><br><span class="line">#指定旧包的路径,如果仓库里的旧包和与backup_dir指定路径里的旧包冲突,那么仓库里的旧包会覆盖backup_dir指定路径里的旧包。</span><br><span class="line">backup_dir = ""</span><br><span class="line"></span><br><span class="line"># interactive specifies that repoctl should ask before doing anything</span><br><span class="line"># destructive.</span><br><span class="line">interactive = false</span><br><span class="line"></span><br><span class="line"># columnate specifies that listings should be in columns rather than</span><br><span class="line"># in lines. This only applies to the list command.</span><br><span class="line">columnate = true</span><br><span class="line"></span><br><span class="line"># color specifies when to use color. Can be one of auto, always, and never.</span><br><span class="line">color = "auto"</span><br><span class="line"></span><br><span class="line"># quiet specifies whether repoctl should print more information or less.</span><br><span class="line"># I prefer to know what happens, but if you don't like it, you can change it.</span><br><span class="line">quiet = false</span><br><span class="line"></span><br><span class="line"># pre_action is a command that should be executed before doing anything</span><br><span class="line"># with the repository, like reading or modifying it. Useful for mounting</span><br><span class="line"># a remote filesystem.</span><br><span class="line">#无法使用</span><br><span class="line">#pre_action = "sshfs host:www.pkgs.me /home/[用户名]/custompkgs/x86_64/"</span><br><span class="line"></span><br><span class="line"># post_action is a command that should be executed before exiting.</span><br><span class="line">#无法使用</span><br><span class="line">#post_action = "fusermount -u /home/[用户名]/custompkgs/x86_64/"</span><br><span class="line"></span><br><span class="line"># action_on_completion determines whether repols should perform the</span><br><span class="line"># actions or not. By default, this is disallowed.</span><br><span class="line">action_on_completion = true</span><br></pre></td></tr></table></figure><h2 id="小提示"><a href="#小提示" class="headerlink" title="小提示"></a>小提示</h2><p>有了本地仓库,但是问题来了,我本地仓库里有包,但是我不想下载,想直接安装,怎么办?</p><p>如果你想把仓库里的包导入到下载的缓存里面,也就是说,如果pacman搜了一个包,只要本地缓存里面有的,直接安装,不必要下载多余的包!</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">sudo nano /etc/pacman.conf</span><br><span class="line"></span><br><span class="line">…</span><br><span class="line">#CacheDir = /var/cache/pacman/pkg/</span><br><span class="line">CacheDir = /home/[用户名]/custompkgs/x86_64/</span><br><span class="line">…</span><br></pre></td></tr></table></figure><p>AUR里的包确实比较麻烦!你需要改变,缺点就是必须手动makepkg,它会自动添加到指定仓库里。而我只是做个定时检测/tmp目录是否有包的脚本。</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">sudo nano /etc/makepkg.conf</span><br><span class="line"></span><br><span class="line">...</span><br><span class="line">#PKGDEST=/home/packages</span><br><span class="line">PKGDEST=/home/[用户名]/custompkgs/x86_64</span><br><span class="line">...</span><br><span class="line"></span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><h2 id="介绍"><a href="#介绍" class="headerlink" title="介绍"></a>介绍</h2><p>前面教程我做过本地仓库,而且还能支持离线安装Archlinux。</p>
<p>现在,当你的本地仓库包多了,甚至里面有不少的自制包,还有那些</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="本地仓库" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="本地仓库" scheme="http://xuehrs.github.io/blog/tags/%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93/"/>
<category term="AUR" scheme="http://xuehrs.github.io/blog/tags/AUR/"/>
<category term="repoctl" scheme="http://xuehrs.github.io/blog/tags/repoctl/"/>
<category term="repo" scheme="http://xuehrs.github.io/blog/tags/repo/"/>
</entry>
<entry>
<title>好了歌</title>
<link href="http://xuehrs.github.io/blog/2018/06/20/%E5%A5%BD%E4%BA%86%E6%AD%8C/"/>
<id>http://xuehrs.github.io/blog/2018/06/20/%E5%A5%BD%E4%BA%86%E6%AD%8C/</id>
<published>2018-06-20T11:37:09.000Z</published>
<updated>2018-06-29T11:37:09.000Z</updated>
<content type="html"><![CDATA[<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">跛足道人《好了歌》</span><br><span class="line"></span><br><span class="line">世人都晓神仙好,只有功名忘不了!</span><br><span class="line">古今将相在何方?荒冢一堆草没了!</span><br><span class="line">世人都晓神仙好,只有金银忘不了!</span><br><span class="line">终朝只恨聚无多,及到多时眼闭了!</span><br><span class="line">世人都晓神仙好,只有姣妻忘不了!</span><br><span class="line">君生日日说恩情,君死又随人去了!</span><br><span class="line">世人都晓神仙好,只有儿孙忘不了!</span><br><span class="line">痴心父母古来多,孝顺儿孙谁见了?</span><br></pre></td></tr></table></figure><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">金陵十二钗《收尾·飞鸟各投林》</span><br><span class="line"></span><br><span class="line">为官的,家业凋零。富贵的,金银散尽。</span><br><span class="line">有恩的,死里逃生。无情的,分明报应。</span><br><span class="line">欠命的,命已还。欠泪的,泪已尽。</span><br><span class="line">冤冤相报实非轻,分离合聚皆前定。</span><br><span class="line">欲知命短问前生,老来富贵也真侥幸。</span><br><span class="line">看破的,遁入空门。痴迷的,枉送了性命。</span><br><span class="line">好一似食尽鸟投林,落了片白茫茫大地真干净!</span><br></pre></td></tr></table></figure><p>今天听了好了歌曲,特意搜索相关资料.</p><p>看了这些资料,我总结:看透不说破,心里明白就好.</p><p>如果将来我还活着,看到它,希望不要忘了当初坚持的理由.</p><p>嗯!无论有什么理由,哪怕是有一万个要改变初衷的理由,也要坚持!</p>]]></content>
<summary type="html"><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span c</summary>
<category term="Blog" scheme="http://xuehrs.github.io/blog/categories/Blog/"/>
<category term="好了歌" scheme="http://xuehrs.github.io/blog/categories/Blog/%E5%A5%BD%E4%BA%86%E6%AD%8C/"/>
<category term="blog" scheme="http://xuehrs.github.io/blog/tags/blog/"/>
<category term="好了歌" scheme="http://xuehrs.github.io/blog/tags/%E5%A5%BD%E4%BA%86%E6%AD%8C/"/>
</entry>
<entry>
<title>Archlinux添加本地仓库</title>
<link href="http://xuehrs.github.io/blog/2018/06/08/Archlinux%E6%B7%BB%E5%8A%A0%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93/"/>
<id>http://xuehrs.github.io/blog/2018/06/08/Archlinux%E6%B7%BB%E5%8A%A0%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93/</id>
<published>2018-06-08T12:02:42.000Z</published>
<updated>2018-06-08T12:02:42.000Z</updated>
<content type="html"><![CDATA[<p>关于Arch仓库,我个人一直想做个本地仓库。老是没空,今天狠下心,花了些时间,做了几个测试。测试OK!</p><p>以后再也不用老是下载破东西浪费时间了</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">sudo nano /etc/pacman.conf</span><br><span class="line">[custompkgs] #请把它添加到archlinuxcn源前面,因为我这里的包都是特制版的</span><br><span class="line">SigLevel = Optional TrustAll</span><br><span class="line">Server = file:///home/[路径...]/custompkgs/$arch #添加特制好的包路径</span><br><span class="line">#Server = ftp://localhost/home/[路径...]/custompkgs/$arch</span><br><span class="line"></span><br><span class="line">repo-add /home/[路径...]/custompkgs/x86_64/custompkgs.db.tar.gz /home/[路径...]/custompkgs/x86_64/*.pkg.tar.xz</span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><p>关于Arch仓库,我个人一直想做个本地仓库。老是没空,今天狠下心,花了些时间,做了几个测试。测试OK!</p>
<p>以后再也不用老是下载破东西浪费时间了</p>
<figure class="highlight plaintext"><table><tr><td clas</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="仓库" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/%E4%BB%93%E5%BA%93/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="仓库" scheme="http://xuehrs.github.io/blog/tags/%E4%BB%93%E5%BA%93/"/>
<category term="本地仓库" scheme="http://xuehrs.github.io/blog/tags/%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93/"/>
<category term="包仓库" scheme="http://xuehrs.github.io/blog/tags/%E5%8C%85%E4%BB%93%E5%BA%93/"/>
</entry>
<entry>
<title>Archlinux启用休眠</title>
<link href="http://xuehrs.github.io/blog/2018/06/07/Archlinux%E5%90%AF%E7%94%A8%E4%BC%91%E7%9C%A0/"/>
<id>http://xuehrs.github.io/blog/2018/06/07/Archlinux%E5%90%AF%E7%94%A8%E4%BC%91%E7%9C%A0/</id>
<published>2018-06-07T04:40:14.000Z</published>
<updated>2018-06-07T04:40:14.000Z</updated>
<content type="html"><![CDATA[<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br></pre></td><td class="code"><pre><span class="line">cat /sys/power/image_size #查看休眠最少需要分配多少内存,通常休眠文件的大小与当前运行内存有关,但是交换分区要尽量远远大于此文件大小,否则休眠会失败</span><br><span class="line">su #必须使用root权限,输入root密码</span><br><span class="line">fallocate -l 16G /swapfile #创建交换分区,建立交换文件,这里建立16G</span><br><span class="line">chmod 600 /swapfile #更改新交换文件的权限</span><br><span class="line">mkswap /swapfile #会显示UUID</span><br><span class="line">swapon /swapfile #启用交换文件</span><br><span class="line">sudo nano /etc/fstab</span><br><span class="line">/swapfile none swap defaults 0 0</span><br><span class="line"></span><br><span class="line">exit #返回标准用户权限</span><br><span class="line">sudo filefrag -v /swapfile #交换文件开始的偏移量。记住第一行,第四列的偏移量,参数为resume_offset=</span><br><span class="line">sudo nano /etc/default/grub</span><br><span class="line">GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=enable resume_offset=882688 resume=/dev/sda2" #resume:交换文件所在的分区,#intel_pstate:处理器优化</span><br><span class="line"></span><br><span class="line">sudo grub-mkconfig -o /boot/grub/grub.cfg #生成新的grub.cfg配置文件</span><br><span class="line">sudo nano /etc/mkinitcpio.conf</span><br><span class="line">HOOKS=(base udev resume autodetect keyboard modconf block filesystems fsck)</span><br><span class="line"></span><br><span class="line">sudo mkinitcpio -p linux</span><br><span class="line"></span><br><span class="line">#至于合盖子,按电源键之类的响应相关睡眠问题,请根据情况调整,本人电脑桌面xfce4自带默认的电源管理功能都有了</span><br><span class="line"></span><br></pre></td></tr></table></figure><p>备注:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># 删除交换文件</span><br><span class="line">swapoff -a #停用交换文件</span><br><span class="line">rm -rf /swapfile #删除交换文件</span><br><span class="line">sudo nano /etc/fstab #删除相关条目停用交换文件</span><br><span class="line"></span><br><span class="line"></span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span c</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="睡眠" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/%E7%9D%A1%E7%9C%A0/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="休眠" scheme="http://xuehrs.github.io/blog/tags/%E4%BC%91%E7%9C%A0/"/>
<category term="睡眠" scheme="http://xuehrs.github.io/blog/tags/%E7%9D%A1%E7%9C%A0/"/>
</entry>
<entry>
<title>关于ArchLinux安装命令步骤</title>
<link href="http://xuehrs.github.io/blog/2018/05/28/%E5%85%B3%E4%BA%8EArchLinux%E5%AE%89%E8%A3%85%E5%91%BD%E4%BB%A4%E6%AD%A5%E9%AA%A4/"/>
<id>http://xuehrs.github.io/blog/2018/05/28/%E5%85%B3%E4%BA%8EArchLinux%E5%AE%89%E8%A3%85%E5%91%BD%E4%BB%A4%E6%AD%A5%E9%AA%A4/</id>
<published>2018-05-28T13:07:13.000Z</published>
<updated>2018-05-28T13:07:13.000Z</updated>
<content type="html"><![CDATA[<p>Arch面向高级用户,缺乏技术专长或者没有耐心的人是无法顺利安装、如何安装Arch。ArchWiki上列举了<a href="https://wiki.archlinux.org/index.php/Installation_guide_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)">ArchLinux的安装步骤</a>,需要用户在黑色的tty界面下输入如下多个命令:</p><p>说明:这里有三个桌面随便耍,具体请自己查看命令步骤</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br></pre></td><td class="code"><pre><span class="line">sudo systemctl start dhcpcd #我用的是Android手机做WiFi无线网卡</span><br><span class="line">ping baidu.com #ctrl+c终止进程</span><br><span class="line">ls /sys/firmware/efi/efivars</span><br><span class="line">timedatectl</span><br><span class="line">timedatectl set-ntp true</span><br><span class="line">timedatectl</span><br><span class="line">fdisk -l</span><br><span class="line">lsblk</span><br><span class="line">cfdisk /dev/sda</span><br><span class="line">cfdisk /dev/sdb</span><br><span class="line">lsblk</span><br><span class="line">mkfs.fat -F32 /dev/sda1</span><br><span class="line">mkfs.ext4 /dev/sda2</span><br><span class="line">mkfs.ext4 /dev/sdb1</span><br><span class="line">mount /dev/sda2 /mnt</span><br><span class="line">mkdir /mnt/boot</span><br><span class="line">mkdir /mnt/home</span><br><span class="line">mount /dev/sda1 /mnt/boot</span><br><span class="line">mount /dev/sdb1 /mnt/home</span><br><span class="line">lsblk</span><br><span class="line">nano /etc/pacman.d/mirrorlist</span><br><span class="line">pacstrap -i /mnt base base-devel</span><br><span class="line">genfstab -U /mnt >> /mnt/etc/fstab</span><br><span class="line">cat /mnt/etc/ifstab #三个分区必须添加进来,否则请查原因</span><br><span class="line">arch-chroot /mnt</span><br><span class="line">ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime</span><br><span class="line">hwclock --systohc --utc</span><br><span class="line">nano /etc/locale.gen</span><br><span class="line">en_US.UTF-8 UTF-8</span><br><span class="line">zh_CN.UTF-8 UTF-8</span><br><span class="line">zh_TW.UTF-8 UTF-8</span><br><span class="line">locale-gen</span><br><span class="line">echo LANG=en_US.UTF-8 > /etc/locale.conf</span><br><span class="line">echo archlinux > /etc/hostname</span><br><span class="line">nano /etc/hosts</span><br><span class="line">127.0.0.1localhost</span><br><span class="line">::1 localhost</span><br><span class="line">127.0.1.1archlinux.localdomainarchlinux</span><br><span class="line">pacman -S iw wpa_supplicant dialog</span><br><span class="line">mkinitcpio -p linux</span><br><span class="line">passwd</span><br><span class="line">pacman -S grub efibootmgr os-prober</span><br><span class="line">grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub</span><br><span class="line">grub-mkconfig -o /boot/grub/grub.cfg</span><br><span class="line">pacman -S intel-ucode</span><br><span class="line">grub-mkconig -o /boot/grub/grub.cfg</span><br><span class="line">useradd -m [你的用户名]</span><br><span class="line">passwd [你的用户名]</span><br><span class="line">nano /etc/sudoers</span><br><span class="line">[你的用户名] ALL=(ALL) ALL</span><br><span class="line">[你的用户名] ALL=(ALL) NOPASSWD: ALL</span><br><span class="line">exit</span><br><span class="line">exit</span><br><span class="line">exit</span><br><span class="line">umount -R /mnt</span><br><span class="line">reboot</span><br><span class="line"></span><br><span class="line"># 进入自己的账户</span><br><span class="line"></span><br><span class="line">sudo systemctl start dhcpcd</span><br><span class="line">sudo pacman -S xfce4 xfce4-goodies lxdm lxde lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings networkmanager network-manager-applet dhclient gnome-keyring seahorse libsecret gnome-keyring ntfs-3g gvfs gvfs-mtp dosfstools alsa-utils pavucontrol pulseaudio xorg xorg-xinit xterm xorg-xclock xorg-twm mesa xf86-video-intel ttf-dejavu wqy-microhei wqy-microhei-lite wqy-bitmapfont wqy-zenhei ttf-arphic-ukai ttf-arphic-uming adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts adobe-source-han-sans-tw-fonts adobe-source-han-serif-tw-fonts noto-fonts-cjk chromium firefox-i18n-zh-cn opera notepadqq vim git gradle jre10-openjdk-headless jre10-openjdk jdk10-openjdk openjdk10-doc openjdk10-src zsh fcitx fcitx-im fcitx-configtool fcitx-googlepinyin fcitx-rime fcitx-cloudpinyin fcitx-sunpinyin fcitx-libpinyin pepper-flash flashplugin vlc libreoffice-fresh-zh-cn nodejs npm virtualbox create_ap catfish thunderbird-i18n-zh-cn wget qbittorrent p7zip file-roller unrar unzip zip unace lrzip gimp clang ccache astyle qmc2 rubygems virtualbox-host-modules-arch </span><br><span class="line">startx #需要用下面命令把最左边的窗口kill</span><br><span class="line">exit</span><br><span class="line">sudo systemctl enable lightdm</span><br><span class="line">sudo systemctl enable NetworkManager</span><br><span class="line">sudo reboot</span><br><span class="line"># 这里只是安装了一部分包</span><br><span class="line"># 别的还有aur,预编译源的包需要自己添加,还有各种美化+优化</span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><p>Arch面向高级用户,缺乏技术专长或者没有耐心的人是无法顺利安装、如何安装Arch。ArchWiki上列举了<a href="https://wiki.archlinux.org/index.php/Installation_guide_(%E7%AE%80%E4%BD%9</summary>
<category term="Linux" scheme="http://xuehrs.github.io/blog/categories/Linux/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/"/>
<category term="安装" scheme="http://xuehrs.github.io/blog/categories/Linux/ArchLinux/%E5%AE%89%E8%A3%85/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="安装" scheme="http://xuehrs.github.io/blog/tags/%E5%AE%89%E8%A3%85/"/>
<category term="ArchWiki" scheme="http://xuehrs.github.io/blog/tags/ArchWiki/"/>
</entry>
<entry>
<title>关于Linux下的android手机adb和fastboot调式</title>
<link href="http://xuehrs.github.io/blog/2018/05/27/%E5%85%B3%E4%BA%8ELinux%E4%B8%8B%E7%9A%84android%E6%89%8B%E6%9C%BAadb%E5%92%8Cfastboot%E8%B0%83%E5%BC%8F/"/>
<id>http://xuehrs.github.io/blog/2018/05/27/%E5%85%B3%E4%BA%8ELinux%E4%B8%8B%E7%9A%84android%E6%89%8B%E6%9C%BAadb%E5%92%8Cfastboot%E8%B0%83%E5%BC%8F/</id>
<published>2018-05-27T06:55:18.000Z</published>
<updated>2018-05-27T06:55:18.000Z</updated>
<content type="html"><![CDATA[<p>今天我把我的手机系统换成原版的MIUI.后来系统升级自动把特制的Recover给换成官方的Recover</p><p>鉴于的电脑只有linux系统(Arch Linux),在网上查了些资料</p><p>步骤如下:</p><p>先下载好linux版adb工具,由于我电脑有Android Studio工具,我直接cd到</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">~/Android/Sdk/platform-tools/</span><br><span class="line">./adb --help</span><br><span class="line">./adb deveces</span><br><span class="line">./adb reboot bootloader</span><br><span class="line">sudo ./fastboot --help</span><br><span class="line">sudo ./fastboot devices</span><br><span class="line">sudo ./fastboot flashing unlock</span><br><span class="line">sudo ./fastboot flashing unlock_critical</span><br><span class="line">sudo ./fastboot flash recovery recovery.img #之前没有做上面俩个步骤,结果没作用,必须解锁才能刷</span><br></pre></td></tr></table></figure>]]></content>
<summary type="html"><p>今天我把我的手机系统换成原版的MIUI.后来系统升级自动把特制的Recover给换成官方的Recover</p>
<p>鉴于的电脑只有linux系统(Arch Linux),在网上查了些资料</p>
<p>步骤如下:</p>
<p>先下载好linux版adb工具,由于我电脑</summary>
<category term="Android" scheme="http://xuehrs.github.io/blog/categories/Android/"/>
<category term="Adb" scheme="http://xuehrs.github.io/blog/categories/Android/Adb/"/>
<category term="Fastboot" scheme="http://xuehrs.github.io/blog/categories/Android/Adb/Fastboot/"/>
<category term="Linux" scheme="http://xuehrs.github.io/blog/tags/Linux/"/>
<category term="Arch" scheme="http://xuehrs.github.io/blog/tags/Arch/"/>
<category term="ArchLinux" scheme="http://xuehrs.github.io/blog/tags/ArchLinux/"/>
<category term="Adb" scheme="http://xuehrs.github.io/blog/tags/Adb/"/>
<category term="Fastboot" scheme="http://xuehrs.github.io/blog/tags/Fastboot/"/>
</entry>
</feed>