Linux安装虚拟机环境
一、Virtualenv环境
#virtualenv就是用来为一个应用创建一套“隔离”的Python运行环境
pip install -U sentry 或 pip install sentry==7.4.3 #指定版本
#激活出一个新的环境,在这个新环境下我们在进行后续操作
source sentry/bin/activate
#退出环境
deactivate
#初始化
sentry init /etc/sentry
#virtualenv虚拟机环境相关参数说明:
$ sentry
Usage: sentry [OPTIONS] COMMAND [ARGS]…
Sentry is cross-platform crash reporting built with love.
The configuration file is looked up in the `~/.sentry` config directory but this can
be overridden with the `SENTRY_CONF` environment variable or be explicitly provided
through the `–config` parameter.
Options:
–config PATH Path to configuration files.
–version Show the version and exit.
–help Show this message and exit.
Commands:
celery DEPRECATED see `sentry run` instead.
cleanup Delete a portion of trailing data based on…
config Manage runtime config options.
createuser Create a new user.
devserver Starts a lightweight web server for…
django Execute Django subcommands.
dsym Manage system symbols in Sentry.
export Exports core metadata for the Sentry…
files Manage files from filestore.
help Show this message and exit.
import Imports data from a Sentry export.
init Initialize new configuration directory.
plugins Manage Sentry plugins.
queues Manage Sentry queues.
repair Attempt to repair any invalid data.
run Run a service.
shell Run a Python interactive interpreter.
start DEPRECATED see `sentry run` instead.
tsdb Tools for interacting with the time series…
upgrade Perform any pending database migrations and…