A security-first, ultra-fast static-site CMS for foreign trade. One-command install, WordPress-style admin, zero database on the front end.
专为外贸打造的安全、极速静态站点 CMS。一行命令安装,WordPress 风格后台,前端零数据库。
disable_functions), tight open_basedir./var/log/fofw-audit.log.ProtectSystem=strict, NoNewPrivileges, MemoryDenyWriteExecute.sudo)Run the following on a fresh Debian server:
The installer asks for: domain, company name, tagline, admin username, admin password (at least 12 chars with upper/lower/digit/symbol), contact info, and optional SSL. Takes 3–5 minutes.
| URL | Purpose |
|---|---|
https://yourdomain.com/ | Public site |
https://yourdomain.com/publisher/ | Admin panel |
Important: Session cookies require HTTPS. If you skipped SSL, configure it first, then log in.
| Menu | Purpose |
|---|---|
| Dashboard | Stats, build status, quick actions |
| Products | List / create / edit / delete product pages |
| News | List / create / edit / delete news articles |
| Media Library | Upload images (auto re-encoded), copy Markdown |
| Themes | Switch color palette (Amber / Ocean / Forest) |
| Settings | Site title, base URL, tagline, contact info |
| Security | Change password, view audit log |
| Backups | Create & download ZIP of site + config |
By design. Editing templates in the browser is the #1 takeover vector in WordPress. To modify templates, SSH into the server and edit /srv/fofw/site/layouts/, then run /usr/local/bin/fofw-build.
disable_functions),严格限制 open_basedir。/var/log/fofw-audit.log。ProtectSystem=strict、NoNewPrivileges、MemoryDenyWriteExecute 下运行。sudo)在全新的 Debian 服务器上执行:
安装程序会询问:域名、公司名、标语、管理员用户名、管理员密码(至少 12 位,含大小写字母、数字、符号)、联系信息和可选的 SSL。耗时 3–5 分钟。
| URL | 用途 |
|---|---|
https://你的域名.com/ | 公开站点 |
https://你的域名.com/publisher/ | 管理后台 |
重要:会话 Cookie 需要 HTTPS。如果跳过了 SSL,请先配置 SSL 再登录。
| 菜单 | 用途 |
|---|---|
| 仪表盘 | 统计、构建状态、快捷操作 |
| 产品 | 列出 / 创建 / 编辑 / 删除产品页面 |
| 新闻 | 列出 / 创建 / 编辑 / 删除新闻文章 |
| 媒体库 | 上传图片(自动重新编码),复制 Markdown |
| 主题 | 切换配色方案(琥珀 / 海洋 / 森林) |
| 设置 | 站点标题、Base URL、标语、联系信息 |
| 安全 | 修改密码、查看审计日志 |
| 备份 | 创建并下载站点 + 配置的 ZIP |
刻意设计。在浏览器中编辑模板是 WordPress 被入侵的头号途径。要修改模板,请 SSH 登录服务器,编辑 /srv/fofw/site/layouts/,然后运行 /usr/local/bin/fofw-build。