当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
2022-06-27 10:25:00 【InfoQ】
【TcaplusDB The knowledge base 】Tmonitor Introduction to single machine installation guidelines ( One )
- web_portal_2.2.18_05130ad9.tar.gz Mainly Tmonitor Manage Pages
- tmonitor_install_2.2.18_05130ad9.tar.gz Mainly Tmonitor Background processes
1. Tmonitor Web Portal install
- cd /data/web_portal/, because tcaplus OMS Occupied 80 port , So modify conf file , Listen 8080 port . modify server.php, set_httpd_port(8080)
- Check the database datadir Whether the disk is enough . If it's not enough, change to /data Under the plate
- root The user login mysql
- mysql> create database tmonitor_center_db; -- Particular attention , tmonitor The foreground database and background database are separated , The foreground database uses this name , Backstage with other names
- mysql -uroot -pxxxx -Dtmonitor_center_db < *.sql hold /data/web_portal All under directory sql File import
- mysql> create user tmonitor;
- grant ALL on tmonitor_center_db.* to 'tmonitor'@'%' identified by 'xxxx'
- grant ALL on tmonitor_center_db.* to 'tmonitor'@'localhost' identified by 'xxxx'
- grant ALL on tmonitor_center_db.* to 'tmonitor'@'127.0.0.1' identified by 'xxxx'
- grant ALL on tmonitor_center_db.* to 'tmonitor'@'100.78.65.157' identified by 'xxxx'
- grant ALL on tmonitor_center_db.* to 'tmonitor'@'100_78_65_157' identified by 'xxxx- echo $HOSTNAME
- flush privileges
- Switch to root user , perform ./install_web_protal.sh 100.78.65.157 3306 tmonitor_center_db tmonitor xxxx PASSWORD 2.2.7 ( The penultimate argument is LoginType, You can fill in OA perhaps PASSWORD), This script will create /data/monitor Catalog , The foreground page will start from this directory
- then netstat –lpn Check 8080 Whether the port is started , without , Try it again , php server.php start -p 8080 start-up , Stop command : php server.php stop
- Log in to the page , Registered users tmonitor, If you can't log in , telnet ip Port look select * from tm_users_permission; See if you have administrator privileges (role=1)
- Click on ” management ” Button , Take what is being deployed tmonitor System added , After the background process gets up, it can provide services
- Here, the front desk installation is completed , Next, install the background process
2. Tmonitor Web Portal add to Tmonitor System
- https://git.code.oa.com/gcloud_storage_group/tmonitor The code and installation package are here , You may need to apply for git jurisdiction
- Upload web_portal_2.2.18_05130ad9.tar.gz Package to /data Under the table of contents , decompression , cd /data/tmonitor_install
- vim tmonitor_conf.xml Modify the following
- The interface used in the following figure is used for alarm sending . If it is IDC machine , Use tof Send SMS and wechat , Use uwork Make a phone call
- If it is IDC machine , Need to be in tof and uwork” service ip” Add... To the list sasvr Of ip, To send the alarm normally (tof apply : http://tof.oa.com/application/views/, Or contact jasonlzhang, uwork Apply to contact yorkershi).
- The machine should be able to connect directly tnm2, Need to install agent Tools , The specific steps are described later in the document .
- Above picture dcsvr Of business_id Default to 1, If there are more than one dcsvr Just increase... In turn . dc_tconnd Port for 7980, Keep the default without changing

边栏推荐
- Border affects the height of the parent element - solution
- mongodb跨主机数据库拷贝以及常用命令
- R langage plotly visualisation: visualisation de plusieurs histogrammes normalisés d'ensembles de données et ajout d'une courbe de densité KDE à l'histogramme, réglage de différents histogrammes en ut
- Reorganize common shell scripts for operation and maintenance frontline work
- If you find any loopholes later, don't tell China!
- Easy to understand Laplace smoothing of naive Bayesian classification
- .NET6接入Skywalking链路追踪完整流程
- DNS standby server information, DNS server address (how many DNS preferred and standby are filled in)
- Flutter wechat sharing
- Multi thread implementation rewrites run (), how to inject and use mapper file to operate database
猜你喜欢
Une compréhension facile de la simplicité de la classification bayésienne du lissage laplacien
leetcode:522. Longest special sequence II [greed + subsequence judgment]
Product strength benchmarking seal /model 3, with 179800 pre-sales of Chang'an dark blue sl03
File name setting causes an error to be written to writelines: oserror: [errno 22] invalid argument
直播电子商务应用程序开发需要什么基本功能?未来发展前景如何?
Future & CompletionService
C any() and aii() methods
Learning notes - data set generation
[hcie-rs review mind map] - STP
TCP/IP 详解(第 2 版) 笔记 / 3 链路层 / 3.4 桥接器与交换机 / 3.4.1 生成树协议(Spanning Tree Protocol (STP))
随机推荐
Ubuntu手動安裝MySQL
Mail system (based on SMTP protocol and POP3 protocol -c language implementation)
Basic violin plot in R with plot
Brother sucks 590000 fans with his unique "quantum speed reading" skill: look at the street view for 0.1 seconds, and "snap" can be accurately found on the world map
What basic functions are required for live e-commerce application development? What is the future development prospect?
Working at home is more tiring than going to work at the company| Community essay solicitation
[hcie-rs review mind map] - STP
Review of last week's hot spots (6.20-6.26)
Border affects the height of the parent element - solution
【HCIE-RS复习思维导图】- STP
记一次 .NET 某物管后台服务 卡死分析
Eureka core source code analysis
[200 opencv routines] 211 Draw vertical rectangle
CPU design (single cycle and pipeline)
【TcaplusDB知识库】Tmonitor后台一键安装介绍(一)
flutter 微信分享
In the three-tier architecture, at which layer is the database design implemented, not at the data storage layer?
torchvision.models._utils.IntermediateLayerGetter使用教程
Exception in Chinese character fuzzy query of MySQL database
Mongodb cross host database copy and common commands