> ## Content Index
> Fetch the complete content index at: https://blog.k3s.9zf.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# 记录k3s 碰到的一些问题
- URL: https://blog.k3s.9zf.net/-e8-ae-b0-e5-bd-95k3s--e7-a2-b0-e5-88-b0-e7-9a-84-e4-b8-80-e4-ba-9b-e9-97-ae-e9-a2-98/
- Published: 2024-12-16T04:29:27.000Z
- Updated: 2024-12-16T04:32:12.000Z
- Author: liu
- Tags: Uncategorized, #wordpress, #Import 2026-10-29 06:11

系统推荐用debian，用alpine会有些问题，可以跑k3s，但是安装Longhorn好像不支持

安装前每个节点需要更新下源，自带的源有可能会出现ssl错误，修改源为http安装

`apt-get install --reinstall ca-certificates `

然后更换为https的源 

`apt-get update `

时间问题，貌似时区不会影响，但是时间最好是一致的 

安装wireguard 

`apt-get install wireguard `

安装open-iscsi（Longhorn会用，可以不装） 

`apt-get install open-iscsi `

添加应用仓库 https://charts.bitnami.com/bitnami 

可以安装wordpress，安装后去服务发现Service修改下端口，否则会和traefik冲突 然后Ingress 里添加域名绑定到wordpress端口即可访问了。

 安装odoo会访问不到pg的数据库，不知道什么原因。自己创建应该可以，安装了个wg-gen-web测试面板能正常使用。