添加主页
Browse files- index.html +82 -0
index.html
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<title>一键添加并使用自定义Debian软件源</title>
|
| 7 |
+
<style>
|
| 8 |
+
body {
|
| 9 |
+
font-family: 'Arial', sans-serif;
|
| 10 |
+
margin: 40px;
|
| 11 |
+
background-color: #f4f4f4;
|
| 12 |
+
color: #333;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.container {
|
| 16 |
+
background-color: white;
|
| 17 |
+
padding: 20px;
|
| 18 |
+
border-radius: 8px;
|
| 19 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
h1,
|
| 23 |
+
h2 {
|
| 24 |
+
color: #1a0dab;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
code {
|
| 28 |
+
background-color: #eee;
|
| 29 |
+
border: 1px solid #ccc;
|
| 30 |
+
border-radius: 4px;
|
| 31 |
+
padding: 2px 4px;
|
| 32 |
+
font-family: monospace;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
ul {
|
| 36 |
+
list-style-type: none;
|
| 37 |
+
padding: 0;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
li {
|
| 41 |
+
padding-bottom: 10px;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
a {
|
| 45 |
+
color: #1a0dab;
|
| 46 |
+
text-decoration: none;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
a:hover {
|
| 50 |
+
text-decoration: underline;
|
| 51 |
+
}
|
| 52 |
+
</style>
|
| 53 |
+
</head>
|
| 54 |
+
|
| 55 |
+
<body>
|
| 56 |
+
<div class="container">
|
| 57 |
+
<h1>一键添加并使用自定义Debian软件源</h1>
|
| 58 |
+
<p>通过以下简单的命令,你可以快速添加我们的Debian软件源并开始安装软件。</p>
|
| 59 |
+
|
| 60 |
+
<h2>步骤 1: 打开终端</h2>
|
| 61 |
+
<p>你可以通过快捷键 <code>Ctrl + Alt + T</code> 快速打开终端。</p>
|
| 62 |
+
|
| 63 |
+
<h2>步骤 2: 一键添加软件源并安装软件</h2>
|
| 64 |
+
<p>在终端中运行以下命令来添加软件源并安装 <code>curl</code>:</p>
|
| 65 |
+
<code>sudo apt install curl</code>
|
| 66 |
+
<br>
|
| 67 |
+
<code>curl https://source.moyanjdc.top/deb/install.sh | bash</code>
|
| 68 |
+
<p>这条命令首先确保你的系统中安装了 <code>curl</code>,然后使用 <code>curl</code> 下载并执行我们的安装脚本,自动添加软件源。</p>
|
| 69 |
+
|
| 70 |
+
<h2>步骤 3: 更新软件包列表</h2>
|
| 71 |
+
<p>脚本执行完毕后,更新你的软件包列表以包含新添加的软件源:</p>
|
| 72 |
+
<pre><code>sudo apt update</code></pre>
|
| 73 |
+
|
| 74 |
+
<h2>步骤 4: 安装软件</h2>
|
| 75 |
+
<p>现在你可以从我们的软件源安装任何软件了。例如,如果你想安装一个名为 <code>example-package</code> 的软件包,可以使用:</p>
|
| 76 |
+
<pre><code>sudo apt install example-package</code></pre>
|
| 77 |
+
|
| 78 |
+
<p>感谢你使用我们的软件源,希望它能帮助到你!</p>
|
| 79 |
+
</div>
|
| 80 |
+
</body>
|
| 81 |
+
|
| 82 |
+
</html>
|