如何从 USB 驱动器运行 nodejs?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24246681/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 17:28:58  来源:igfitidea点击:

How can I run nodejs from usb drive?

node.jsusb-drive

提问by user3379947

I would like to know how can I run nodeJS express from usb drive on a Linux/gentoo configuration ?

我想知道如何在 Linux/gentoo 配置上从 USB 驱动器运行 nodeJS express?

回答by danilodeveloper

The only requirement is to download a portable version of node.js, may need to tweak mounting permissions.

唯一的要求是下载可移植版本的 node.js,可能需要调整挂载权限。

The distributables are located here.

可分发文件位于此处

All your modules need to be installed locally.

您的所有模块都需要在本地安装。

回答by Matt

You can download NodeJs Portable on sourceforge here : NodeJS Portable : http://sourceforge.net/projects/nodejsportable/files/latest/download

您可以在此处在 sourceforge 上下载 NodeJs Portable:NodeJS Portable:http://sourceforge.net/projects/nodejsportable/files/latest/download