
linux
小凯不卷
一个会复制代码的小菜鸡
展开
-
个人笔记:使用TIUP进行TIDB安装
1.在官网下载社区版 https://download.pingcap.org/tidb-community-server-v5.0.1-linux-amd64.tar.gz2.解压3.进入tidb-community-server-v5.0.1-linux-amd64目录运行local_install.sh4.source /root/.bash_profile5.tiup cluster template > topology.yaml6.修改 topology.yaml文件内容,我这原创 2021-05-06 16:49:24 · 808 阅读 · 1 评论 -
个人笔记: linux 开机自启
linux 开机自启vim /etc/systemd/system/[服务名].service[Unit]Description=[服务描述]After=syslog.targetAfter=network.target [Service]Type=simpleUser=rootGroup=rootWorkingDirectory=[工作目录]ExecStart=[要执行的命令]Restart=always [Install]WantedBy=multi-user.targ原创 2021-04-26 16:18:53 · 191 阅读 · 0 评论