当前位置:网站首页>Record sentry's path of stepping on the pit
Record sentry's path of stepping on the pit
2022-07-02 05:23:00 【A programmer who can only write bugs】
preparation (mac edition ):
- install docker
- install python3.9( The latest version )
- install java( The latest version , Download address ) Otherwise, it will prompt that there is no gosu command , And not java Environmental Science
- If you want to use it geoIp, You need to apply MaxMind,《 Portal 》, Used to obtain GeoIP.conf, This plug-in is more pit , Maybe I can't use it .
Preparatory work completed , adopt github find getsentry/self-hosted,clone Come down
According to official documents ReadMe.md, function source ./install.sh, At this time, the first pit , Just started to use sh ./install.sh, There will be a mistake . Because sh,bash,source about sh The operation of files is inconsistent , Article portal
stay install At the end , Will prompt to create admin account number , This is your login account password ( Ran goose , I got stuck at this step , The computer cannot input normally , It's been like this several times ), I thought it was hopeless , I want to go through the registration process , Then it is found that the mailbox needs to be configured , Then I checked the resources on the Internet , Get the following operation command
>>> vim sentry/config.yml
...
mail.host: 'smtp.xxx.xxx.cn'
mail.port: 587
mail.username: '[email protected]'
mail.password: 'xxxxxx'
mail.use-tls: true
mail.from: '[email protected]' # Same as username
...
>>> docker-compose down
>>> docker-compose run --rm web upgrade # Pay attention to this step
>>> docker-compose up -d
When using the second command , Familiar prompts appear on the command console , Again, let me confirm whether I need to create an account ! There are no more problems this time , It can be created normally .
After landing in , Create a react Try project monitoring , Add the official code to the project , Write a small mistake casually , Trigger .
go back to sentry Interface , Check whether errors are collected
perfect ! It can be used preliminarily !
In fact, on the server side , Have a ready-made docker Mirror image , stay dockerhub On the search sentry, It can also be used directly . I just want to be mac Try to build it by yourself ~
边栏推荐
- Fabric.js 将本地图像上传到画布背景
- Nodejs (03) -- custom module
- LeetCode 241. 为运算表达式设计优先级(分治/记忆化递归/动态规划)
- el-cascader回显只选中不显示的问题
- Installation du tutoriel MySQL 8.0.22 par centos8
- Record my pytorch installation process and errors
- Johnson–Lindenstrauss Lemma(2)
- Nodejs (02) - built in module
- 黑马笔记---Map集合体系
- Gee: create a new feature and set corresponding attributes
猜你喜欢
The El cascader echo only selects the questions that are not displayed
About PROFIBUS: communication backbone network of production plant
Fabric. JS compact JSON
7. Eleven state sets of TCP
【pyinstaller】_ get_ sysconfigdata_ name() missing 1 required positional argument: ‘check_ exists‘
LeetCode 241. Design priorities for operational expressions (divide and conquer / mnemonic recursion / dynamic programming)
操作符详解
Detailed explanation of Pointer use
Gee series: unit 6 building various remote sensing indexes in Google Earth engine
Gee: analyze the change of spatial centroid of remote sensing image [centroid acquisition analysis]
随机推荐
Gee series: Unit 3 raster remote sensing image band characteristics and rendering visualization
Operator details
Exercise notes 13 (effective letter ectopic words)
Financial portal related information
paddle: ValueError:quality setting only supported for ‘jpeg‘ compression
7.1模拟赛总结
Gee: find the spatial distribution and corresponding time of the "greenest" in the Yellow River Basin in 2020 [pixel by pixel analysis]
删除排序数组中的重复项go语言实现
Mysql基础---查询(1天学会mysql基础)
LeetCode 241. Design priorities for operational expressions (divide and conquer / mnemonic recursion / dynamic programming)
Global and Chinese markets for marine selective catalytic reduction systems 2022-2028: Research Report on technology, participants, trends, market size and share
Ubuntu 20.04 installing mysql8
centos8安裝mysql8.0.22教程
Ls1046nfs mount file system
Fabric. JS basic brush
数据库批量插入数据
Storage of data
小程序跳装到公众号
leetcode两数相加go实现
Feign realizes file uploading and downloading