Sentry简易安装
系统:Centos7
python:2.7.5
安装Docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
// or
curl -sSL https://get.daocloud.io/docker | sh
查看安装版本
docker --version
Docker version 20.10.14, build a224086
验证安装
systemctl start docker
docker run hello-world
安装Docker Compose
选择需要的版本进行安装
https://github.com/docker/compose/releases
curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
查看版本
docker-compose --version
安装Sentry
选择需要的版本
https://github.com/getsentry/self-hosted/releases
进入sentry根目录 执行./install.sh 过程中会提示建立账号
启动sentry
docker-compose up -d
输出
[root@localhost sentry]# docker-compose up -d
Starting sentry_onpremise_memcached_1 ... done
Starting sentry_onpremise_symbolicator_1 ... done
Starting sentry_onpremise_symbolicator-cleanup_1 ... done
Starting sentry_onpremise_clickhouse_1 ... done
Starting sentry_onpremise_smtp_1 ... done
Starting sentry_onpremise_zookeeper_1 ... done
Starting sentry_onpremise_redis_1 ... done
Starting sentry_onpremise_postgres_1 ... done
Starting sentry_onpremise_geoipupdate_1 ... done
Starting sentry_onpremise_kafka_1 ... done
Starting sentry_onpremise_snuba-transactions-consumer_1 ... done
Starting sentry_onpremise_snuba-cleanup_1 ... done
Starting sentry_onpremise_snuba-replacer_1 ... done
Starting sentry_onpremise_relay_1 ... done
Starting sentry_onpremise_snuba-consumer_1 ... done
Starting sentry_onpremise_snuba-api_1 ... done
Starting sentry_onpremise_snuba-subscription-consumer-transactions_1 ... done
Starting sentry_onpremise_snuba-outcomes-consumer_1 ... done
Starting sentry_onpremise_snuba-sessions-consumer_1 ... done
Starting sentry_onpremise_snuba-subscription-consumer-events_1 ... done
Starting sentry_onpremise_web_1 ... done
Starting sentry_onpremise_worker_1 ... done
Starting sentry_onpremise_ingest-consumer_1 ... done
Starting sentry_onpremise_sentry-cleanup_1 ... done
Starting sentry_onpremise_subscription-consumer-events_1 ... done
Starting sentry_onpremise_post-process-forwarder_1 ... done
Starting sentry_onpremise_cron_1 ... done
Starting sentry_onpremise_subscription-consumer-transactions_1 ... done
Starting sentry_onpremise_nginx_1 ... done
启动
默认访问端口 9000
创建项目
项目部署
根据文档部署安装依赖
没有了,已经是最新文章