mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
help: raspberrypi: init
Closes https://github.com/tuna/issues/issues/1705
This commit is contained in:
parent
9175397bca
commit
1ed3fc2de4
|
|
@ -0,0 +1,62 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: raspberrypi
|
||||
---
|
||||
|
||||
# Raspberrypi 软件仓库镜像使用帮助
|
||||
|
||||
<form class="form-inline">
|
||||
<div class="form-group">
|
||||
<label>是否使用 HTTPS</label>
|
||||
<select id="http-select" class="form-control content-select" data-target="#content-0">
|
||||
<option data-http_protocol="https://" selected>是</option>
|
||||
<option data-http_protocol="http://">否</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<form class="form-inline">
|
||||
<div class="form-group">
|
||||
<label>是否使用 sudo</label>
|
||||
<select id="sudo-select" class="form-control content-select" data-target="#content-0">
|
||||
<option data-sudo="sudo " selected>是</option>
|
||||
<option data-sudo="">否</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
主要参考 [Raspbian 帮助](/help/raspbian)
|
||||
|
||||
编辑 `/etc/apt/sources.list.d/raspi.list` 文件。
|
||||
|
||||
|
||||
|
||||
<form class="form-inline">
|
||||
<div class="form-group">
|
||||
<label>选择你的 Raspbian 对应的 Debian 版本:</label>
|
||||
<select id="select-0-0" class="form-control content-select" data-target="#content-0">
|
||||
<option data-release_name="bullseye" selected>Debian 11 (bullseye)</option>
|
||||
<option data-release_name="buster">Debian 10 (buster)</option>
|
||||
<option data-release_name="stretch">Debian 9 (stretch)</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% raw %}
|
||||
<script id="template-0" type="x-tmpl-markup">
|
||||
deb {{http_protocol}}{{mirror}}/ {{release_name}} main
|
||||
</script>
|
||||
{% endraw %}
|
||||
|
||||
<p></p>
|
||||
|
||||
<pre>
|
||||
<code id="content-0" class="language-properties" data-template="#template-0" data-select="#http-select,#sudo-select,#select-0-0">
|
||||
</code>
|
||||
</pre>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue