fix help page of nodesource

This commit is contained in:
惠轶群 2015-01-30 14:01:15 +08:00
parent 6f9f1039c9
commit a44f55b9b8
2 changed files with 18 additions and 1 deletions

View File

@ -190,9 +190,9 @@ $(document).ready(function(){
'archlinuxcn': '/wiki/archlinuxcn.md',
'homebrew': '/wiki/homebrew.md',
'linux.git': '/wiki/linux.md',
'nodesource': '/wiki/nodesource.md',
<!--'ubuntu': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/ubuntu',-->
<!--'raspbian': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/raspbian',-->
<!--'nodesource': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/nodesource',-->
<!--'pypi': "https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/pypi",-->
<!--'repo-ck': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/repo-ck'-->
}

17
wiki/nodesource.md Normal file
View File

@ -0,0 +1,17 @@
Nodesource 镜像使用帮助
=======================
Nodesource 为 debian, ubuntu, fedora, RHEL 等发行版提供预编译的 nodejs
和 npm 等软件包。
debian/ubuntu 使用方法
----------------------
运行
```
curl -sL https://deb.nodesource.com/setup | sudo bash -
```
编辑 `/etc/apt/sources.list.d/nodesource.list`,把
`https://deb.nodesource.com/node/` 替换为
`http://mirrors.tuna.tsinghua.edu.cn/nodesource/deb/` 即可。