Linux 笔记
Linux 常用命令备忘,覆盖文件操作、压缩解压、权限用户、进程服务、磁盘排查、dd、资源监控、网络监控、包管理、SSH、日志、定时任务和防火墙。
Docker 笔记
docker的本质镜像(Image)= 模板容器(Container)= 运行中的进程数据卷(Volume)= 持久化数据网络(Network)= 容器互通Compose = 多容器编排 镜像 -> 类似系统安装包容器 -> 类似启动后的程序 docker 基础命令1234567891011121314151617181920212223242526272829303132333435363738394041424344# 查看运行中的容器docker ps# 查看所有容器(包括停止的)docker ps -a#查看日志docker logs 容器名# 实时查看docker logs -f 容器名# 最近100行docker logs -tail 100 容器名# 带时间docker logs -f -t 容器名#进入容器docker exec -it 容器名 bashdocker exec -it 容器名 shexec 在运行中的容器执行命令-i 保持输入-t 分配终端# 停止、启动docker stop 容器名do...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment