-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinux.html
More file actions
1200 lines (777 loc) · 30.7 KB
/
Linux.html
File metadata and controls
1200 lines (777 loc) · 30.7 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
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
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Linux - Qu Blog
</title>
<link href="atom.xml" rel="alternate" title="Qu Blog" type="application/atom+xml">
<link rel="stylesheet" href="asset/css/foundation.min.css" />
<link rel="stylesheet" href="asset/css/docs.css" />
<script src="asset/js/vendor/modernizr.js"></script>
<script src="asset/js/vendor/jquery.js"></script>
<script type="text/javascript">
function before_search(){
var searchVal = 'site:blog.qudev.top ' + document.getElementById('search_input').value;
document.getElementById('search_q').value = searchVal;
return true;
}
</script>
</head>
<body class="antialiased hide-extras">
<div class="marketing off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<nav class="top-bar docs-bar hide-for-small" data-topbar>
<section class="top-bar-section">
<div class="row">
<div style="position: relative;width:100%;"><div style="position: absolute; width:100%;">
<ul id="main-menu" class="left">
<li id=""><a target="self" href="index.html">Home</a></li>
<li id=""><a target="_self" href="archives.html">Archives</a></li>
</ul>
<ul class="right" id="search-wrap">
<li>
<form target="_blank" onsubmit="return before_search();" action="https://google.com/search" method="get">
<input type="hidden" id="search_q" name="q" value="" />
<input tabindex="1" type="search" id="search_input" placeholder="Search"/>
</form>
</li>
</ul>
</div></div>
</div>
</section>
</nav>
<nav class="tab-bar show-for-small">
<a href="javascript:void(0)" class="left-off-canvas-toggle menu-icon">
<span> Qu Blog</span>
</a>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><a target="self" href="index.html">Home</a></li>
<li><a target="_self" href="archives.html">Archives</a></li>
<li><label>Categories</label></li>
<li><a href="Win.html">Win</a></li>
<li><a href="PVE.html">PVE</a></li>
<li><a href="Jellyfin.html">Jellyfin</a></li>
<li><a href="Git.html">Git</a></li>
<li><a href="Mac.html">Mac</a></li>
<li><a href="Linux.html">Linux</a></li>
<li><a href="SQL.html">SQL</a></li>
</ul>
</aside>
<a class="exit-off-canvas" href="#"></a>
<section id="main-content" role="main" class="scroll-container">
<script type="text/javascript">
$(function(){
$('#menu_item_index').addClass('is_active');
});
</script>
<div class="row">
<div class="large-8 medium-8 columns">
<div class="markdown-body home-categories">
<div class="article">
<a class="clearlink" href="16646973318866.html">
<h1>查看是否双通道</h1>
<div class="a-content">
<div class="a-content-text">
<p>相同 <code>Channel</code> 就是双通道了</p>
<h3 id="toc_0">方法 1</h3>
<p>显示内存大小和是否双通道</p>
<pre><code class="language-bash"> dmidecode -t 17 | awk 'BEGIN { FS=":"; OFS="\t" } /Size|Channel/ { line = (line ? line OFS : "") $2 } /^$/ { print line; line="RAM" }' | grep -iv 'no'
</code></pre>
<h3 id="toc_1">方法 2</h3>
<p>只是显示是否双通道</p>
<pre><code class="language-bash">dmidecode -t memory | grep Channel
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646973318866.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="16646972721295.html">
<h1>Ubuntu 合盖不休眠</h1>
<div class="a-content">
<div class="a-content-text">
<p>编辑下列文件:</p>
<pre><code class="language-shell">vim /etc/systemd/logind.conf
</code></pre>
<p><code>#HandlePowerKey</code> 按下电源键后的行为,默认 <code>power off</code><br/>
<code>#HandleSleepKey</code> 按下挂起键后的行为,默认 <code>suspend</code><br/>
<code>#HandleHibernateKey</code> 按下休眠键后的行为,默认 <code>hibernate</code><br/>
<code>#HandleLidSwitch</code> 合上笔记本盖后的行为,默认 <code>suspend</code>(改为 <code>ignore</code> ;即合盖不休眠)在原文件中,还要去掉前面的<code>#</code></p>
<p>然后将其中的:<br/>
<code>#HandleLidSwitch=suspend</code><br/>
改成下面,记得去掉“#”号:<br/>
<code>HandleLidSwitch=ignore</code></p>
<p>最后重启服务</p>
<pre><code class="language-shell">service systemd-logind restart
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646972721295.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="16646972141823.html">
<h1>ZFS 设置 ARC 大小</h1>
<div class="a-content">
<div class="a-content-text">
<h2 id="toc_0">永久</h2>
<ul>
<li>记得关掉虚拟机</li>
</ul>
<pre><code class="language-shell">nano /etc/modprobe.d/zfs.conf
</code></pre>
<pre><code class="language-shell"># Maximum ZFS ARC : 4 GB
options zfs zfs_arc_max=4294967296
# Minimum ZFS ARC : 2 GB
options zfs zfs_arc_mix=2147483648
</code></pre>
<pre><code class="language-shell">reboot
</code></pre>
<h2 id="toc_1">临时</h2>
<ul>
<li>重启后失效</li>
</ul>
<pre><code class="language-shell">echo 2147483648 >> /sys/module/zfs/parameters/zfs_arc_min
echo 4294967296 >> /sys/module/zfs/parameters/zfs_arc_max
</code></pre>
<h2 id="toc_2">更新 initramfs</h2>
<pre><code class="language-shell">update-initramfs -u
</code></pre>
<h2 id="toc_3">常用内存大小</h2>
<h3 id="toc_4">32G</h3>
<pre><code class="language-bash">34359738368
</code></pre>
<h3 id="toc_5">16G</h3>
<pre><code class="language-bash">17179869184
</code></pre>
<h3 id="toc_6">8G</h3>
<pre><code class="language-bash">8589934592
</code></pre>
<h3 id="toc_7">4G</h3>
<pre><code class="language-bash">4294967296
</code></pre>
<h3 id="toc_8">2G</h3>
<pre><code class="language-bash">2147483648
</code></pre>
<h3 id="toc_9">1G</h3>
<pre><code class="language-bash">1073741824
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646972141823.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="16646971948324.html">
<h1>Linux 创建服务</h1>
<div class="a-content">
<div class="a-content-text">
<h4 id="toc_0">服务路径</h4>
<pre><code class="language-shell">/lib/systemd/system
</code></pre>
<p>或者</p>
<pre><code class="language-shell">/usr/lib/systemd/system/
</code></pre>
<h3 id="toc_1">创建服务</h3>
<p>在 <code>/lib/systemd/system</code> 路径下新建 <code>testservice.service</code> 文件内容如下</p>
<pre><code class="language-shell">nano /lib/systemd/system/testservice.service
</code></pre>
<pre><code class="language-ini">[Unit]
Description=Clash Service
After=network.target
[Service]
Type=simple
User=nobody
Restart=on-failure
RestartSec=5s
ExecStart=/root/app/clash/clash -d /root/app/clash/
[Install]
WantedBy=multi-user.target
</code></pre>
<h3 id="toc_2">常用命令</h3>
<pre><code class="language-shell">#重新加载服务列表
systemctl daemon-reload
</code></pre>
<pre><code class="language-shell">#设为开机启动
systemctl enable testservice.service
</code></pre>
<pre><code class="language-shell">#启动服务
systemctl start testservice.service
</code></pre>
<pre><code class="language-shell">#重启服务
systemctl restart testservice.service
</code></pre>
<h3 id="toc_3">查看服务日志</h3>
<pre><code class="language-shell"># --no-pager
journalctl -u service-name.service --no-pager
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646971948324.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="16646971021104.html">
<h1>统计命令行使用占比</h1>
<div class="a-content">
<div class="a-content-text">
<pre><code class="language-text">history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
</code></pre>
<h2 id="toc_0">PS</h2>
<p>来自某位 V2EXer</p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646971021104.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="16646970321576.html">
<h1>搭建 Mac 的 TimeMachine 备份服务器</h1>
<div class="a-content">
<div class="a-content-text">
<h3 id="toc_0">安装 Netatalk</h3>
<pre><code class="language-bash">apt install netatalk avahi-daemon
</code></pre>
<h3 id="toc_1">配置 Netatalk</h3>
<pre><code class="language-bash"> nano /etc/netatalk/afp.conf
</code></pre>
<pre><code class="language-config">[Time Machine]
path = /tmbackup
valid users = tm
time machine = yes
</code></pre>
<h3 id="toc_2">创建用户和备份目录</h3>
<pre><code class="language-bash"># 创建用户
useradd tm
# 修改用户密码
passwd tm
# 创建备份目录
mkdir -p /tmbackup
# 修改目录权限
chown -R tm:tm /tmbackup
# 重启 netatalk 服务
service netatalk restart
```
### Mac 端配置
打开`系统偏好设置`中的`时间机器`,选择这个磁盘
### 参考
[搭建 Mac 的 TimeMachine 备份服务器](https://blog.1seo.top/wiki/Mac/%E6%90%AD%E5%BB%BAMac%E7%9A%84TimeMachine%E5%A4%87%E4%BB%BD%E6%9C%8D%E5%8A%A1%E5%99%A8/)
</code></pre>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2022/10/2</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/16646970321576.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="15291142264885.html">
<h1>Linux下给移动硬盘分区</h1>
<div class="a-content">
<div class="a-content-text">
<p>最近申请到了一个PT账号,所以买了个树莓派准备把一块3T的闲置硬盘(当初准备放在PS4做外置硬盘的)挂在树莓派上做下载机.</p>
<p>一开始用的NTFS格式,但是查了下发现Linux下挂在NTFS兼容性不是很好,而且资源占用比较多,所以准备重新格式化一下(下面截图是在虚拟机下演示操作的)</p>
<h2 id="toc_0">查看磁盘信息</h2>
<p>命令<code>lsblk</code>可以查看目前挂在的硬盘,<code>sdb</code>就是挂载的USB硬盘</p>
<p><img src="media/15291142264885/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202018-06-16%2010.12.06.png" alt="屏幕快照 2018-06-16 10.12.06"/></p>
<h2 id="toc_1">分区</h2>
<pre><code class="language-bash">sudo fdisk /dev/sdb
</code></pre>
<p>进入分区模式</p>
<p>输入<code>m</code>来查看帮助信息</p>
<p><img src="media/15291142264885/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202018-06-16%2010.17.09.png" alt="屏幕快照 2018-06-16 10.17.09"/></p>
<p><code>n</code>新建分区,因为我是只分一个区所以一路按回车默认就行了</p>
<p><img src="media/15291142264885/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202018-06-16%2010.19.42.png" alt="屏幕快照 2018-06-16 10.19.42"/></p>
<p><code>w</code>保存并退出分区管理</p>
<h2 id="toc_2">格式化硬盘</h2>
<p>格式化硬盘,EXT4格式</p>
<pre><code class="language-bash">sudo mkfs -t ext4 /dev/sdb
</code></pre>
<p><img src="media/15291142264885/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202018-06-16%2010.23.32.png" alt="屏幕快照 2018-06-16 10.23.32"/></p>
<h2 id="toc_3">挂载硬盘</h2>
<pre><code class="language-bash">sudo mkdir /home/qu/usbdisk
sudo mount /dev/sdb /home/qu/usbdisk
</code></pre>
<p>上面是临时挂载的移动硬盘,如果想自动挂载的话可以修改<code>/etc/fstab</code>文件</p>
<pre><code class="language-bash">sudo vim /etc/fstab
</code></pre>
<p>在最后插入一行</p>
<p><code>/dev/sdb/ /home/qu/usbdisk ext4 default 0 0</code></p>
<p>下回系统重启之后就会自动将/dev/sdb磁盘挂载到/home/qu/usbdisk目录下了,格式为EXT3</p>
<p>第一个<code>0</code>:能否被dump备份命令作用:dump是一个用来作为备份的命令.通常这个参数的值为0或者1</p>
<table>
<thead>
<tr>
<th>代码</th>
<th>意义</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>代表不要做dump备份</td>
</tr>
<tr>
<td>1</td>
<td>代表要每天进行dump的操作</td>
</tr>
<tr>
<td>2</td>
<td>代表不定日期的进行dump操作</td>
</tr>
</tbody>
</table>
<p>第二个<code>0</code>:是否检验扇区:开机的过程中,系统默认会以fsck检验我们系统是否为完整(clean).</p>
<table>
<thead>
<tr>
<th>代码</th>
<th>意义</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>不要检验</td>
</tr>
<tr>
<td>1</td>
<td>最早检验(一般根目录会选择)</td>
</tr>
<tr>
<td>2</td>
<td>1级别检验完成之后进行检验</td>
</tr>
</tbody>
</table>
<p>我是默认都是0,不做备份不校验</p>
<p><img src="media/15291142264885/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202018-06-16%2010.30.14.png" alt="屏幕快照 2018-06-16 10.30.14"/></p>
<h2 id="toc_4">参考</h2>
<p><a href="https://blog.csdn.net/xyang81/article/details/51745683">Linux新增磁盘、分区、格式化和自动挂载</a></p>
<p><a href="https://www.cnblogs.com/qiyebao/p/4484047.html">Linux命令-自动挂载文件/etc/fstab功能详解[转]</a></p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2018/6/16</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/15291142264885.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="article">
<a class="clearlink" href="15247502619814.html">
<h1>Ubuntu双网卡配置</h1>
<div class="a-content">
<div class="a-content-text">
<h2 id="toc_0">Ubuntu 17.10双网卡配置</h2>
<p>Ubuntu网络配置多年来一直在用NetworkManager,ifupdown等工具. 17.10引入netplan作为在Ubuntu中配置接口的标准声明性YAML语法</p>
<p>Ubuntu 17.10版本修改网络固定IP的方法跟其他版本不一样 不需要修改<code>/etc/network/interfaces</code>文件,而是通过在<code>/etc/netplan/</code>下创建一个自定义YAML配置文件来实现</p>
<h3 id="toc_1">创建一个YAML文件</h3>
<pre><code class="language-bash">sudo vim /etc/netplan/01-netcfg.yaml
</code></pre>
<p>以我的配置为例,我的第二个网卡名称是<code>enp0s8</code>,设置成固定IP方便宿主机SSH远程</p>
<p>YAML内容:</p>
<pre><code class="language-text"># This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp0s8:
dhcp4: no
addresses: [192.168.56.2/24]
</code></pre>
<p>确认配置并重启</p>
<pre><code class="language-bash">sudo netplan apply
sudo init 6
</code></pre>
<h2 id="toc_2">Ubuntu 17.10以下双网卡配置</h2>
<h3 id="toc_3">修改Ubuntu的网络配置文件</h3>
<pre><code class="language-bash">sudo vim /etc/network/interfaces
</code></pre>
<p>配置如下</p>
<pre><code class="language-bash"># The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
#the second eth1
auto eth1
iface eth1 inet static
address 192.168.56.2
netmask 255.255.255.0
</code></pre>
<ul>
<li>eth0为NAT模式的网卡,eth1为Host-only的网卡</li>
<li>主机和虚拟机通信用192.168.56.*这个网段</li>
</ul>
<p>重启虚拟机</p>
<h2 id="toc_4">参考</h2>
<p><a href="https://websiteforstudents.com/configuring-static-ips-ubuntu-17-10-servers/">CONFIGURING STATIC IP ADDRESSES ON UBUNTU 17.10 SERVERS</a></p>
<p><a href="https://wiki.ubuntu.com/Netplan">NetPlan</a></p>
<p><a href="http://www.linuxidc.com/Linux/2017-10/148112.htm">Ubuntu17.10新特性</a></p>
</div>
</div>
</a>
<div class="read-more clearfix">
<div class="more-left left">
<span class="date">2018/4/26</span>
<span>posted in </span>
<span class="posted-in"><a href='Linux.html'>Linux</a></span>
</div>
<div class="more-right right">
<span class="comments">
<a href="http://blog.qudev.top/15247502619814.html#disqus_thread">comments</a>
</span>
</div>
</div>
</div><!-- article -->
<div class="row">
<div class="large-6 columns">
<p class="text-left" style="padding-top:25px;">
</p>
</div>
<div class="large-6 columns">
<p class="text-right" style="padding-top:25px;">
</p>
</div>
</div>
</div>
</div><!-- large 8 -->
<div class="large-4 medium-4 columns">
<div class="hide-for-small">
<div id="sidebar" class="sidebar">
<div id="site-info" class="site-info">
<div class="site-a-logo"><img src="https://avatars1.githubusercontent.com/u/4098823?s=460&v=4" /></div>
<h1>Qu Blog</h1>
<div class="site-des"></div>
<div class="social">
<a target="_blank" class="twitter" target="_blank" href="https://twitter.com/EvanQuXh" title="Twitter">Twitter</a>
<a target="_blank" class="github" target="_blank" href="https://github.com/HappyQuQu" title="GitHub">GitHub</a>
<a target="_blank" class="rss" href="atom.xml" title="RSS">RSS</a>
</div>
</div>
<div id="site-categories" class="side-item ">
<div class="side-header">
<h2>Categories</h2>
</div>
<div class="side-content">
<p class="cat-list">
<a href="Win.html"><strong>Win</strong></a>
<a href="PVE.html"><strong>PVE</strong></a>
<a href="Jellyfin.html"><strong>Jellyfin</strong></a>
<a href="Git.html"><strong>Git</strong></a>
<a href="Mac.html"><strong>Mac</strong></a>
<a href="Linux.html"><strong>Linux</strong></a>
<a href="SQL.html"><strong>SQL</strong></a>
</p>
</div>
</div>
<div id="site-categories" class="side-item">
<div class="side-header">
<h2>Recent Posts</h2>
</div>
<div class="side-content">
<ul class="posts-list">
<li class="post">
<a href="16646973318866.html">查看是否双通道</a>
</li>
<li class="post">
<a href="16646972721295.html">Ubuntu 合盖不休眠</a>
</li>
<li class="post">
<a href="16646972141823.html">ZFS 设置 ARC 大小</a>
</li>
<li class="post">
<a href="16646971948324.html">Linux 创建服务</a>
</li>
<li class="post">
<a href="16646971021104.html">统计命令行使用占比</a>
</li>
</ul>
</div>
</div>
</div><!-- sidebar -->
</div><!-- hide for small -->
</div><!-- large 4 -->
</div><!-- row -->
<div class="page-bottom clearfix">
<div class="row">
<p class="copyright">Copyright © 2015
Powered by <a target="_blank" href="http://www.mweb.im">MWeb</a>,
Theme used <a target="_blank" href="http://github.com">GitHub CSS</a>.</p>
</div>
</div>
</section>
</div>
</div>
<style type="text/css">
figure{margin: 0;padding: 0;}
figcaption{text-align:center;}
/* PrismJS 1.14.0
http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}