-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
240 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
## 第三章、引导 | ||
|
||
既然你已经安装好了一个Slackware系统,你就应该学习些关于系统启动的知识,比如是什么控制着机器的启动顺序,当这一机制损坏的时候如何修复。如果你已使用Linux足够长的时间,你总有可能搞坏你的bootloader. 还好,修复它并不需要重装一次系统。Linux(更确切一点,Slackware)给予您启动过程的完全控制权,而不是像其他系统一样将底层工作原理隐藏起来。简单到只需修改几个配置文件并重新运行bootloader安装程序,你就能又快又好地修改(或破坏)你的系统。Slackware还让多系统启动更加简单,比如和其他Linux发行版或Microsoft Windows组成多系统。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
### 归档和压缩 | ||
|
||
每个人都会有把各种小文件打包以便存储,或压缩大文件的需要。也许你两个都需要?正好我们这里有能够达成目标的工具。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#### XZ、LZMA | ||
|
||
最新加入Slackware的压缩工具就是`xz`, 它使用的是LZMA压缩算法。它比`bzip2`更快并且压缩效果更好。实际上,它因为在速度和压缩效果上出色的综合表现,已经成为Slackware的首选压缩方案了。不过,`xz`在我们成书之时还没有手册页,所以要查看所有选项,使用[--help]参数。压缩使用[-z], 解压使用[-d]. | ||
最新加入Slackware的压缩工具就是`xz`, 它使用的是LZMA压缩算法。它比`bzip2`更快并且压缩效果更好。实际上,它因为在速度和压缩效果上出色的综合表现,已经成为Slackware的首选压缩方案了。不过,`xz`在我们成书之时还没有手册页,所以要查看所有选项,使用`--help`参数。压缩使用`-z`, 解压使用`-d`. | ||
|
||
```Shell | ||
``` | ||
darkstar:~$ xz -z /tmp/large_file | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#### bzip2 | ||
|
||
一个`gzip`的替代品就是`bzip2(1)`, 与`gzip`功能几乎相同。`bzip2`的优点就是号称能有更大压缩强度。不过,更大压缩强度意味着慢以及更多CPU占用,所以`bzip2`一般比其他压缩工具耗时更长。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.