diff --git "a/\351\230\231\346\263\263\347\217\215/20241230(\346\210\220\347\273\251\350\241\250).md" "b/\351\230\231\346\263\263\347\217\215/20241230(\346\210\220\347\273\251\350\241\250).md"
new file mode 100644
index 0000000000000000000000000000000000000000..e2fbb85d3c041c30a93b3dab495253225cfebd04
--- /dev/null
+++ "b/\351\230\231\346\263\263\347\217\215/20241230(\346\210\220\347\273\251\350\241\250).md"
@@ -0,0 +1,144 @@
+# 成绩表的增删改操作代码
+## 渲染页面代码
+```html
+
+
+
+
+ Id |
+ 课程名称 |
+ 学生名称 |
+ 成绩 |
+ 操作 |
+
+
+
+ @foreach (var item in Model)
+ {
+
+ @item.Id |
+ @item.CourseName |
+ @item.StudentName |
+ @item.Scores |
+
+ 编辑
+ 删除
+ |
+
+ }
+
+
+```
+
+
+## 增加操作代码
+```html
+@model ScoreManger.Dto.ScoreCreateDto;
+
+
+ ```
+
+
+## 删除操作代码
+```html
+确定删除如下数据吗?
+
+
+ |
+ @Model.CourseId |
+
+
+ |
+ @Model.StudentId |
+
+
+ |
+ @Model.Scores |
+
+
+
+ 确认删除
+ |
+ 取消删除 |
+
+
+```
+
+
+## 编辑操作代码
+```html
+@model Score;
+
+
+```
+
+
+
+
+
diff --git "a/\351\230\231\346\263\263\347\217\215/2025103(\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223).md" "b/\351\230\231\346\263\263\347\217\215/2025103(\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223).md"
new file mode 100644
index 0000000000000000000000000000000000000000..702a19d77440899e9c095dd7f383d6a96526b141
--- /dev/null
+++ "b/\351\230\231\346\263\263\347\217\215/2025103(\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223).md"
@@ -0,0 +1,105 @@
+# 在Debian上安装PostgreSQL数据库
+## 安装PostgreSQL
+在Debian系统上安装PostgreSQL数据库,可以通过以下命令来完成:
+```
+sudo apt update
+sudo apt install postgresql postgresql-contrib
+```
+
+## 确认安装状态
+安装完成后,可以通过以下命令来检查PostgreSQL服务的状态:
+```
+sudo systemctl status postgresql
+```
+
+如果服务正在运行,说明安装成功。
+
+## 设置高强度密码
+为了提高安全性,需要为PostgreSQL的默认用户 `postgres`设置一个高强度的密码。可以通过以下命令来设置:
+```
+sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'your-strong-password';"
+```
+
+将 `your-strong-password`替换为你选择的密码。
+
+
+## 设置允许远程访问数据库
+为了允许远程访问PostgreSQL数据库,需要修改配置文件 `postgresql.conf`和 `pg_hba.conf`。
+
+### 修改 `postgresql.conf`
+打开 `postgresql.conf`文件:
+```
+sudo nano /etc/postgresql/12/main/postgresql.conf
+```
+
+找到 `listen_addresses`行,并将其修改为:
+```
+listen_addresses = '*'
+```
+
+### 修改 `pg_hba.conf`
+打开 `pg_hba.conf`文件:
+```
+sudo nano /etc/postgresql/12/main/pg_hba.conf
+```
+
+
+在文件的末尾添加以下行,以允许所有IP地址访问数据库:
+```
+host all all 0.0.0.0/0 md5
+```
+
+保存并关闭文件后,重启PostgreSQL服务:
+```
+sudo systemctl restart postgresql
+```
+
+
+## 更换数据库驱动并更新配置
+在你的.NET项目中,需要更换数据库驱动并更新数据库上下文的配置。
+
+### 移除原来的数据库驱动
+移除原来的数据库驱动:
+```
+dotnet remove package Microsoft.EntityFrameworkCore.SqlServer
+```
+
+### 安装新的数据库驱动
+安装新的数据库驱动:
+```
+dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL
+```
+
+### 更新数据库上下文配置
+打开你的项目中的 `appsettings.json`或相应的配置文件,将数据库连接字符串更改为PostgreSQL的格式:
+```
+{
+ "ConnectionStrings": {
+ "DefaultConnection": "Host=your-server-ip;Port=5432;Database=your-database-name;Username=your-username;Password=your-password"
+ }
+}
+```
+
+将 `your-server-ip`、`your-database-name`、`your-username`和 `your-password`替换为实际的值。
+
+
+## 重新生成迁移文件
+在更换数据库驱动并更新配置后,需要重新生成迁移文件以确保迁移与新的数据库兼容。
+
+### 删除现有的迁移文件
+删除现有的迁移文件:
+```
+dotnet ef migrations remove
+```
+
+### 添加新的迁移
+添加新的迁移:
+```
+dotnet ef migrations add InitialCreate
+```
+
+### 应用迁移
+最后,应用迁移以创建数据库结构:
+```
+dotnet ef database update
+```
\ No newline at end of file