Single Node Deployment

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 单节点部署

| username: 健康的腰间盘

What are the differences between installing TiDB on a single test server and the steps in the official documentation for a single-node installation?

| username: Daniel-W | Original post link

For testing the experimental environment, use the playground to deploy a single node.
TiDB Quick Start Guide | PingCAP Documentation Center

| username: tidb菜鸟一只 | Original post link

It is recommended to use tiup playground for a single node.

| username: DBAER | Original post link

Just use tiup playground.

| username: 呢莫不爱吃鱼 | Original post link

Use tiup playground

| username: TiDBer_QYr0vohO | Original post link

Just use tiup playground.

| username: vcdog | Original post link

tiup playground is more suitable for single-node deployment.

| username: No_Fear | Original post link

Just use tiup playground directly.

| username: zhanggame1 | Original post link

It is not recommended to use the playground, as it differs from actual deployment. For single-machine deployment, refer to the official documentation here:
TiDB Quick Start Guide | PingCAP Documentation Center

| username: TiDBer_嘎嘣脆 | Original post link

Edit all nodes in the tiup configuration to single nodes.

| username: shunzi | Original post link

tiup playground

| username: stephanie | Original post link

tiup playground will deploy one instance each of TiDB, TiKV, PD, and TiFlash. For simulating a production environment on a single machine, it is recommended to have 3 TiKV, 1 TiDB, 1 PD, 1 TiFlash, and 1 Monitor.

| username: TiDBer_HErMeXDz | Original post link

Using VMware to create three virtual machines, the memory requirements are not high… Using tiup for installation… The environment requirements are not high, and you can conduct many experiments.

| username: xiaoqiao | Original post link

All components can be configured with the address of a single machine, just set different ports for each, allowing for mixed deployment on a single machine.

| username: kelvin | Original post link

tiup playground

| username: yidailatiao | Original post link

tiup playground

| username: 源de爸 | Original post link

| username: 友利奈绪 | Original post link

The same IP will do.

| username: 呢莫不爱吃鱼 | Original post link

For testing, tiup playground will do.

| username: zhanggame1 | Original post link

tiup playground is not easy to use. It’s better to deploy directly on a single machine. There’s no difference, just write an additional configuration file and use 127.0.0.1 for the single machine IP.