Skip to content

Commit 8b3c3de

Browse files
committed
misc: 101.u.o → 101.l.u.e.c
1 parent e4f6871 commit 8b3c3de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/Ch02/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ $ sudo apt install curl
512512
打开终端并运行:
513513

514514
```shell
515-
$ curl -fsSL https://101.ustclug.org/Ch02/wordpress.sh > wordpress.sh
515+
$ curl -fsSL https://101.lug.ustc.edu.cn/Ch02/wordpress.sh > wordpress.sh
516516
$ # 可以阅读 wordpress.sh 了解其运行的命令,检查代码无误后执行:
517517
$ sudo bash wordpress.sh
518518
```
@@ -528,7 +528,7 @@ $ sudo bash wordpress.sh
528528
在本节之前的版本中,以上的命令是:
529529

530530
```shell
531-
$ curl -fsSL https://101.ustclug.org/Ch02/wordpress.sh | sudo bash
531+
$ curl -fsSL https://101.lug.ustc.edu.cn/Ch02/wordpress.sh | sudo bash
532532
```
533533

534534
它的功能是从对应的 URL 获取脚本内容后,直接用 `sudo bash` 去执行。但是从安全性的角度这是不恰当的,因为网络上的脚本有可能包含恶意内容,直接执行可能会对系统带来安全风险。因此相关命令修改为了首先下载脚本到文件中(`wordpress.sh` 文件),然后再执行。如果对脚本内容有疑虑,则可以阅读脚本内容,检查其是否和你的预期相一致。

docs/Ch04/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ $ kill -l # 显示所有信号名称
257257
nohup,字面含义,就是「不要被 SIGHUP 影响」。
258258

259259
```shell
260-
$ nohup ping 101.ustclug.org &
260+
$ nohup ping 101.lug.ustc.edu.cn &
261261
[1] 19258
262262
nohup: ignoring input and appending output to '/home/ustc/nohup.out'
263263
```

0 commit comments

Comments
 (0)