In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Rpm/deb or yum/apt has always been the easiest way to install software on Linux.
As TiDB officially prefers the installation method of ansible/docker/k8s, for the traditional installation method, the official only gives the binary installation file, but does not give the installation method of rpm.
In the spirit of twists and turns, I compiled and packaged a rpm package for TiDB based on the source code, which is the easiest and fastest way to install and experience TiDB.
Environment: CentOS 7
TiDB version: 3.0.3
1. Install TiDB
Yum-config-manager-- add-repo http://purplegrape.github.io/public.repo yum install pd tikv tidb-y
2. Start the service
Systemctl enable pd-server tikv-server tidb-server-now
3. Install the mysql client
Yum install mariadb-y
4. Use TiDB
Mysql-u root-P 4000Welcome to the MariaDB monitor. Commands end with; or\ g.Your MySQL connection id is 2Server version: 5.7.25murTiDB-MySQL Community Server (Apache License 2.0) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type 'help;' or'\ h' for help. Type'\ c'to clear the current input statement.MySQL [(none)] >
In the case of the same hardware conditions, compared with MySQL, TiDB stand-alone performance is very low, in the actual production environment, it is usually used in the way of cluster.
The advantage of TiDB is that it not only maintains MySQL compatibility, but also solves the simplicity, maintainability and expansibility that are difficult to achieve in the past.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.