Files
master/chapter09/theend.html
2015-05-23 18:50:06 +08:00

122 lines
4.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content=
"application/xhtml+xml; charset=utf-8" />
<title>
9.1.&nbsp;最后的最后
</title>
<link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
<link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css"
media="print" />
</head>
<body class="lfs" id="lfs-7.7-systemd">
<div class="navheader">
<h4>
Linux From Scratch - Version 7.7-systemd
</h4>
<h3>
第九章&nbsp;尾声
</h3>
<ul>
<li class="prev">
<a accesskey="p" href="chapter09.html" title="尾声">上一页</a>
<p>
尾声
</p>
</li>
<li class="next">
<a accesskey="n" href="getcounted.html" title=
"为 LFS 用户数添砖加瓦">下一页</a>
<p>
为 LFS 用户数添砖加瓦
</p>
</li>
<li class="up">
<a accesskey="u" href="chapter09.html" title=
"第九章&nbsp;尾声">返回</a>
</li>
<li class="home">
<a accesskey="h" href="../index.html" title=
"Linux From Scratch - Version 7.7-systemd">主页</a>
</li>
</ul>
</div>
<div class="sect1" lang="en" xml:lang="en">
<h1 class="sect1">
<a id="ch-finish-theend" name="ch-finish-theend"></a>9.1. 最后的最后
</h1>
<p>
哈哈,干的很不错!到这里,全新的 LFS 系统就已经安装完成了!我们也很期待你那闪闪发光的定制 Linux 系统呐。
</p>
<p>
创建一个 systemd 所需的 <code class="filename">/etc/os-release</code> 文件:
</p>
<pre class="userinput">
<kbd class="command">cat &gt; /etc/os-release &lt;&lt; "EOF"
NAME="Linux From Scratch"
VERSION="7.7-systemd"
ID=lfs
PRETTY_NAME="Linux From Scratch 7.7-systemd"
EOF</kbd>
</pre>
<p>
建立 <code class="filename">/etc/lfs-release</code> 文件十分明智。当你需要寻求帮助,这个文件可以立即帮助我们确你当前使用的 LFS 版本。运行以下命令新建此文件:
</p>
<pre class="userinput">
<kbd class="command">echo 7.7-systemd &gt; /etc/lfs-release</kbd>
</pre>
<p>
为向 Linux Standards Base (LSB) 致敬,你可以建立文件来显示当前系统的完整信息. 运行以下命令新建此文件:
</p>
<pre class="userinput">
<kbd class="command">cat &gt; /etc/lsb-release &lt;&lt; "EOF"
DISTRIB_ID="Linux From Scratch"
DISTRIB_RELEASE="7.7-systemd"
DISTRIB_CODENAME="&lt;your name here&gt;"
DISTRIB_DESCRIPTION="Linux From Scratch"
EOF</kbd>
</pre>
<p>
你可以在 'DISTRIB_CODENAME' 字段填写一些特别的字符来彰显“你的”
系统的与众不同!
</p>
</div>
<div class="navfooter">
<div class="book">
<div class="titlepage">
<div class="author">
<span class="firstname">翻译团队:<a href="http://lctt.github.io/" target="_blank">LCTT</a></span>
<span class="surname">译者/校对:<a href="http://github.com/dongfengweixiao" target="_blank">dongfengweixiao</a>,<a href="http://github.com/wxy" target="_blank">wxy</a></span>
</div>
</div>
</div>
<ul>
<li class="prev">
<a accesskey="p" href="chapter09.html" title="尾声">上一页</a>
<p>
尾声
</p>
</li>
<li class="next">
<a accesskey="n" href="getcounted.html" title=
"为 LFS 用户数添砖加瓦">下一页</a>
<p>
为 LFS 用户数添砖加瓦
</p>
</li>
<li class="up">
<a accesskey="u" href="chapter09.html" title=
"第九章&nbsp;尾声">返回</a>
</li>
<li class="home">
<a accesskey="h" href="../index.html" title=
"Linux From Scratch - Version 7.7-systemd">主页</a>
</li>
</ul>
</div>
</body>
</html>