add help page

Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
This commit is contained in:
王邈 2018-01-06 02:41:42 +08:00
parent 64b5bbc16c
commit dcec9dd887
No known key found for this signature in database
GPG Key ID: B031E3CA7BFED96E
7 changed files with 182 additions and 19 deletions

View File

@ -33,10 +33,12 @@ exclude: [Gemfile, Gemfile.lock, README.md, gen_robot.sh, vendor, geninfo/, gen_
# Content Related
new_mirrors:
- clojars
- iina
- docker-ce
- openthos
- openthos-src
- fzug
- chakra-releases
- fedora-altarch
- gentoo-portage-prefix
- gitlab-runner
# vim: ts=2 sts=2 sw=2 expandtab

View File

@ -107,6 +107,10 @@
"name": "centos",
"desc": "CentOS 的安装镜像和官方软件包仓库"
},
{
"name": "centos-altarch",
"desc": "CentOS 额外平台的安装镜像和官方软件包仓库"
},
{
"name": "ceph",
"desc": "高性能对象存储和文件系统"
@ -115,10 +119,18 @@
"name": "chakra",
"desc": "专注于 Qt 与 KDE 软件的 Linux 发行版"
},
{
"name": "chakra-releases",
"desc": "Chakra 发行版的安装镜像"
},
{
"name": "chromiumos",
"desc": "Google Chrome OS的开放源代码开发版本"
},
{
"name": "clojars",
"desc": ""
},
{
"name": "ctex",
"desc": "旧版 CTEX 安装镜像存档"
@ -195,6 +207,14 @@
"name": "fedora",
"desc": "Fedora Linux 的安装镜像和官方软件包仓库"
},
{
"name": "fedora-altarch",
"desc": "Fedora Linux 额外平台的安装镜像和官方软件包仓库"
},
{
"name": "fzug",
"desc": "Fedora 中文用户组的软件包仓库"
},
{
"name": "gentoo",
"desc": "Gentoo Linux 的 Stage 3 镜像"
@ -219,6 +239,10 @@
"name": "gitlab-ci-multi-runner",
"desc": "GitLab 持续集成框架"
},
{
"name": "gitlab-runner",
"desc": "GitLab 持续集成框架版本 10 及以上"
},
{
"name": "gnu",
"desc": "GNU项目的软件包源代码、文档和部分平台的二进制文件"
@ -239,6 +263,10 @@
"name": "homebrew-bottles",
"desc": "预编译的 Homebrew 软件包"
},
{
"name": "iina",
"desc": "macOS 上的现代化开源视频播放器"
},
{
"name": "infinality-bundle",
"desc": "Arch Linux 的字体渲染软件包"
@ -275,6 +303,10 @@
"name": "kodi",
"desc": "开源的多媒体播放器,原名 XBMC"
},
{
"name": "lede",
"desc": ""
},
{
"name": "lineage-rom",
"desc": "最大的社区Android发行版之一Lineage的ROM"
@ -299,6 +331,10 @@
"name": "linuxmint-cd",
"desc": "Linux Mint 的安装镜像"
},
{
"name": "llvm",
"desc": "LLVM 编译器套件的多个 git repo 的镜像"
},
{
"name": "loongson",
"desc": "用于龙芯电脑的软件包"
@ -351,6 +387,14 @@
"name": "opensuse",
"desc": "openSUSE 的安装镜像和官方软件包仓库"
},
{
"name": "openthos",
"desc": "OpenTHOS 的二进制发行包"
},
{
"name": "openthos-src",
"desc": "OpenTHOS 源代码仓库"
},
{
"name": "openwrt",
"desc": "OpenWrt 软件包镜像源仅包含Chaos Calmer版本"
@ -391,6 +435,10 @@
"name": "qt",
"desc": "跨平台软件开发库 Qt 的源码、开发工具、文档等"
},
{
"name": "raspberrypi",
"desc": ""
},
{
"name": "raspbian",
"desc": "为 Raspberry Pi 编译的 Debian"
@ -439,6 +487,10 @@
"name": "slackwarearm",
"desc": "用于 ARM 设备的 Slackware 发行版源代码和官方软件包仓库"
},
{
"name": "solus",
"desc": ""
},
{
"name": "stackage",
"desc": "Haskell 项目管理器 stack 所需的元数据与 ghc 安装包的镜像"
@ -492,11 +544,11 @@
"desc": "Google 开发的物联网IoT设备通信平台"
},
{
"name": "zabbix",
"name": "winehq",
"desc": ""
},
{
"name": "llvm",
"desc": "LLVM 编译器套件的多个 git repo 的镜像"
"name": "zabbix",
"desc": ""
}
]

View File

@ -6,7 +6,8 @@ mirrorid: gitlab-ci-multi-runner
## Gitlab CI Multi Runner 镜像使用帮助
**注意: gitlab-ci-multi-runner 镜像仅支持 x86-64 架构**
**注意: gitlab-ci-multi-runner 镜像仅支持 x86-64 架构**,如果你需要安装版本 10 及以上的
Runner由于官方名称发生变化请前往 [{% post_url help/1970-01-01-gitlab-runner %}]()。
### Debian/Ubuntu 用户
@ -24,6 +25,7 @@ curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/de
<select class="form-control release-select" data-template="#apt-template" data-target="#apt-content">
<option data-os="debian" data-release="wheezy">Debian 7 (Wheezy)</option>
<option data-os="debian" data-release="jessie" selected>Debian 8 (Jessie)</option>
<option data-os="debian" data-release="stretch" selected>Debian 9 (Stretch)</option>
<option data-os="ubuntu" data-release="trusty">Ubuntu 14.04 LTS</option>
<option data-os="ubuntu" data-release="xenial">Ubuntu 16.04 LTS</option>
</select>

View File

@ -0,0 +1,94 @@
---
category: help
layout: help
mirrorid: gitlab-runner
---
## Gitlab Runner 镜像使用帮助
**注意: gitlab-runner 镜像仅支持 x86-64 架构**
### Debian/Ubuntu 用户
首先信任 GitLab 的 GPG 公钥:
```
curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
```
再选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/gitlab-runner.list`
<form class="form-inline">
<div class="form-group">
<label>你的Debian/Ubuntu版本: </label>
<select class="form-control release-select" data-template="#apt-template" data-target="#apt-content">
<option data-os="debian" data-release="wheezy">Debian 7 (Wheezy)</option>
<option data-os="debian" data-release="jessie" selected>Debian 8 (Jessie)</option>
<option data-os="debian" data-release="stretch" selected>Debian 9 (Stretch)</option>
<option data-os="ubuntu" data-release="trusty">Ubuntu 14.04 LTS</option>
<option data-os="ubuntu" data-release="xenial">Ubuntu 16.04 LTS</option>
</select>
</div>
</form>
<p></p>
<pre>
<code id="apt-content">
</code>
</pre>
安装 gitlab-runner:
```
sudo apt-get update
sudo apt-get install gitlab-runner
```
{% raw %}
<script id="apt-template" type="x-tmpl-markup">
deb {{if os_name|equals>ubuntu}}https{{else}}http{{/if}}://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/{{os_name}} {{release_name}} main
</script>
{%endraw%}
### CentOS/RHEL
新建 `/etc/yum.repos.d/gitlab-runner.repo`,内容为
<form class="form-inline">
<div class="form-group">
<label>你的CentOS/RHEL版本: </label>
<select class="form-control release-select" data-template="#yum-template" data-target="#yum-content">
<option data-release="el6">CentOS 6</option>
<option data-release="el7" selected>CentOS 7</option>
<option data-release="el6">RHEL 6</option>
<option data-release="el7">RHEL 7</option>
</select>
</div>
</form>
<p></p>
<pre>
<code id="yum-content">
</code>
</pre>
再执行
```
sudo yum makecache
sudo yum install gitlab-runner
```
{% raw %}
<script id="yum-template" type="x-tmpl-markup">
[gitlab-runner]
name=gitlab-runner
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/yum/{{release_name}}
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
</script>
{% endraw %}

View File

@ -1,13 +1,12 @@
-
---
category: help
layout: help
mirrorid: gentoo-portage
---
(Gentoo Linux)[https://www.gentoo.org/] 的镜像配置方法如下:
## [Gentoo Linux](https://www.gentoo.org/) 的镜像配置方法如下:
Distfiles 配置:
===============
### Distfiles 配置:
`/etc/portage/make.conf` 中加入:

View File

@ -4,10 +4,9 @@ layout: help
mirrorid: gentoo-portage-prefix
---
(Gentoo Prefix)[https://wiki.gentoo.org/wiki/Project:Prefix] 的镜像配置方法如下:
## [Gentoo Prefix](https://wiki.gentoo.org/wiki/Project:Prefix) 的镜像配置方法如下:
Gentoo Prefix 镜像配置:
========================
### Gentoo Prefix 镜像配置:
`$EPREFIX/etc/portage` 目录下创建名为 `repos.conf` 的目录,在 `$EPREFIX/etc/portage/repos.conf/gentoo.conf` 中加入如下内容:
@ -16,8 +15,7 @@ Gentoo Prefix 镜像配置:
sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage-prefix
```
Distfiles 配置:
===============
### Distfiles 配置:
这部分与在 Gentoo Linux 中配置无异,在 `$EPREFIX/etc/portage/make.conf` 中加入:

