Install Sentry on CentOS 7

1. Install Docker on CentOS 7

1.1 Update yum packages

$ sudo yum update

1.2 Install docker on CentOS

$ sudo yum install docker

1.3 Start the docker service

$ sudo service docker start

1.4 Verify if the docker is installed correctly

$ sudo docker run hello-world

2. Install Sentry

2.1 Install git

$ sudo yum install git

2.2 Clone the docker images and build

$ git clone https://github.com/getsentry/onpremise.git
$ cd onpremise

3.3 Install docker-compose

$ sudo yum install docker-compose

3.4 Install Sentry

Follow the instructions https://github.com/getsentry/onpremise

mkdir -p data/{sentry,postgres}
docker-compose run --rm web config generate-secret-key
# put the secret-key to docker-compose.yml in base as SENTRY_SECRET_KEY
docker-compose run --rm web upgrade
docker-compose up -d

3.5 Email Config

Recommend qq mail

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容