background picture of the home page

易北河的小破站

陌生人,欢迎来到我的博客

  • prev
  • next

部署-Day2

1. 配置Nginx和hosts,通过域名的方式访问到Nginx站点 Windows下hosts文件在:C:\Windows\System32\drivers\etc\hosts Linux下hosts文件在:/etc/hosts 在其中添加如下: 192.168.1.100 example.com

thumbnail of the cover of the post

K8s-Day4

1. Kubernetes中的卷是什么,ConfigMap和Secret是卷吗? 在 Kubernetes 中,卷(Volume) 是一种用于将数据持久化或共享到容器中的机制。与容器的生命周期不同,卷的生命周期独立于容器,即使容器被销毁或重启,卷中的数据仍然可以保留。 Kubernetes 支持多种

thumbnail of the cover of the post

Mysql-Day3

1. Mysql的数据文件是什么格式保存在哪里? 在大多数系统中,MySQL的主数据目录(Data Directory)通常位于以下位置之一: Windows:C:\ProgramData\MySQL\MySQL Server X.X\Data Linux:/var/lib/mysql

thumbnail of the cover of the post

Mysql-Day1

1. Mysql是干啥的,有什么作用? MySQL 是一种开源的关系型数据库管理系统(RDBMS),主要用于存储、管理和检索数据。它基于结构化查询语言(SQL)来操作数据,广泛应用于网站开发、企业系统、数据分析等领域。 MySQL 的主要作用包括: 数据存储:将结构化的数

thumbnail of the cover of the post

部署-Day01

1. 准备一个新的Ubuntu22.04系统,并做好快照用于随时还原使用 已搭建,略。

thumbnail of the cover of the post

K8S-Day3

1. 服务在更新期间或运行期间,如何判断服务是否出现异常

thumbnail of the cover of the post

K8S-Day2

1.什么是有状态服务,什么是无状态服务 一、什么是无状态服务(Stateless Service)? 无状态服务是指服务实例之间没有依赖关系,也不需要保存客户端的状态信息。每次请求都独立处理,服务器不记录任何会话或用户上下文。

thumbnail of the cover of the post