diff --git a/README.md b/README.md index 22f618a..a9a2bc1 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,11 @@ root 用户请使用 [init_root.sh](./init_root.sh) - [ ] 安装 docker 和 docker-compose([参考链接](https://yeasy.gitbook.io/docker_practice/install/ubuntu#jian-li-docker-yong-hu-zu)) -- [ ] `/etc/apt/sources.list.d`: docker, yarn, nginx +- [x] `/etc/apt/sources.list.d`: docker, yarn, nginx + +### Others + +```bash +systemctl --user enable docker +sudo env PATH=$PATH:/usr/local/bin /home/ubuntu/.config/yarn/global/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu +``` \ No newline at end of file