-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
421 lines (206 loc) · 26.1 KB
/
atom.xml
File metadata and controls
421 lines (206 loc) · 26.1 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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>ClockworkMonkey Studio</title>
<icon>https://clockworkmonkeystudio.com/icon.png</icon>
<link href="https://clockworkmonkeystudio.com/atom.xml" rel="self"/>
<link href="https://clockworkmonkeystudio.com/"/>
<updated>2024-08-14T12:16:28.560Z</updated>
<id>https://clockworkmonkeystudio.com/</id>
<author>
<name>GG</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>小米 R3G 路由器刷 openwrt 固件</title>
<link href="https://clockworkmonkeystudio.com/2024/03/16/XiaoMiR3G/"/>
<id>https://clockworkmonkeystudio.com/2024/03/16/XiaoMiR3G/</id>
<published>2024-03-16T03:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="更新开发者版本固件"><a href="#更新开发者版本固件" class="headerlink" title="更新开发者版本固件"></a>更新开发者版本固件</h1><ul>
<li>固件下载地址:<a</summary>
</entry>
<entry>
<title>macOS 下编译 OpenWrt (M1 芯片)</title>
<link href="https://clockworkmonkeystudio.com/2024/03/09/macOS%20%E7%BC%96%E8%AF%91%20OpenWrt/"/>
<id>https://clockworkmonkeystudio.com/2024/03/09/macOS%20%E7%BC%96%E8%AF%91%20OpenWrt/</id>
<published>2024-03-09T11:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="新建区分大小写的-APFS-宗卷"><a href="#新建区分大小写的-APFS-宗卷" class="headerlink" title="新建区分大小写的 APFS 宗卷"></a>新建区分大小写的 APFS 宗卷</h1><h2</summary>
</entry>
<entry>
<title>树莓派共享 Wi-Fi</title>
<link href="https://clockworkmonkeystudio.com/2023/08/29/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%B1%E4%BA%AB%20Wi-Fi/"/>
<id>https://clockworkmonkeystudio.com/2023/08/29/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%B1%E4%BA%AB%20Wi-Fi/</id>
<published>2023-08-29T01:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="更新"><a href="#更新" class="headerlink" title="更新"></a>更新</h1><figure class="highlight bash"><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></pre></td><td class="code"><pre><span class="line">gg@RaspberryPi:~ $ sudo apt update</span><br><span class="line">Hit:1 https://mirrors.tuna.tsinghua.edu.cn/debian bullseye InRelease</span><br><span class="line">Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian bullseye-updates InRelease [44.1 kB]</span><br><span class="line">Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian bullseye-backports InRelease [49.0 kB]</span><br><span class="line">Hit:4 https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security InRelease</span><br><span class="line">Hit:5 https://mirrors.tuna.tsinghua.edu.cn/raspberrypi bullseye InRelease</span><br><span class="line">Fetched 93.0 kB <span class="keyword">in</span> 2s (51.8 kB/s)</span><br><span class="line">Reading package lists... Done</span><br><span class="line">Building dependency tree... Done</span><br><span class="line">Reading state information... Done</span><br><span class="line">All packages are up to <span class="built_in">date</span>.</span><br></pre></td></tr></table></figure></summary>
</entry>
<entry>
<title>OpenWrt</title>
<link href="https://clockworkmonkeystudio.com/2023/03/10/OpenWrt/"/>
<id>https://clockworkmonkeystudio.com/2023/03/10/OpenWrt/</id>
<published>2023-03-10T02:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="OpenWrt"><a href="#OpenWrt" class="headerlink" title="OpenWrt"></a>OpenWrt</h1><h1 id="编译-OpenWrt"><a href="#编译-OpenWrt"</summary>
</entry>
<entry>
<title>PVE 安装 Synology NAS.md</title>
<link href="https://clockworkmonkeystudio.com/2023/03/02/PVE%20%E5%AE%89%E8%A3%85%20Synology%20NAS/"/>
<id>https://clockworkmonkeystudio.com/2023/03/02/PVE%20%E5%AE%89%E8%A3%85%20Synology%20NAS/</id>
<published>2023-03-02T02:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="PVE-安装-Synology-NAS"><a href="#PVE-安装-Synology-NAS" class="headerlink" title="PVE 安装 Synology NAS"></a>PVE 安装 Synology</summary>
</entry>
<entry>
<title>PVE 安装 OpenWrt</title>
<link href="https://clockworkmonkeystudio.com/2023/03/01/PVE%20%E5%AE%89%E8%A3%85%20OpenWrt/"/>
<id>https://clockworkmonkeystudio.com/2023/03/01/PVE%20%E5%AE%89%E8%A3%85%20OpenWrt/</id>
<published>2023-03-01T02:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="上传镜像文件"><a href="#上传镜像文件" class="headerlink" title="上传镜像文件"></a>上传镜像文件</h1><figure class="highlight bash"><table><tr><td</summary>
</entry>
<entry>
<title>PVE 设置硬件直通</title>
<link href="https://clockworkmonkeystudio.com/2023/02/28/PVE%20%E8%AE%BE%E7%BD%AE%E7%A1%AC%E4%BB%B6%E7%9B%B4%E9%80%9A/"/>
<id>https://clockworkmonkeystudio.com/2023/02/28/PVE%20%E8%AE%BE%E7%BD%AE%E7%A1%AC%E4%BB%B6%E7%9B%B4%E9%80%9A/</id>
<published>2023-02-28T02:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="PVE-设置硬件直通"><a href="#PVE-设置硬件直通" class="headerlink" title="PVE 设置硬件直通"></a>PVE 设置硬件直通</h1><h2 id="参考文档:"><a href="#参考文档:"</summary>
</entry>
<entry>
<title>Synology NAS</title>
<link href="https://clockworkmonkeystudio.com/2023/02/13/Synology%20NAS/"/>
<id>https://clockworkmonkeystudio.com/2023/02/13/Synology%20NAS/</id>
<published>2023-02-13T04:15:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="黑群晖"><a href="#黑群晖" class="headerlink" title="黑群晖"></a>黑群晖</h1><h1 id="硬件直通"><a href="#硬件直通" class="headerlink" title="硬件直通"></a>硬件直通</h1><p>在 PVE 中添加 PCIE 设备时提示: <code>No IOMMU detected, please activate it.See Documentation for further information.</code>,需要开启 iommu。</p></summary>
</entry>
<entry>
<title>PVE 初始化配置</title>
<link href="https://clockworkmonkeystudio.com/2022/09/04/PVE%20%E5%88%9D%E5%A7%8B%E5%8C%96%E9%85%8D%E7%BD%AE/"/>
<id>https://clockworkmonkeystudio.com/2022/09/04/PVE%20%E5%88%9D%E5%A7%8B%E5%8C%96%E9%85%8D%E7%BD%AE/</id>
<published>2022-09-04T15:29:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="修改基础系统(Debian)的源文件-etc-apt-sources-list-和-Proxmox-的源文件"><a href="#修改基础系统(Debian)的源文件-etc-apt-sources-list-和-Proxmox-的源文件" class="headerlink" title="修改基础系统(Debian)的源文件 /etc/apt/sources.list 和 Proxmox 的源文件"></a>修改基础系统(Debian)的源文件 /etc/apt/sources.list 和 Proxmox 的源文件</h1><h2 id="修改基础系统(Debian)的源文件"><a href="#修改基础系统(Debian)的源文件" class="headerlink" title="修改基础系统(Debian)的源文件"></a>修改基础系统(Debian)的源文件</h2><figure class="highlight bash"><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></pre></td><td class="code"><pre><span class="line"><span class="comment"># 备份</span></span><br><span class="line">root@HomeLab:~<span class="comment"># cp /etc/apt/sources.list /etc/apt/sources.list_backup</span></span><br><span class="line">root@HomeLab:~<span class="comment"># cp /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list_backup</span></span><br><span class="line"><span class="comment"># 替换成中科大换</span></span><br><span class="line">root@HomeLab:~<span class="comment"># sed -i &#x27;s|^deb http://ftp.debian.org|deb https://mirrors.ustc.edu.cn|g&#x27; /etc/apt/sources.list</span></span><br><span class="line">root@HomeLab:~<span class="comment"># sed -i &#x27;s|^deb http://security.debian.org|deb https://mirrors.ustc.edu.cn/debian-security|g&#x27; /etc/apt/sources.list</span></span><br><span class="line"><span class="comment"># 查看替换结果</span></span><br><span class="line">root@HomeLab:~<span class="comment"># cat /etc/apt/sources.list</span></span><br><span class="line">deb https://mirrors.ustc.edu.cn/debian bullseye main contrib</span><br><span class="line"></span><br><span class="line">deb https://mirrors.ustc.edu.cn/debian bullseye-updates main contrib</span><br><span class="line"></span><br><span class="line"><span class="comment"># security updates</span></span><br><span class="line">deb https://mirrors.ustc.edu.cn/debian-security bullseye-security main contrib</span><br></pre></td></tr></table></figure></summary>
</entry>
<entry>
<title>Log</title>
<link href="https://clockworkmonkeystudio.com/2022/04/29/Log/"/>
<id>https://clockworkmonkeystudio.com/2022/04/29/Log/</id>
<published>2022-04-29T04:58:00.000Z</published>
<updated>2024-08-14T12:16:28.556Z</updated>
<summary type="html"><h1 id="默认日志格式"><a href="#默认日志格式" class="headerlink" title="默认日志格式"></a>默认日志格式</h1><h2 id="logback"><a href="#logback" class="headerlink"</summary>
</entry>
<entry>
<title>CentOS 用户和用户组</title>
<link href="https://clockworkmonkeystudio.com/2022/04/29/CentOS%20User%20And%20Group/"/>
<id>https://clockworkmonkeystudio.com/2022/04/29/CentOS%20User%20And%20Group/</id>
<published>2022-04-29T02:00:00.000Z</published>
<updated>2024-08-14T12:16:28.556Z</updated>
<summary type="html"><h1 id="CentOS-用户和用户组"><a href="#CentOS-用户和用户组" class="headerlink" title="CentOS 用户和用户组"></a>CentOS 用户和用户组</h1><h2 id="添加组和用户"><a</summary>
</entry>
<entry>
<title>Redis</title>
<link href="https://clockworkmonkeystudio.com/2022/04/13/Redis/"/>
<id>https://clockworkmonkeystudio.com/2022/04/13/Redis/</id>
<published>2022-04-13T13:21:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><ul>
<li><a href="https://redis.io/">https://redis.io</a></li>
</ul></summary>
</entry>
<entry>
<title>ESP32</title>
<link href="https://clockworkmonkeystudio.com/2022/04/04/ESP32/"/>
<id>https://clockworkmonkeystudio.com/2022/04/04/ESP32/</id>
<published>2022-04-04T05:07:19.000Z</published>
<updated>2024-08-14T12:16:28.556Z</updated>
<summary type="html"><h1 id="图片"><a href="#图片" class="headerlink" title="图片"></a>图片</h1><img src="/2022/04/04/ESP32/ESP32.png" class="" title="ESP32</summary>
</entry>
<entry>
<title>Keepalived</title>
<link href="https://clockworkmonkeystudio.com/2022/04/04/Keepalived/"/>
<id>https://clockworkmonkeystudio.com/2022/04/04/Keepalived/</id>
<published>2022-04-04T04:28:00.000Z</published>
<updated>2024-08-14T12:16:28.556Z</updated>
<summary type="html"><h1 id="Keepalived"><a href="#Keepalived" class="headerlink" title="Keepalived"></a>Keepalived</h1><p><a href="https://www.keepalived.org/">https://www.keepalived.org/</a></p>
<h1 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h1><ul>
<li>CentOS 版本:7.9.2009</li>
<li>Keepalived 版本:v2.2.7</li>
</ul></summary>
</entry>
<entry>
<title>Nginx</title>
<link href="https://clockworkmonkeystudio.com/2022/03/31/Nginx/"/>
<id>https://clockworkmonkeystudio.com/2022/03/31/Nginx/</id>
<published>2022-03-31T02:58:51.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="Nginx-常用版本"><a href="#Nginx-常用版本" class="headerlink" title="Nginx 常用版本"></a>Nginx 常用版本</h1><ul>
<li>Nginx 开源版 <a href="https://nginx.org/">https://nginx.org/</a></li>
<li>Nginx plus 商业版 <a href="https://www.nginx.com/">https://www.nginx.com/</a></li>
<li>Openresty <a href="https://openresty.org/cn/">https://openresty.org/cn/</a></li>
<li>Tengine <a href="https://tengine.taobao.org/">https://tengine.taobao.org/</a></li>
</ul></summary>
</entry>
<entry>
<title>crontab</title>
<link href="https://clockworkmonkeystudio.com/2022/03/30/crontab/"/>
<id>https://clockworkmonkeystudio.com/2022/03/30/crontab/</id>
<published>2022-03-30T15:00:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="Linux-crontab-命令"><a href="#Linux-crontab-命令" class="headerlink" title="Linux crontab 命令"></a>Linux crontab 命令</h1><p>Linux crontab 是用来定期执行程序的命令。</p>
<p>crond 命令每分钟会定期检查是否有要执行的工作,如果有要执行的工作便会自动执行该工作。</p>
<h1 id="语法"><a href="#语法" class="headerlink" title="语法"></a>语法</h1><p><code>crontab [ -u user ] file</code></p>
<p>或</p>
<p><code>crontab [ -u user ] &#123; -l | -r | -e &#125;</code></p>
<p>说明:</p>
<p>crontab 是用来让使用者在固定时间或固定间隔执行程序之用,换句话说,也就是类似使用者的时程表。</p>
<p><code>-u user</code> 是指设定指定 user 的时程表,这个前提是你必须要有其权限(比如说是 root)才能够指定他人的时程表。如果不使用 <code>-u user</code> 的话,就是表示设定自己的时程表。</p>
<p>参数说明:</p>
<ul>
<li><code>-e</code> : 执行文字编辑器来设定时程表,内定的文字编辑器是 VI,如果你想用别的文字编辑器,则请先设定 VISUAL 环境变数来指定使用那个文字编辑器(比如说 setenv VISUAL joe)</li>
<li><code>-r</code> : 删除目前的时程表</li>
<li><code>-l</code> : 列出目前的时程表</li>
</ul></summary>
</entry>
<entry>
<title>SFTP</title>
<link href="https://clockworkmonkeystudio.com/2022/03/30/SFTP/"/>
<id>https://clockworkmonkeystudio.com/2022/03/30/SFTP/</id>
<published>2022-03-30T14:58:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="SFTP-命令"><a href="#SFTP-命令" class="headerlink" title="SFTP 命令"></a>SFTP 命令</h1><ul>
<li><p><code>help</code></summary>
</entry>
<entry>
<title>Maven</title>
<link href="https://clockworkmonkeystudio.com/2022/03/30/Maven/"/>
<id>https://clockworkmonkeystudio.com/2022/03/30/Maven/</id>
<published>2022-03-30T13:30:00.000Z</published>
<updated>2024-08-14T12:16:28.556Z</updated>
<summary type="html"><h1 id="镜像文件"><a href="#镜像文件" class="headerlink" title="镜像文件"></a>镜像文件</h1><ul>
<li>settings.xml</li>
</ul>
<figure class="highlight</summary>
</entry>
<entry>
<title>tar</title>
<link href="https://clockworkmonkeystudio.com/2022/03/30/tar/"/>
<id>https://clockworkmonkeystudio.com/2022/03/30/tar/</id>
<published>2022-03-30T12:55:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="tar-命令"><a href="#tar-命令" class="headerlink" title="tar 命令"></a>tar 命令</h1><p><code>.tar</code> 格式,打包和解打包都是使用 <code>tar</code> 命令,只是打包并不会压缩文件。</p>
<h1 id="打包"><a href="#打包" class="headerlink" title="打包"></a>打包</h1><figure class="highlight bash"><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">-c 打包</span><br><span class="line">-f 指定包名称,需要加 .tar</span><br><span class="line">-v 显示打包过程</span><br></pre></td></tr></table></figure>
<h1 id="解包"><a href="#解包" class="headerlink" title="解包"></a>解包</h1><figure class="highlight bash"><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">-x 解包</span><br><span class="line">-f 指定包名称</span><br><span class="line">-v 显示打包过程</span><br></pre></td></tr></table></figure></summary>
</entry>
<entry>
<title>yum</title>
<link href="https://clockworkmonkeystudio.com/2022/03/30/yum/"/>
<id>https://clockworkmonkeystudio.com/2022/03/30/yum/</id>
<published>2022-03-30T12:55:00.000Z</published>
<updated>2024-08-14T12:16:28.560Z</updated>
<summary type="html"><h1 id="备份源文件"><a href="#备份源文件" class="headerlink" title="备份源文件"></a>备份源文件</h1><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"><span class="built_in">mv</span> /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup</span><br></pre></td></tr></table></figure>
<h1 id="源配置列表"><a href="#源配置列表" class="headerlink" title="源配置列表"></a>源配置列表</h1><figure class="highlight bash"><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></pre></td><td class="code"><pre><span class="line"><span class="comment"># CentOS6</span></span><br><span class="line">wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos6_base.repo</span><br><span class="line"></span><br><span class="line"><span class="comment"># CentOS7</span></span><br><span class="line">wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo</span><br><span class="line"></span><br><span class="line"><span class="comment"># CentOS8</span></span><br><span class="line">wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos8_base.repo</span><br></pre></td></tr></table></figure>
<h1 id="更新缓存"><a href="#更新缓存" class="headerlink" title="更新缓存"></a>更新缓存</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost yum.repos.d]<span class="comment"># yum clean all</span></span><br><span class="line">[root@localhost yum.repos.d]<span class="comment"># yum makecache</span></span><br></pre></td></tr></table></figure></summary>
</entry>
</feed>