> For the complete documentation index, see [llms.txt](https://docs.aiot.virbox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aiot.virbox.com/faq/untitled.md).

# Linux 激活 Virbox Protector Trial

### Linux 下安装Virbox Protector Trial

启动终端，在安装文件保存目录中启动终端。使用如下命令，进行安装。注意：需要在root权限安装。

```
Centos 安装命令 ：rpm -ivh virboxprotector_trial_2.3.3.14630.rpm

Ubuntu 安装命令 ：dpkg -i virboxprotector_trial_2.3.3.14630.deb

// 安装完成后，需要登录账号 13888888888需换成自己的账号 

登录命令：ssclt -c all -u 13888888888
```

**Virbox Protector Trial** 由两个部分构成，分别为**测试程序**和**授权程序**，授权程序即**Virbox用户工具。**&#x5F00;发者需要通过授权程序激活试用许可。

不同于Windows版本，Linux与macOS版本的 **Virbox Protector Trial** 并未将**Virbox用户工具**一起打包，开发者需要单独安装。

![未安装Virbox用户工具](https://2533242127-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpX-FkE6usysD6ERAdR%2F-MDcRMZLlPeuzCpI7Wtj%2F-MDcW1LthYa8vBB23ic2%2FScreenshot%20from%202020-07-31%2022-32-31.png?alt=media\&token=fe73e0ed-b276-4aa0-ae3f-f0270b28feb8)

{% hint style="info" %}
:reminder\_ribbon: 温馨提示：未安装**Virbox用户工具**，登录时会提示**Virbox许可服务已停止！**&#x65E0;法登录。
{% endhint %}

## 下载Virbox用户工具 <a href="#uymkp" id="uymkp"></a>

Virbox用户工具目前支持Debian、Ubuntu、Centos、Fedora、openSUSE、优麒麟等操作系统。针对不同的操作系统，我们分别提供RPM和DEB两种形式的安装包。

| 操作系统  | 文件格式 | 下载链接                                                           |
| ----- | ---- | -------------------------------------------------------------- |
| Linux | DEB  | <http://shell.aiot.virbox.com/?attachment_id=54728&download=1> |
| Linux | RMP  | <http://shell.aiot.virbox.com/?attachment_id=54727&download=1> |
| macOS | DMG  | <http://shell.aiot.virbox.com/?attachment_id=54729&download=1> |

## 安装Virbox用户工具 <a href="#ja4eo" id="ja4eo"></a>

{% hint style="info" %}
:reminder\_ribbon: 温馨提示：必须使用 ROOT 权限进行安装、升级、覆盖、卸载等操作。
{% endhint %}

| 项目    | RPM                          | DEB                        | 权限要求   |
| ----- | ---------------------------- | -------------------------- | ------ |
| 安装    | rpm -ivh 安装包名(带后缀)           | dpkg -i 安装包名(带后缀)          | root权限 |
| 升级    | rpm -Uvh 高版本的rpm安装包名(带后缀)    | dpkg -i 高版本deb安装包名(带后缀)    | root权限 |
| 强制覆盖  | rpm -ivh --force 要安装的包名(带后缀) | dpkg -i 安装包名(带后缀)          | root权限 |
| 卸载    | rpm -e senseshield (不带后缀)    | dpkg -P senseshield (不带后缀) | root权限 |
| 查看包信息 | rpm -qi senseshield (不带后缀)   | dpkg -l senseshield (不带后缀) | 权限不限   |

{% hint style="info" %}
:reminder\_ribbon: 温馨提示：需在安装包所在目录安装，如果不在，需要 cd 命令切换到安装包所在目录。
{% endhint %}

## 查看服务状态

🦐 常见的Linux系统服务管理有两种形式，一种是 Sysc 服务管理，一种是 Systemd 服务管理。

请根据当前Linux系统支持的服务管理选择相应命令。

| 项目   | Sysc服务管理                     | Systemd服务管理                   | 备注         |
| ---- | ---------------------------- | ----------------------------- | ---------- |
| 服务启动 | service senseshieldd start   | systemctl start senseshield   | 执行正确，不显示信息 |
| 服务停止 | service senseshieldd stop    | systemctl stop senseshield    | 执行正确，不显示信息 |
| 服务重启 | service senseshieldd restart | systemctl restart senseshield | 执行正确，不显示信息 |
| 服务状态 | service senseshieldd status  | systemctl status senseshield  | 执行正确，显示信息  |

安装Virbox用户工具后，查看服务状态。

![查看服务状态](https://2533242127-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpX-FkE6usysD6ERAdR%2F-MDcW6ZIYvT4wf5o2VT-%2F-MDcXnx9m1iQCGE_bSPB%2FScreenshot%20from%202020-07-31%2022-41-35.png?alt=media\&token=e547a0c9-9403-45fc-99ed-bff1257ac13d)

服务运行正常，可正常登录使用。

## 登录Virbox Protector Trial

输入账户密码，即可进行正常使用

![登录使用](https://2533242127-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpX-FkE6usysD6ERAdR%2F-MDcW6ZIYvT4wf5o2VT-%2F-MDcYKZzIUXvJTShRQ1g%2FScreenshot%20from%202020-07-31%2022-44-23.png?alt=media\&token=173c7816-93ec-4442-bd6a-12f41fa4abf7)
