home / kengdb / noteTb

noteTb: 269

This data as json

id user_id content tags created_at updated_at enable pinned folder_id comment position visibility
269 1 1 home-project-postgresql - 版本:2.0.0 - 2026-05-13:goose - 重写为记忆系统格式 - 2026-05-13:goose - 初始记录 # 安装 PostgreSQL 16 在阿里云服务器(4核 7.1G 30G磁盘)Ubuntu 24.04 上安装 PostgreSQL 16。 **安装** ```bash sudo apt install postgresql ``` 一条命令搞定。安装前 apt 有个 cnf-update-db 坏 hook 导致中断,删掉对应配置行后恢复。 **坑:用户要求干净安装** - 用户要求装完保持"干干净净刚装好的状态"——除了默认的 postgres 超管和三个系统库外,不要创建任何自定义用户或数据库 - 之前创建了 transnote 用户和 transnote 库,用户要求删干净不要任何配置 **日常命令** ```bash sudo systemctl status postgresql@16-main # 查看服务状态 sudo systemctl restart postgresql@16-main # 重启 psql -h 127.0.0.1 -U postgres -d postgres # 连接 ``` ["goose", "postgresql", "安装"] 2026-05-13 02:10:58 2026-05-13 02:36:31 F F     11 public

Links from other tables

  • 0 rows from note_id in noteShareTb
  • 0 rows from note_id in shareLinkTb
Powered by Datasette · Queries took 31.379ms