lazy/README.md
2025-07-03 15:12:06 +08:00

41 lines
1.2 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
一句话命令:`sh -c "$(wget -qO- cc.c-4.cc/lazy.sh)"`
Gist: https://gist.github.com/Konano/d3236c9546a362438096eab1d380b4c7
----
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)
- [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
- [ ] npm 镜像npm config set registry https://registry.npm.taobao.org/
### 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
```