美文网首页
Install Sentry on CentOS 7

Install Sentry on CentOS 7

作者: 北冢 | 来源:发表于2018-03-21 01:36 被阅读0次

    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

    相关文章

      网友评论

          本文标题:Install Sentry on CentOS 7

          本文链接:https://www.haomeiwen.com/subject/ditwqftx.html