文档首页 > > Sandbox 调试工具使用指南> 安装与配置> Linux/Mac安装与配置

Linux/Mac安装与配置

分享
更新时间:2020/05/13 GMT+08:00

这里以Linux为例

执行以下命令解压缩“hss-1.0.10.linux-amd64.tgz”文件,得到如表1所示文件。

$ tar zxvf hss-1.0.10.linux-amd64.tgz

表1 文件说明

程序包

说明

fss-sandbox-csharp2.0-runtime.tar.gz

csharp 2.0运行时软件包

fss-sandbox-csharp2.1-runtime.tar.gz

csharp 2.1运行时软件包

fss-sandbox-go1.8-runtime.tar.gz

Golang 1.8运行时软件包

fss-sandbox-java8.0-runtime.tar.gz

Java 8.0运行时软件包

fss-sandbox-nodejs6.10-runtime.tar.gz

Node.js 6.10运行时软件包

fss-sandbox-nodejs8.10-runtime.tar.gz

Node.js 8.10运行时软件包

fss-sandbox-python2.7-runtime.tar.gz

Python 2.7运行时软件包

fss-sandbox-python3.6-runtime.tar.gz

Python 3.6运行时软件包

fss-sandbox-image.tar.gz

初始化镜像包

hss-1.0.10-package.tar.gz

HSS软件包

install.sh

可执行文件

安装Sandbox

进入程序包存放目录,执行以下命令。

$ ./install.sh

显示如下类似回显信息时表示安装成功。

Please input the install directory[default: ./hss/]:   hss will be installed into the default directory[/home/paas/wny/hss]  ./
./config.yaml
./hss
./test/
./test/sample-code/
./test/sample-code/python2.7/
./test/sample-code/python2.7/remote_pdb.py
./test/sample-code/python2.7/template.yml
./test/sample-code/python2.7/main.py
./test/sample-code/python2.7/evt.json
./test/sample-code/java8/
./test/sample-code/java8/mytest.jar
./test/sample-code/java8/template.yml
./test/sample-code/java8/evt.json
./test/sample-code/go1.8/
./test/sample-code/go1.8/function.so
./test/sample-code/go1.8/function.go
./test/sample-code/go1.8/template.yml
./test/sample-code/go1.8/evt.json
./test/sample-code/nodejs8.10/
./test/sample-code/nodejs8.10/index.js
./test/sample-code/nodejs8.10/template.yml
./test/sample-code/nodejs8.10/evt.json
./test/sample-code/python3.6/
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/metadata.json
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/METADATA
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/entry_points.txt
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/RECORD
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/INSTALLER
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/DESCRIPTION.rst
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/top_level.txt
./test/sample-code/python3.6/remote_pdb-1.2.0.dist-info/WHEEL
./test/sample-code/python3.6/remote_pdb.py
./test/sample-code/python3.6/template.yml
./test/sample-code/python3.6/main.py
./test/sample-code/python3.6/evt.json
./test/sample-code/nodejs6.10/
./test/sample-code/nodejs6.10/index.js
./test/sample-code/nodejs6.10/template.yml
./test/sample-code/nodejs6.10/evt.json
./test/sample-code/csharp2.0/
./test/sample-code/csharp2.0/HC.Serverless.Function.Common.dll
./test/sample-code/csharp2.0/Newtonsoft.Json.dll
./test/sample-code/csharp2.0/TestExample.deps.json
./test/sample-code/csharp2.0/TestExample.pdb
./test/sample-code/csharp2.0/CSharpRuntime.Example.deps.json
./test/sample-code/csharp2.0/HC.Serverless.Function.Common.JsonSerializer.dll
./test/sample-code/csharp2.0/HC.Serverless.Function.Common.JsonSerializer.pdb
./test/sample-code/csharp2.0/template.yml
./test/sample-code/csharp2.0/CSharpRuntime.Example.dll
./test/sample-code/csharp2.0/CSharpRuntime.Example.runtimeconfig.json
./test/sample-code/csharp2.0/TestExample.dll
./test/sample-code/csharp2.0/TestExample.runtimeconfig.json
./test/sample-code/csharp2.1/
./test/sample-code/csharp2.1/HC.Serverless.Function.Common.dll
./test/sample-code/csharp2.1/Newtonsoft.Json.dll
./test/sample-code/csharp2.1/TestExample.deps.json
./test/sample-code/csharp2.1/HC.Serverless.Function.Common.JsonSerializer.dll
./test/sample-code/csharp2.1/template.yml
./test/sample-code/csharp2.1/TestExample.dll
./test/sample-code/csharp2.1/TestExample.runtimeconfig.json
./test/examples/
./test/examples/template.yml
./template/
./template/python2.7/
./template/python2.7/index.py
./template/java8/
./template/java8/mytest.jar
./template/go1.8/
./template/go1.8/index.so
./template/go1.8/index.go
./template/template.yml
./template/nodejs8.10/
./template/nodejs8.10/index.js
./template/python3.6/
./template/python3.6/index.py
./template/nodejs6.10/
./template/nodejs6.10/index.js
./README.md
fss-sandbox-image.tar
Load initial image successfully.
Install successfully.

设置环境变量

执行以下命令,将安装目录加到path变量,方便使用。

$ export PATH=$PATH:<安装目录>

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!非常感谢您的反馈,我们会继续努力做到更好!
反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

智能客服提问云社区提问