# 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 - [ ] 安装 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 模式 - [ ] 开启自启 docker,docker (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 ```