View File

@ -9,6 +9,7 @@ Disallow: /ELK
Disallow: /HHVM
Disallow: /NetBSD
Disallow: /OpenBSD
Disallow: /adobe-fonts
Disallow: /alpine
Disallow: /anaconda
Disallow: /antergos
@ -23,10 +24,13 @@ Disallow: /bananian
Disallow: /bioconductor
Disallow: /bjlx
Disallow: /blackarch
Disallow: /centos-altarch
Disallow: /centos
Disallow: /ceph
Disallow: /chakra-releases
Disallow: /chakra
Disallow: /chromiumos
Disallow: /clojars
Disallow: /ctex
Disallow: /cygwin
Disallow: /debian-cd
@ -37,7 +41,7 @@ Disallow: /debian
Disallow: /deepin-cd
Disallow: /deepin
Disallow: /dell
Disallow: /docker
Disallow: /docker-ce
Disallow: /dotdeb
Disallow: /elasticstack
Disallow: /elpa
@ -46,6 +50,8 @@ Disallow: /elvish
Disallow: /epel
Disallow: /erlang-solutions
Disallow: /fedora
Disallow: /fzug
Disallow: /gentoo-portage-prefix
Disallow: /gentoo-portage
Disallow: /gentoo
Disallow: /git-repo
@ -56,7 +62,7 @@ Disallow: /grafana
Disallow: /hackage
Disallow: /homebrew-bottles
Disallow: /homebrew
Disallow: /infinality-bundle
Disallow: /iina
Disallow: /influxdata
Disallow: /ius
Disallow: /jenkins
@ -65,10 +71,14 @@ Disallow: /kali-security
Disallow: /kali
Disallow: /kernel
Disallow: /kodi
Disallow: /lede
Disallow: /lineage-rom
Disallow: /lineageOS
Disallow: /linux-stable.git
Disallow: /linux.git
Disallow: /linuxmint-cd
Disallow: /linuxmint
Disallow: /llvm
Disallow: /loongson
Disallow: /lxc-images
Disallow: /macports
@ -82,6 +92,8 @@ Disallow: /mysql
Disallow: /neurodebian
Disallow: /nodesource
Disallow: /opensuse
Disallow: /openthos-src
Disallow: /openthos
Disallow: /openwrt
Disallow: /osmc
Disallow: /packman
@ -92,6 +104,7 @@ Disallow: /puppy
Disallow: /pybombs
Disallow: /pypi
Disallow: /qt
Disallow: /raspberrypi
Disallow: /raspbian
Disallow: /redhat
Disallow: /remi
@ -104,10 +117,12 @@ Disallow: /sagemath
Disallow: /saltstack
Disallow: /slackware
Disallow: /slackwarearm
Disallow: /solus
Disallow: /stackage
Disallow: /steamos
Disallow: /tensorflow
Disallow: /termux
Disallow: /tinycorelinux
Disallow: /ubuntu-cdimage
Disallow: /ubuntu-cloud-images
Disallow: /ubuntu-ports
@ -115,4 +130,5 @@ Disallow: /ubuntu-releases
Disallow: /ubuntu
Disallow: /videolan-ftp
Disallow: /virtualbox
Disallow: /weave
Disallow: /winehq
Disallow: /zabbix