lazy/README.md
2024-01-07 22:52:57 +08:00

34 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# lazy
root 用户请使用 [init_root.sh](./init_root.sh)
有 sudo 权限的普通用户请使用 [init_sudo.sh](./init_sudo.sh)
无 sudo 权限的普通用户请使用 [init_user.sh](./init_user.sh)
### 配置文件
- [.nanorc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.nanorc)
- [.tmux.conf](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.tmux.conf)
- [.vimrc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.vimrc)
- [.zshrc](https://gitlab.com/NanoApe/lazy/-/raw/main/files/.zshrc)
- [authorized_keys](https://gitlab.com/NanoApe/lazy/-/raw/main/files/authorized_keys)
# TODO
- [x] 安装 nvm 管理 nodejs 和 npm
- [x] 安装 docker 和 docker-compose[参考链接](https://yeasy.gitbook.io/docker_practice/install/ubuntu#jian-li-docker-yong-hu-zu)
- [x] `/etc/apt/sources.list.d`: docker, yarn, nginx
- [ ] 配置 docker 的 rootless 模式
- [ ] 开启自启 dockerdocker (rootless) 和 pm2
### 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
```